IDAPython scripts for analyzing the firmware - DSLR Hack development - CHDK Forum  

IDAPython scripts for analyzing the firmware

  • 0 Replies
  • 4011 Views
*

Offline a1ex

  • *****
  • 671
  • ML dev
IDAPython scripts for analyzing the firmware
« on: 11 / November / 2010, 08:22:41 »
Advertisements
Hello,

I've just posted some IDAPython scripts for static analysis of ARM firmware. They are documented on the Magic Lantern wiki, but may be useful for other firmware versions, too. I've used SymPy for symbolic emulation of ARM code.

http://magiclantern.wikia.com/wiki/IDAPython

They work in IDA demo, too. For now, they can trace the calls of some function throughout the firmware (like here: http://magiclantern.wikia.com/wiki/IDAPython/Tracing_calls ). I'm experimenting with guessing the number and type of parameters for ARM functions, and also the return value.

I hope you will find them useful; but if you encounter problems, have some suggestions or know better tools that already do this, please leave a message. Thanks.

Alex

 

Related Topics