Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:70:24: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL 'cf.tocs' xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:95:5: enter_function: entry to 'parse_cursor_file' xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:104:8: branch_false: following 'false' branch... xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:107:23: branch_false: ...to here xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:112:8: branch_false: following 'false' branch... xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:115:9: branch_false: ...to here xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:119:8: branch_false: following 'false' branch... xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:123:22: branch_false: ...to here xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:123:15: acquire_memory: this call could return NULL xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:124:8: branch_false: following 'false' branch... xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:134:37: branch_false: ...to here xcb-util-cursor-0.1.6/cursor/parse_cursor_file.c:134:17: call_function: calling 'find_best_size' from 'parse_cursor_file' # 68| uint32_t nsizes = 0; # 69| for (int n = 0; n < cf->header.ntoc; n++) { # 70|-> const uint32_t size = cf->tocs[n].subtype; # 71| # 72| if (cf->tocs[n].type != XCURSOR_IMAGE_TYPE) Error: COMPILER_WARNING (CWE-758): [#def2] xcb-util-cursor-0.1.6/cursor/shape_to_id.gperf:80:1: warning[-Wmissing-prototypes]: no previous prototype for 'in_word_set' # 80 | xterm,76 # | ^~~~~~~~ # 78| ur_angle,74 # 79| watch,75 # 80|-> xterm,76 # 81| %% # 82| const int cursor_shape_to_id(const char *name) {
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-203.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | xcb-util-cursor-0.1.6-1.fc44 |
| store-results-to | /tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.tar.xz |
| time-created | 2026-01-08 22:07:07 |
| time-finished | 2026-01-08 22:08:24 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpr538hxiu/xcb-util-cursor-0.1.6-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |