PDA

View Full Version : How can I allocate memory in debugged program?


forgot
July 30th, 2005, 04:26
rt

joe
July 30th, 2005, 05:14
Search for unused memory in debugged application (zeros), if You need only small memory.
If You need moore memory use redirection script:
ask "Enter new EIP"
cmp $RESULT, 0
je cancel_pressed
mov eip, $RESULT
ret

In new eip (in found free memory) You must add code to alocating moore memory (use API used in debugged application).

garryw
July 31st, 2005, 14:24
plugin ollyhelper will allocate 2k from the menu, if you need more then as joe described.

Bob
July 31st, 2005, 19:20
or use stack..

jack
August 9th, 2005, 06:07
i wont money