Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Utility]Calltree generator
I wrote this small tool these past two days, and thought I'd share it.

What it is:
It analyzes a piece of compiled code, and does its best to generate a calltree structure and dumps it as xml.
It can be useful to get a basic understanding of what a function does.
It also contains a html file which can be viewed in the browser, which will display calltree in a graphical interface (it doesn't actually generate a tree structure, but just a bunch of blocks)

What it isn't:
This is not an alternative to IDA, or any other disassembler. It is a very basic (500 lines or so) calltree generator, and that is with a very generous definition of calltree.
It is also not going to work well on anything that has a somewhat crazy code structure. Luckily this isn't a big deal for LF2 which is rather simple.

You can find the source code here:
It uses udis86 which can be found here:

I am not going to be distributing a binary form of this as it would be basically pointless as the code needs to be modified to be of any use, and if you can't figure out how to compile a program it will not be of any use to you anyway.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Thanks given by:

Users browsing this thread: 1 Guest(s)