Skip to content

Commit 43e88e5

Browse files
Try to use the codechecker's config file
1 parent 6984d9b commit 43e88e5

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.codechecker-ignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

.codechecker.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
$version: 1
2+
3+
rules:
4+
- filters:
5+
filepath: /usr/lib/llvm-18/lib/clang/18/include/cetintrin.h
6+
checker_name: core.CallAndMessage
7+
actions:
8+
review_status: false_positive
9+
reason: "__builtin_ia32_rdsspd(t): 1st function call argument is an uninitialized value"

.github/workflows/codechecker.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
- name: Analyze
2828
run: |
2929
export PATH=$HOME/.python-venv/bin:$PATH
30-
CodeChecker analyze --analyzers clangsa --ctu-all --ctu-ast-mode load-from-pch --output codechecker-output --ignore .codechecker-ignore build/compile_commands.json
30+
CodeChecker analyze --config .codechecker.yml --analyzers clangsa --ctu-all --ctu-ast-mode load-from-pch --output codechecker-output build/compile_commands.json
3131
- name: Display results
3232
run: |
3333
export PATH=$HOME/.python-venv/bin:$PATH
34-
CodeChecker parse --print-steps codechecker-output
34+
CodeChecker parse --config .codechecker.yml --print-steps codechecker-output

0 commit comments

Comments
 (0)