According to this post, in x64, you can perform lea rax, [rip] to get the current instruction. How would I do this using asmjit?
Asked
Active
Viewed 309 times
1
Community
- 1
- 1
user6228183
- 11
- 1
1 Answers
0
I figured out the solution: assembler.lea(asmjit::x86::rax, asmjit::x86::ptr(asmjit::x86::rip));
user6228183
- 11
- 1