remill
remill copied to clipboard
Emit IR for `syscall` in addition to a `__remill_async_hyper_call`
At the moment, we simply add a call to __remill_async_hyper_call to indicate a control flow change. We should also emit IR for the actual instruction.
I used these for reference: https://www.cs.uaf.edu/2017/fall/cs301/lecture/11_17_syscall.html https://www.felixcloutier.com/x86/syscall.html https://www.felixcloutier.com/x86/sysenter https://www.felixcloutier.com/x86/sysexit
Whoops, I didn't get the inline asm syntax right. Fixing now...
@pgoodman Ok, I think this should do the trick.