Mr. Smith
December 25th, 2000, 17:54
Hi everybody,
I have a target where I have to NOP an internal subroutine call (i.e. call 401522). But how can I patch this call within the file on disk ? I mean the bytes on disk are different from the bytes in memory (because the actual bytes are calculated during load time), so putting nops in the file doesn´t work. Furthermore this routine takes no parameters on the stack, so I have no spare space to insert a jmp before the call and I cannot manipulate the subroutine itself because it is called and needed from other parts of the program.
Any ideas ?
Mr. Smith
I have a target where I have to NOP an internal subroutine call (i.e. call 401522). But how can I patch this call within the file on disk ? I mean the bytes on disk are different from the bytes in memory (because the actual bytes are calculated during load time), so putting nops in the file doesn´t work. Furthermore this routine takes no parameters on the stack, so I have no spare space to insert a jmp before the call and I cannot manipulate the subroutine itself because it is called and needed from other parts of the program.
Any ideas ?
Mr. Smith