Closed tetsuo-cpp closed 1 year ago
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.
__remill_async_hyper_call
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.
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