36 - Slither Printers
Slither printers allow printing contract information with --print
and following options (with contract-summary, human-summary, and inheritance-graph for quick review, and others such as call-graph, cfg, function-summary and vars-and-auth for in-depth review):
- call-graph: Export the call-graph of the contracts to a dot file
- cfg: Export the CFG of each functions
- constructor-calls: Print the constructors executed
- contract-summary: Print a summary of the contracts
- data-dependency: Print the data dependencies of the variables
- echidna: Export Echidna guiding information
- evm: Print the evm instructions of nodes in functions
- function-id: Print the keccack256 signature of the functions
- function-summary: Print a summary of the functions
- human-summary: Print a human-readable summary of the contracts
- inheritance: Print the inheritance relations between contracts
- inheritance-graph: Export the inheritance graph of each contract to a dot file
- modifiers: Print the modifiers called by each function
- require: Print the require and assert calls of each function
- slithir: Print the slithIR representation of the functions
- slithir-ssa: Print the slithIR representation of the functions
- variable-order: Print the storage order of the state variables
- vars-and-auth: Print the state variables written and the authorization of the functions
- Print Different Contract Information
- CFG, Call graph, Summaries, Inheritance
- Functions, Modifiers, Variables, Dependencies
- SlithIR, EVM