Log in

View Full Version : "Copy to executable" problem


Anonymous
December 10th, 2004, 03:10
OllyDBG sometimes doesn't display "Copy to executable" - "All modifications" submenu but only "Selection" ? It really makes me mad. Using two different versions of same debugged program, one displays both submenus and the other only "Selection" (!!!)
Tried to erase ollydbg.ini, reinstalling it, using on different machine, still the same results.

Please help

MaRKuS TH DJM
December 11th, 2004, 03:36
i'm not sure but i think there are much things which must be correct that it work. section properties where you want to save, code-base, data-base. take care of these.

blabberer
December 11th, 2004, 03:46
copy to executable all modifications pops in when there are more than one modification which are not continous bytes

for example you modifies a byte at 401000 then one byte at
401026 and one byte at 401076 (all of which are in .code section)

and the position of your cursor isnt on any of these bytes but some where
in 401189 and you select copy to executable
olly will pop up all modifications and then
if there is only one modification are if the modification are more than one but in different section then you will see it pops up only one option

Anonymous
December 12th, 2004, 05:10
I have many modifications (more than ten) and "All modifications" still doesn't popup.
code-base, data-base. take care of these
I suspect something like that, but there is no Ollydbg docs that discribes those limitations.

blabberer
December 12th, 2004, 05:59
well use right click view executable change there and use save file
that will save all modifications where ever it is in the loaded pe
no section limitations you can edit
pe header charecteristics then change some code in .code section
change a string in .data sections
and save it in one go if you use view executable ,save file

Anonymous
December 13th, 2004, 00:09
are much things which must

Some executable Programs may cause this problem,(not a real bug of OD I think) ,If you try another executable file you may find that the problem has gone.

Even only the "selection" on the menu, you can still copy your changes to executable by doing like this:

Select all your changes by using "Shift", that's to say, select from the first to the last, then right click - copy to executable - *selection - save!

Good Luck,
HillCat

Anonymous
December 13th, 2004, 00:52
Even only the "selection" on the menu, you can still copy...

Yes i know that, actually is what i did to save changes.
Just wondering why that happens with some programs but not with others.