tum-i4 / self-checksumming

10 stars 6 forks source link

Implement a machine pass to patch placeholders instead of the python patcher #53

Open mr-ma opened 6 years ago

mr-ma commented 6 years ago

Options are introducing new LLVM instructions (to be processed in the machine pass) or adding metadata to instructions. If new instructions require re-compiling the LLVM core, I'm against this approach. We need to investigate it further.

sploving commented 5 years ago

Hello, Any progress with this? As we know, ASLR (address space layout randomization) will make the function address in memory different from the binary. The patcher which uses the absolute address does not consider this situation.