Error: SHELLCHECK_WARNING (CWE-457): [#def1] /usr/bin/ima-setup:36:10: warning[SC2154]: policy_file is referenced but not assigned. # 34| ima_policy_path=${_opt#*=} # 35| if [[ ! -e $ima_policy_path ]]; then # 36|-> echo "$policy_file doesn't exist" # 37| exit 1 # 38| fi Error: SHELLCHECK_WARNING (CWE-563): [#def2] /usr/bin/ima-setup:41:3: warning[SC2034]: reinstall_threshold appears unused. Verify use (or export if used externally). # 39| ;; # 40| --reinstall_threshold=*) # 41|-> reinstall_threshold=${_opt#*=} # 42| ;; # 43| *) Error: GCC_ANALYZER_WARNING (CWE-401): [#def3] ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/libimaevm.c:51: included_from: Included from here. ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/libimaevm.c: scope_hint: In function 'find_keyid' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/imaevm.h:47:15: warning[-Wanalyzer-malloc-leak]: leak of 'entry' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/imaevm.h:67:41: note: in expansion of macro 'do_log' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/libimaevm.c:392:9: note: in expansion of macro 'log_err' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/imaevm.h:67:41: note: in expansion of macro 'do_log' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/libimaevm.c:392:9: note: in expansion of macro 'log_err' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/imaevm.h:67:41: note: in expansion of macro 'do_log' ima-evm-utils-1.6.2-build/ima-evm-utils-1.6.2/src/libimaevm.c:392:9: note: in expansion of macro 'log_err' # 45| #ifdef USE_FPRINTF # 46| #define do_log(level, fmt, args...) \ # 47|-> ({ if (level <= imaevm_params.verbose) fprintf(stderr, fmt, ##args); }) # 48| #define do_log_dump(level, p, len, cr) \ # 49| ({ if (level <= imaevm_params.verbose) imaevm_do_hexdump(stderr, p, len, cr); })
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-144.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | ima-evm-utils-1.6.2-3.fc42 |
store-results-to | /tmp/tmpftz9okcf/ima-evm-utils-1.6.2-3.fc42.tar.xz |
time-created | 2024-11-13 00:16:51 |
time-finished | 2024-11-13 00:18:50 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpftz9okcf/ima-evm-utils-1.6.2-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpftz9okcf/ima-evm-utils-1.6.2-3.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |