libxshmfence-1.3.2-5.fc42

List of Findings

Error: COMPILER_WARNING: [#def1]
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfence_alloc.c:53:9: warning: "MFD_CLOEXEC" redefined
#   53 | #define MFD_CLOEXEC             0x0001U
#      |         ^~~~~~~~~~~
/usr/include/bits/mman-linux.h:136: included_from: Included from here.
/usr/include/bits/mman.h:38: included_from: Included from here.
/usr/include/sys/mman.h:41: included_from: Included from here.
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfenceint.h:28: included_from: Included from here.
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfence_alloc.c:27: included_from: Included from here.
/usr/include/bits/mman-shared.h:31:11: note: this is the location of the previous definition
#   31 | #  define MFD_CLOEXEC 1U
#      |           ^~~~~~~~~~~
#   51|   #else
#   52|   /* flags for memfd_create(2) (unsigned int) */
#   53|-> #define MFD_CLOEXEC		0x0001U
#   54|   #define MFD_ALLOW_SEALING	0x0002U
#   55|   #endif

Error: COMPILER_WARNING: [#def2]
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfence_alloc.c:53:9: warning: 'MFD_CLOEXEC' redefined
/usr/include/bits/mman-linux.h:136: included_from: Included from here.
/usr/include/bits/mman.h:38: included_from: Included from here.
/usr/include/sys/mman.h:41: included_from: Included from here.
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfenceint.h:28: included_from: Included from here.
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfence_alloc.c:27: included_from: Included from here.
/usr/include/bits/mman-shared.h:31:11: note: this is the location of the previous definition
#   51|   #else
#   52|   /* flags for memfd_create(2) (unsigned int) */
#   53|-> #define MFD_CLOEXEC		0x0001U
#   54|   #define MFD_ALLOW_SEALING	0x0002U
#   55|   #endif

Error: COMPILER_WARNING: [#def3]
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfence_alloc.c:54:9: warning: "MFD_ALLOW_SEALING" redefined
#   54 | #define MFD_ALLOW_SEALING       0x0002U
#      |         ^~~~~~~~~~~~~~~~~
/usr/include/bits/mman-shared.h:32:11: note: this is the location of the previous definition
#   32 | #  define MFD_ALLOW_SEALING 2U
#      |           ^~~~~~~~~~~~~~~~~
#   52|   /* flags for memfd_create(2) (unsigned int) */
#   53|   #define MFD_CLOEXEC		0x0001U
#   54|-> #define MFD_ALLOW_SEALING	0x0002U
#   55|   #endif
#   56|   

Error: COMPILER_WARNING: [#def4]
libxshmfence-1.3.2-build/libxshmfence-1.3.2/src/xshmfence_alloc.c:54:9: warning: 'MFD_ALLOW_SEALING' redefined
/usr/include/bits/mman-shared.h:32:11: note: this is the location of the previous definition
#   52|   /* flags for memfd_create(2) (unsigned int) */
#   53|   #define MFD_CLOEXEC		0x0001U
#   54|-> #define MFD_ALLOW_SEALING	0x0002U
#   55|   #endif
#   56|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-23.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelibxshmfence-1.3.2-5.fc42
store-results-to/tmp/tmphf41cvu5/libxshmfence-1.3.2-5.fc42.tar.xz
time-created2024-11-13 01:53:10
time-finished2024-11-13 01:54:23
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmphf41cvu5/libxshmfence-1.3.2-5.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmphf41cvu5/libxshmfence-1.3.2-5.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9