还需要安装下cppcheck等,命令如下: sudoapt-getinstallcppcheck 1. 复制 另外,需要使用下述环境变量,在~/openharmony/prebuilts/clang/ohos/linux-x86_64/llvm/bin目录下有clang-tidy等命令行工具会使用到。 export PATH=~/openharmony/prebuilts/clang/ohos/
ExecutesClang-Tidy,Clang Static Analyzerwith Cross-Translation Unit analysis, Statistical Analysis (when checkers are available),Cppcheck,GCC Static Analyzerand theFacebook Infer Analyzer. Creates the JSON compilation database by wiretapping any build process (e.g.,CodeChecker log -b "make"). ...
Executes Clang-Tidy, Clang Static Analyzer with Cross-Translation Unit analysis, Statistical Analysis (when checkers are available), Cppcheck, GCC Static Analyzer and the Facebook Infer Analyzer. Creates the JSON compilation database by wiretapping any build process (e.g., CodeChecker log -b "...
96 + export CODECHECKER_SKIP_FILE=$ZEPHYR_BASE/.github/codechecker/skipfile 97 + 96 98 pip install codechecker==v6.25.1 cppcheck sarif-tools jq 97 99 sudo apt-get update 98 100 sudo apt-get install -y jq 0 commit comments Comments0 (0) Please sign in to comment....
还需要安装下cppcheck等,命令如下: 复制 sudoapt-get install cppcheck 1. 另外,需要使用下述环境变量,在~/openharmony/prebuilts/clang/ohos/linux-x86_64/llvm/bin目录下有clang-tidy等命令行工具会使用到。 复制 export PATH=~/openharmony/prebuilts/clang/ohos/linux-x86_64/llvm/bin:$PATH ...
还需要安装下cppcheck等,命令如下: sudoapt-getinstallcppcheck 1. 另外,需要使用下述环境变量,在~/openharmony/prebuilts/clang/ohos/linux-x86_64/llvm/bin目录下有clang-tidy等命令行工具会使用到。 export PATH=~/openharmony/prebuilts/clang/ohos/linux-x86_64/llvm/bin:$PATH ...
Executes Clang-Tidy, Clang Static Analyzer with Cross-Translation Unit analysis, Statistical Analysis (when checkers are available), Cppcheck, and the GCC Static Analyzer. Creates the JSON compilation database by wiretapping any build process (e.g., CodeChecker log -b "make"). Automatically analyz...
Executes Clang-Tidy, Clang Static Analyzer with Cross-Translation Unit analysis, Statistical Analysis (when checkers are available), and Cppcheck. Creates the JSON compilation database by wiretapping any build process (e.g., CodeChecker log -b "make"). Automatically analyzes GCC cross-compiled proj...
Analyze your project with thecheckcommand: CodeChecker check -b "cd ~/your-project && make clean && make" -o ~/results checkwill print an overview of the issues found in your project by the analyzers. Start a CodeChecker web and storage server in another terminal or as a background proces...
93 + export CODECHECKER_CONFIG_FILE=$ZEPHYR_BASE/.codechecker.yml 94 + export CODECHECKER_CLEANUP=y 95 + export CODECHECKER_EXPORT=sarif 96 + pip install codechecker==v6.25.1 cppcheck sarif-tools jq 97 + sudo apt-get update 98 + sudo apt-get install -y jq 99 + export PATH=/...