After using IDA analysing a dll file, I replaced a call with another one. That is, replacing
CALL xxxx with
CALL ds:yyyy. (
ds:yyyy has been referenced by other locations already). And I used IDA to patch the binary.
But the problem is, when executing the module,
ds:yyyy is not updated based on the module imagebase, and therefore an invalid address.
How can I deal with this kind of situation? Need I patch the reloc section too? Thanks.