-
Is there a way to conveniently express an indirect Something like this:
From what I can gather, I would need to know the exact location of asm.jmp(__qword_ptr[addrOfTarget]);
asm.dq(target); Just wondering if there's a way to achieve that without computing |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
You should be able to set a label just before |
Beta Was this translation helpful? Give feedback.
You should be able to set a label just before
asm.dq(...)
and then you could doasm.jmp(__qword ptr[lbl])
. After you've assembled it, you can get the address of the label and patch the assembled bytes and writeaa bb cc dd ee ff aa bb
to it.