unicorn icon indicating copy to clipboard operation
unicorn copied to clipboard

How do we know if the run ended by hitting the max instruction count?

Open KitMurdock opened this issue 3 years ago • 5 comments

How do we know if the run ended by hitting the max instruction count?

Could UC_QUERY be extended to include that?

KitMurdock avatar Apr 18 '22 08:04 KitMurdock

You could simply install a UC_HOOK_CODE to implement your own logic, which the count parameter does.

wtdcode avatar Apr 18 '22 11:04 wtdcode

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Jun 18 '22 05:06 github-actions[bot]

I still believe there should be some way to know if the run ended by meeting the max instruction count. Yes - I can add this in myself, but then I'd be duplicating code that's already in unicorn.

KitMurdock avatar Jun 29 '22 08:06 KitMurdock

I still believe there should be some way to know if the run ended by meeting the max instruction count. Yes - I can add this in myself, but then I'd be duplicating code that's already in unicorn.

Could you illustrate your use case? I assume this is really easy to implement...

wtdcode avatar Jun 29 '22 11:06 wtdcode

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Aug 29 '22 05:08 github-actions[bot]

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days.

github-actions[bot] avatar Nov 13 '22 05:11 github-actions[bot]