[ML] 5d200204.idc file

31 views
Skip to first unread message

Trammell Hudson

unread,
Apr 16, 2010, 9:15:04 PM4/16/10
to ml-d...@googlegroups.com
Vitaliy from pentax-hack.info suggested that the "File - Produce
File - Dump Database to IDC File" could be used to output a script
that could re-generate almost all of the state of the IDB file
without having to distribute any Canon code.

It looks like it works! I haven't tested it by reloading the
firmware image and reapplying the symbols, but my spot check of the
symbols had most everything in there. We would likely want to strip
it down somewhat to eliminate the autogenerated symbols and other
junk that make it 13 MB uncompressed.

This should be a quick way to get new devs up to speed on analyzing
existing firmware dumps. We could even create a hg tree for
versioning it so that new symbols can be added to a master file.

--
Trammell

--
http://magiclantern.wikia.com/

To post to this group, send email to ml-d...@googlegroups.com
To unsubscribe from this group, send email to ml-devel+u...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/ml-devel?hl=en
ROM0.idc.gz

aj_newman

unread,
Apr 18, 2010, 5:33:21 PM4/18/10
to Magic Lantern firmware development
Thanks Trammel,

This is definitely the way to go. I 'produced' my current MAP file,
then ran your IDC against, then carefully used loadmap to import my
map back. The few errors that I saw in the 'loadmap' stage were due to
IDA having previously allowed me to duplicate routine names.
Reply all
Reply to author
Forward
0 new messages