Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-252): [#def1]
python-drgn-0.0.29+16.gec162425-build/drgn-0.0.29+16.gec162425/libdrgn/gdbremote.c: scope_hint: In function 'gdb_send_and_receive'
python-drgn-0.0.29+16.gec162425-build/drgn-0.0.29+16.gec162425/libdrgn/gdbremote.c:322:16: warning[-Wunused-result]: ignoring return value of 'write' declared with attribute 'warn_unused_result'
#  322 |         (void) write(fd, "+", 1);
#      |                ^~~~~~~~~~~~~~~~~
#  320|   		return err;
#  321|   
#  322|-> 	(void) write(fd, "+", 1);
#  323|   	if (VERBOSE_PROTOCOL > 1)
#  324|   		fprintf(stderr, "-> +\n");

Error: COMPILER_WARNING (CWE-1164): [#def2]
python-drgn-0.0.29+16.gec162425-build/drgn-0.0.29+16.gec162425/libdrgn/program.c: scope_hint: In function 'drgn_program_set_gdbremote'
python-drgn-0.0.29+16.gec162425-build/drgn-0.0.29+16.gec162425/libdrgn/program.c:739:1: warning[-Wunused-label]: label 'out_fd' defined but not used
#  739 | out_fd:
#      | ^~~~~~
#  737|   	drgn_memory_reader_deinit(&prog->reader);
#  738|   	drgn_memory_reader_init(&prog->reader);
#  739|-> out_fd:
#  740|   	prog->has_platform = had_platform;
#  741|   	close(prog->conn_fd);

Scan Properties

analyzer-version-clippy1.81.0
analyzer-version-cppcheck2.15.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer14.2.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.81.0
diffbase-analyzer-version-cppcheck2.15.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer14.2.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-40.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-drgn-0.0.29+14.gb380087a-1.20241012000229600696.main.14.gb380087a
diffbase-store-results-to/tmp/tmplnr18v_9/python-drgn-0.0.29+14.gb380087a-1.20241012000229600696.main.14.gb380087a.tar.xz
diffbase-time-created2024-10-12 09:55:08
diffbase-time-finished2024-10-12 09:57:25
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,cppcheck,gcc,shellcheck,unicontrol' '-o' '/tmp/tmplnr18v_9/python-drgn-0.0.29+14.gb380087a-1.20241012000229600696.main.14.gb380087a.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmplnr18v_9/python-drgn-0.0.29+14.gb380087a-1.20241012000229600696.main.14.gb380087a.src.rpm'
diffbase-tool-versioncsmock-3.7.1-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-40.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-namepython-drgn-0.0.29+16.gec162425-1.20241012094749055187.pr444.16.gec162425
store-results-to/tmp/tmpfxkao_rv/python-drgn-0.0.29+16.gec162425-1.20241012094749055187.pr444.16.gec162425.tar.xz
time-created2024-10-12 09:57:34
time-finished2024-10-12 09:59:21
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,cppcheck,gcc,shellcheck,unicontrol' '-o' '/tmp/tmpfxkao_rv/python-drgn-0.0.29+16.gec162425-1.20241012094749055187.pr444.16.gec162425.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpfxkao_rv/python-drgn-0.0.29+16.gec162425-1.20241012094749055187.pr444.16.gec162425.src.rpm'
tool-versioncsmock-3.7.1-1.el9