You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve been working on a tool that heavily uses Unicorn for RISC-V emulation. To make development easier, I wrote a Go overlay on top of Unicorn that hooks any instruction on demand.
I’d like to add this feature into Unicorn itself so that it can handle this natively. I see that x86_64 already has a very limited instruction-hook API, so I’m wondering:
Would a generic instruction-hook system for RISC-V—one that lets you attach callbacks to any Capstone-disassembled opcode—fit the project’s vision for Unicorn?
Is this feature already on the roadmap? If so, I’d be happy to contribute.
I’ve already spent some time digging through the codebase (though I’m still wrapping my head around the TCG internals). Any guidance on where to start or whom to ping would be greatly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I’ve been working on a tool that heavily uses Unicorn for RISC-V emulation. To make development easier, I wrote a Go overlay on top of Unicorn that hooks any instruction on demand.
I’d like to add this feature into Unicorn itself so that it can handle this natively. I see that x86_64 already has a very limited instruction-hook API, so I’m wondering:
I’ve already spent some time digging through the codebase (though I’m still wrapping my head around the TCG internals). Any guidance on where to start or whom to ping would be greatly appreciated!
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions