1

According to this post, in x64, you can perform lea rax, [rip] to get the current instruction. How would I do this using asmjit?

Community
  • 1
  • 1

1 Answers1

0

I figured out the solution: assembler.lea(asmjit::x86::rax, asmjit::x86::ptr(asmjit::x86::rip));