|
you have three options - first is obviously to disable ASLR (clear bit 6 (value 0x40) in the DLL Characteristics field in the PE header); second is to add relocations to the relocation table, so that your addresses will be updated automatically with the rest of the code; third is to use dynamic offsets (call $+5; pop ecx; add ecx, relative offset).
|