PDA

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


forgot
07-30-2005, 04:26 AM
rt

joe
07-30-2005, 05:14 AM
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
07-31-2005, 02:24 PM
plugin ollyhelper will allocate 2k from the menu, if you need more then as joe described.

Bob
07-31-2005, 07:20 PM
or use stack..

jack
08-09-2005, 06:07 AM
i wont money