-
I've been trying to understand the crate's let mut asm = CodeAssembler::new(64)?;
asm.mov(ptr(rsp + 0x10), rbx)?;
asm.mov(ptr(rsp + 0x18), rsi)?;
asm.push(rbp)?;
asm.push(rdi)?;
asm.push(r14)?;
asm.lea(rbp, ptr(rsp-0x100i32))?;
asm.sub(rsp, 0x200)?;
asm.mov(rax, ptr(0x7ffac4524e0u64))?;
asm.xor(rax, rsp)?;
asm.mov(ptr(rbp + 0xf0), rax)?;
asm.mov(r8, ptr(0x7ffac474f208u64))?; // This is the line the assembler is complaining about
asm.lea(rax, ptr(0x7ffac46f4a58u64))?;
asm.xor(edi, edi)?;
let address = 0x7FFAC46ACDA4;
let result = asm.assemble_options(address, BlockEncoderOptions::NONE)?; but when this code is run, it returns the following error:
the address of the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sounds like #212 and if so, the workaround is #209 (comment) |
Beta Was this translation helpful? Give feedback.
Sounds like #212 and if so, the workaround is #209 (comment)