To analysis and save and query structured AST tree.
To analysis and save and query structured AST tree.
Usage:
astool analysis <file>
astool locate <function>
astool trace <function>:<arg>
astool -h
astool -v
Options:
analysis <file> :To analysis target file and gather useful information.
locate <function> :To locate function by name. Be sure all files you need to search were resolved successfully before.
trace <function>:<arg> :To trace the statement inside the function that operates on this parameter.
-h :Show this screen.
-v :Show version.
分析后的文件存放在./data/<packname>/<filename>.json.
Self-Compile
Attention
While inputting filepath, DON'T use \ as separators. Use / instead.