Error: CPPCHECK_WARNING: [#def1] libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom-database.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom-error.c: scope_hint: In function ‘libwacom_error_new’ libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom-error.c:40:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘error’ # 38| { # 39| WacomError *error = malloc(sizeof(*error)); # 40|-> error->code = WERROR_NONE; # 41| error->msg = NULL; # 42| return error; Error: CPPCHECK_WARNING: [#def3] libwacom-2.12.2-build/libwacom-2.12.2/libwacom/libwacom.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def4] libwacom-2.12.2-build/libwacom-2.12.2/tools/list-devices.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: [#def5] libwacom-2.12.2-build/libwacom-2.12.2/tools/list-local-devices.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CLANG_WARNING: [#def6] libwacom-2.12.2-build/libwacom-2.12.2/tools/list-local-devices.c:149:15: warning[deadcode.DeadStores]: Value stored to 'type' during its initialization is never read # 147| for (int i = 0; i < nstyli; i++) { # 148| const WacomStylus *stylus = libwacom_stylus_get_for_id(db, styli[i]); # 149|-> const char *type = "invalid"; # 150| WacomAxisTypeFlags axes = libwacom_stylus_get_axes(stylus); # 151| WacomEraserType eraser_type = libwacom_stylus_get_eraser_type(stylus); Error: CLANG_WARNING: [#def7] libwacom-2.12.2-build/libwacom-2.12.2/tools/list-local-devices.c:152:15: warning[deadcode.DeadStores]: Value stored to 'etype' during its initialization is never read # 150| WacomAxisTypeFlags axes = libwacom_stylus_get_axes(stylus); # 151| WacomEraserType eraser_type = libwacom_stylus_get_eraser_type(stylus); # 152|-> const char *etype= "unknown"; # 153| # 154| switch (libwacom_stylus_get_type(stylus)) {
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-152.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | libwacom-2.12.2-1.fc41 |
store-results-to | /tmp/tmpmyxenwj5/libwacom-2.12.2-1.fc41.tar.xz |
time-created | 2024-07-03 16:01:47 |
time-finished | 2024-07-03 16:02:52 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpmyxenwj5/libwacom-2.12.2-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpmyxenwj5/libwacom-2.12.2-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |