PDA

View Full Version : olly plugin for comments


miker
January 2nd, 2007, 11:18
Can anyone develop a plug that would be able to save the comment wrote by user to .txt file, and be able to load back again ,in the dissasembler ,in case that the comments lost???
Because many times the comments ,that takes hours to write , are disappeared from the files when reload them.
Thanx!
A and happy new year!!!

ZaiRoN
January 2nd, 2007, 16:54
Hm, do you remove .udd file? Strange because I always get my comments back every time I load the target in Ollydbg. There is a plugin named Labelmaster btw, it might help you; check our OllyStuph page

miker
January 2nd, 2007, 17:28
no i don't remove the udd files but don't know why, sometimes Olly lose the comment.If you search sround the forum you 'll find some post with the same problem.
ps:What is the OllyStuph

JMI
January 2nd, 2007, 19:40
Why not try something really adverturous, actually LOOK at the top of the page for the OllyDbg Support Forums and NOTICE the Big Blue Letters with the link to OllyStuph.

We call this a "clue."

Look "above" the forums here: http://www.woodmann.com/forum/forumdisplay.php?f=37

Regards,

Kayaker
January 2nd, 2007, 23:42
The elusiveness of OllyStuph seems to be a recurring theme, and while a simple search for the term will find it, in all fairness it (was) possible to post in this Plugins forum without having seen the reference to it.

So to make it more evident I have added 2 more OllyStuph links to make a grand total of 4 linkages cleverly hidden around the forum. If anyone misses it again then they really have to be working at ignoring everything around them and in all likelihood are in the wrong game

Cheers,
Kayaker

owl
January 3rd, 2007, 09:31
The same thing had happened to me, but I noticed it only happenes when I had make changes on the code and resave the executable, all my comments don't get save.

blabberer
January 3rd, 2007, 09:45
usually olly does not discard any comments and it is always available in .udd files

if the file you are examining is self modifying ollydbg discards the udd file that is present and creates a new udd file

and ollydbg will record in log window if it discarded the old udd file

and ollydbg provides a bypass to the default behaviour in its options dialog

options debug options security ,

find the three options (1) ignore path and extension , ignore crc , ignore timestamp

and check mark them ollydbg will automatically use theold udd file and all your comments will still be present inspite of crc being different


on other hand before you close the session you yourself can save all your comments to text file

simply right click search for user defined comments
right click on the new window hide the disassembly and other columns
and copy to clip board the whole table and save it to some exe.comments.txt

and you can simply make a macro in lets say excel spread sheet with import data and convert this text file to a .map file format (its simple just needs to specify the address in segment: physical address) which then can be imported back with mapconv or godup plugin

or if push comes to shove you can simply write your own plugin

which does a simple CreateFile() ReadFile() QuickInsertName() function which reads the exported text and inserts all its name back to you new disassembly

why not get a compiler and treat it as you first project in writing a ollydbg plugin you will gain more insights from this project instead of using some premade plugin

as to label master plugin it does exactly what you need
but it wont save your comments in other sections apart from code section
(thats more than sufficient for most cases )

miker
January 3rd, 2007, 17:30
Thank you