Releases: for-just-we/CppCodeAnalyzer
v1.1
Add main function for command line tool
you can download source code and use python main.py [options]
to run the tool, [options]
include
-
-f <filepath>
: specify a c file to parse. -
-d <dir>
: specify a dir containing c files to be parsed. Note that you should specify one of-f
and-d
, and do not specify-f
and-d
at the same time. -
-c <calleeInfos>
: specify calleeInfo.json file path, default to resources/calleeInfos.json. -
-o <output_dir>
: specify a dir store outputresult.json
, if not specified, it would be placed in the same path as input file or files.
Also, you may still download python package and install as in v1.0
v1.0
The first release version of CppCodeAnalyzer
-
Download zip, unzip.
-
And run
python setup.py bdist_wheel
andpip install dist/CppCodeAnalyzer-1.0-py3-none-any.whl
to install CppCodeAnalyzer to your python environment.