Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Call graph visualization in the move disassembler #14799

Open
vineethk opened this issue Sep 30, 2024 · 0 comments
Open

[Feature Request] Call graph visualization in the move disassembler #14799

vineethk opened this issue Sep 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@vineethk
Copy link
Contributor

🚀 Feature Request

Add an option to dump call graph dot file from a package of Move bytecode instructions.

That is, running

aptos move disassemble --package-path <PACKAGE_PATH> --call-graph-dump <DOT_FILE_NAME>

should create a dot file with the call graph information in it.

Motivation

This feature is useful in exploring a package for understanding it, debugging it, security auditing, etc. Similar functionality is available in tools for other smart contract languages, see https://github.com/crytic/slither/wiki/Printer-documentation#call-graph.

Originally requested by @zi0Black.

@vineethk vineethk added the enhancement New feature or request label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant