https://github.com/willkill07/callgraphgenerator
Generate JSON-formatted call graph for any executable parsable via objdump
https://github.com/willkill07/callgraphgenerator
Last synced: 3 months ago
JSON representation
Generate JSON-formatted call graph for any executable parsable via objdump
- Host: GitHub
- URL: https://github.com/willkill07/callgraphgenerator
- Owner: willkill07
- Created: 2016-10-04T01:10:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-04T01:20:40.000Z (over 8 years ago)
- Last Synced: 2025-02-24T04:13:16.425Z (3 months ago)
- Language: HTML
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CallGraphGenerator
This small utility emits a call graph in JSON
Basic usage:
./generate_call_graph.sh [rootFunction=main]
JSON is written to stdout
By default, the root function will be `main` but many executables don't use `main`. You can specify the root function to construct the call graph from as the *second* argument.
Recursion is handled by not expanding on functions already emitted in the DFS hierarchy of the graph.