automated callgraph creation

Bug #579365 reported by Onkar Shinde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnusim8085
New
Wishlist
Unassigned

Bug Description

It would be a very useful feature if there was a way to have a callgraph created automatically, especially when working with unfamiliar assembly source code, this could help understand the source code structure.

Revision history for this message
Bug Importer (bug-importer) wrote :

If this is implemented it would also be useful if there was a way to obtain information about:
- global data that is modified by a function
- input registers/memory that is used
- output registers/memory that is used

Revision history for this message
Bug Importer (bug-importer) wrote :

This seems like an extension to the current debugger code

Revision history for this message
The Escapist (wisd00m) wrote :

I think it would be possible to implement it like this:

1) add new tab
2) register a listener callback for all invocations of all "call" instructions
3) always store the IP for each insn
4) note down all register/stack access until a "ret" instruction is found

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.