https://github.com/fixedoctocat/bimbam
Tool for drawing function/intent call graph
https://github.com/fixedoctocat/bimbam
Last synced: over 1 year ago
JSON representation
Tool for drawing function/intent call graph
- Host: GitHub
- URL: https://github.com/fixedoctocat/bimbam
- Owner: FixedOctocat
- Created: 2023-10-26T10:15:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T12:31:09.000Z (over 2 years ago)
- Last Synced: 2025-02-12T10:27:49.963Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 548 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BimBam
Tool for drawing function/intent graphs
```
python3 main.py --help
usage: main.py [-h] [-fg] [-ig] [-sp STARTP] [-e] [-a] [-d DEPTH] [-r] [-if] [-det] [-pnc] [-snc] [-o OUTPUT]
[-od OUTPUT_DIR] [--pyvis]
apk
positional arguments:
apk Path to APK
options:
-h, --help show this help message and exit
-fg, --fgraph Function graph view by provided APK
-ig, --igraph Intent graph view by provided APK
-sp STARTP, --startp STARTP
Starting point
-e, --exported Analyze exported activities
-a, --allactivities Analyze all activities
-d DEPTH, --depth DEPTH
Depth of search
-r, --rec Output function recursively
-if, --initfunc output functions
-det, --details Get detailed view
-pnc Do package name check for all calls
-snc Filter all system classes for calls
-o OUTPUT, --output OUTPUT
Output file
-od OUTPUT_DIR, --output_dir OUTPUT_DIR
Directory for apktool
--pyvis Generate interactive graph
```
## Output
You can view output via 3 methods:
- JSON array
- JSON Crack visualization
- pyvis graph view
```
[
{
"Name": "MainActivity",
"members": [
{
"Name": "MedalStoreHomeActivity",
"members": []
},
{
"Name": "WorkoutPlanActivity",
"members": [
{
"Name": "CardioWorkoutService",
"members": [
{
"Name": "DummyActivity",
"members": []
}
]
},
```