vereteran
07-18-2009, 11:22 AM
hello.
what I have: a pe executable with hardcoded 8 elements array (4 bytes each, simple int).
what I want: to make this array 127 elements.
as I understand new array must be created in the end of data section and all old addresses must be replaced with new one.
the question: _how_ do I do this? (which tool should I use to create new array or simple hex editor will do? what can I use to replace all addresses of old array with new ones?)
*** Please don't comment to yourself, use the Edit button to add to your original post. Git ***
I found way to allocate additional space: banally increased virtual size of .data section. now I need to replace all old addresses with new ones. any ideas on some program able to do this? manually it'll take several years.
what I have: a pe executable with hardcoded 8 elements array (4 bytes each, simple int).
what I want: to make this array 127 elements.
as I understand new array must be created in the end of data section and all old addresses must be replaced with new one.
the question: _how_ do I do this? (which tool should I use to create new array or simple hex editor will do? what can I use to replace all addresses of old array with new ones?)
*** Please don't comment to yourself, use the Edit button to add to your original post. Git ***
I found way to allocate additional space: banally increased virtual size of .data section. now I need to replace all old addresses with new ones. any ideas on some program able to do this? manually it'll take several years.