Task #869 - stdout.log
back to task #869download
COMMAND: koji -p koji download-build --noprogress --arch=src liburing-2.6-1.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: liburing-2.6-1.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmprf8dn0a0 && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmprf8dn0a0/liburing-2.6-1.fc41.tar.xz --gcc-analyze /tmp/tmprf8dn0a0/liburing-2.6-1.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprf8dn0a0/liburing-2.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmprf8dn0a0/liburing-2.6-1.fc41.src.rpm' scan.ini: host = ip-172-16-1-211.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmprf8dn0a0/liburing-2.6-1.fc41.tar.xz scan.ini: time-created = 2024-07-03 16:06:53 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = liburing-2.6-1.fc41 >>> 2024-07-03 16:06:53 "rpm -qa | sort -V > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/rpm-list-host.txt'" >>> 2024-07-03 16:06:53 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-07-03 16:06:55 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmocknnf6phb0/liburing-2.6-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: gcc x86_64 14.1.1-6.fc41 fedora 104.1 MiB gcc-c++ x86_64 14.1.1-6.fc41 fedora 38.1 MiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB Installing dependencies: annobin-docs noarch 12.60-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.60-1.fc41 fedora 976.2 KiB cpp x86_64 14.1.1-6.fc41 fedora 35.0 MiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.1.1-6.fc41 fedora 57.1 KiB glibc-devel x86_64 2.39.9000-26.fc41 fedora 36.8 KiB glibc-headers-x86 noarch 2.39.9000-26.fc41 fedora 2.2 MiB guile30 x86_64 3.0.9-1.fc41 fedora 52.7 MiB kernel-headers x86_64 6.10.0-0.rc6.50.fc41 fedora 6.3 MiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libstdc++-devel x86_64 14.1.1-6.fc41 fedora 15.4 MiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB Transaction Summary: Installing: 15 packages Total size of inbound packages is 78 MiB. Need to download 0 B. After this operation 257 MiB will be used (install 257 MiB, remove 0 B). [ 1/15] gcc-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/15] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/15] gcc-c++-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/15] cpp-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/15] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/15] guile30-0:3.0.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/15] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/15] annobin-plugin-gcc-0:12.60-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/15] gcc-plugin-annobin-0:14.1.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/15] annobin-docs-0:12.60-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/15] libstdc++-devel-0:14.1.1-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/15] glibc-devel-0:2.39.9000-26.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/15] glibc-headers-x86-0:2.39.9000-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/15] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/15] kernel-headers-0:6.10.0-0.rc6.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/17] Verify package files 100% | 59.0 B/s | 15.0 B | 00m00s [ 2/17] Prepare transaction 100% | 535.0 B/s | 15.0 B | 00m00s [ 3/17] Installing libmpc-0:1.3.1-5.fc4 100% | 23.2 MiB/s | 166.2 KiB | 00m00s [ 4/17] Installing cpp-0:14.1.1-6.fc41. 100% | 330.2 MiB/s | 35.0 MiB | 00m00s [ 5/17] Installing kernel-headers-0:6.1 100% | 109.3 MiB/s | 6.4 MiB | 00m00s [ 6/17] Installing glibc-headers-x86-0: 100% | 84.6 MiB/s | 2.3 MiB | 00m00s [ 7/17] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.6 KiB | 00m00s [ 8/17] Installing glibc-devel-0:2.39.9 100% | 5.7 MiB/s | 40.5 KiB | 00m00s [ 9/17] Installing libstdc++-devel-0:14 100% | 228.7 MiB/s | 15.6 MiB | 00m00s [10/17] Installing annobin-docs-0:12.60 100% | 23.8 MiB/s | 97.4 KiB | 00m00s [11/17] Installing gc-0:8.2.2-6.fc40.x8 100% | 42.5 MiB/s | 261.2 KiB | 00m00s [12/17] Installing guile30-0:3.0.9-1.fc 100% | 320.0 MiB/s | 52.8 MiB | 00m00s [13/17] Installing make-1:4.4.1-6.fc40. 100% | 138.5 MiB/s | 1.8 MiB | 00m00s [14/17] Installing gcc-0:14.1.1-6.fc41. 100% | 370.7 MiB/s | 104.2 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [15/17] Installing gcc-c++-0:14.1.1-6.f 100% | 340.7 MiB/s | 38.2 MiB | 00m00s [16/17] Installing annobin-plugin-gcc-0 100% | 68.2 MiB/s | 977.9 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [17/17] Installing gcc-plugin-annobin-0 100% | 22.2 KiB/s | 58.6 KiB | 00m03s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> 2024-07-03 16:07:01 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 954.3 KiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.7-1.fc41 fedora 587.7 KiB cppcheck x86_64 2.14.2-1.fc41 fedora 10.1 MiB Installing dependencies: clang-libs x86_64 18.1.7-1.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.7-1.fc41 fedora 522.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libedit x86_64 3.1-51.20240517cvs.fc41 fedora 243.9 KiB llvm-libs x86_64 18.1.7-1.fc41 fedora 113.5 MiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB python-pip-wheel noarch 24.1.1-1.fc41 fedora 1.2 MiB python3 x86_64 3.13.0~b3-1.fc41 fedora 31.8 KiB python3-libs x86_64 3.13.0~b3-1.fc41 fedora 40.5 MiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB Transaction Summary: Installing: 16 packages Total size of inbound packages is 70 MiB. Need to download 0 B. After this operation 311 MiB will be used (install 311 MiB, remove 0 B). [ 1/16] cppcheck-0:2.14.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/16] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/16] clang-0:18.1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/16] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/16] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/16] clang-libs-0:18.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/16] llvm-libs-0:18.1.7-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/16] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/16] libedit-0:3.1-51.20240517cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/16] python3-0:3.13.0~b3-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/16] python3-libs-0:3.13.0~b3-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/16] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/16] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/16] mpdecimal-0:2.5.1-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/16] python-pip-wheel-0:24.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/16] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/18] Verify package files 100% | 69.0 B/s | 16.0 B | 00m00s [ 2/18] Prepare transaction 100% | 457.0 B/s | 16.0 B | 00m00s [ 3/18] Installing tzdata-0:2024a-8.fc4 100% | 30.8 MiB/s | 1.9 MiB | 00m00s [ 4/18] Installing python-pip-wheel-0:2 100% | 208.3 MiB/s | 1.2 MiB | 00m00s [ 5/18] Installing mpdecimal-0:2.5.1-9. 100% | 49.3 MiB/s | 202.0 KiB | 00m00s [ 6/18] Installing libb2-0:0.98.1-11.fc 100% | 8.5 MiB/s | 43.3 KiB | 00m00s [ 7/18] Installing expat-0:2.6.2-1.fc41 100% | 23.0 MiB/s | 282.9 KiB | 00m00s [ 8/18] Installing python3-libs-0:3.13. 100% | 228.2 MiB/s | 40.8 MiB | 00m00s [ 9/18] Installing python3-0:3.13.0~b3- 100% | 10.9 MiB/s | 33.6 KiB | 00m00s [10/18] Installing libedit-0:3.1-51.202 100% | 48.0 MiB/s | 245.6 KiB | 00m00s [11/18] Installing llvm-libs-0:18.1.7-1 100% | 406.7 MiB/s | 113.5 MiB | 00m00s [12/18] Installing clang-resource-files 100% | 391.6 KiB/s | 1.6 KiB | 00m00s [13/18] Installing clang-libs-0:18.1.7- 100% | 429.6 MiB/s | 107.8 MiB | 00m00s [14/18] Installing tinyxml2-0:9.0.0-4.f 100% | 34.2 MiB/s | 104.9 KiB | 00m00s [15/18] Installing pcre-0:8.45-1.fc40.6 100% | 106.3 MiB/s | 544.1 KiB | 00m00s [16/18] Installing cppcheck-0:2.14.2-1. 100% | 315.0 MiB/s | 10.1 MiB | 00m00s [17/18] Installing clang-0:18.1.7-1.fc4 100% | 96.1 MiB/s | 590.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [18/18] Installing ShellCheck-0:0.10.0- 100% | 24.6 MiB/s | 33.9 MiB | 00m01s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 16:07:06 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:07:07 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocknnf6phb0/rpm-list-mock-provides.txt" >>> 2024-07-03 16:07:08 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmocknnf6phb0/liburing-2.6-1.fc41.src.rpm" "/builddir/liburing-2.6-1.fc41.src.rpm" >>> 2024-07-03 16:07:09 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-07-03 16:07:10 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/liburing-2.6-1.fc41.src.rpm'\"" Updating / installing... liburing-2.6-1.fc41 ######################################## >>> 2024-07-03 16:07:11 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/liburing.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' && sh -c 'cd /builddir/build/SRPMS && eval mv -v *.src.rpm /builddir/liburing-2.6-1.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1715040000 Wrote: /builddir/build/SRPMS/liburing-2.6-1.fc41.src.rpm renamed 'liburing-2.6-1.fc41.src.rpm' -> '/builddir/liburing-2.6-1.fc41.src.rpm' >>> 2024-07-03 16:07:12 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/liburing-2.6-1.fc41.src.rpm" "/tmp/csmocknnf6phb0/liburing-2.6-1.fc41.src.rpm" >>> 2024-07-03 16:07:14 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmocknnf6phb0/liburing-2.6-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "gcc-c++-14.1.1-6.fc41.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Nothing to do. >>> 2024-07-03 16:07:15 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.7-1.fc41.x86_64" is already installed. Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 16:07:17 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:07:18 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocknnf6phb0/rpm-list-mock-provides.txt" >>> 2024-07-03 16:07:19 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.4.0-1.fc41 fedora 3.6 MiB Installing dependencies: boost-atomic x86_64 1.83.0-7.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-7.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-7.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 294.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 3.4 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 5.4 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 36.3 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 53.5 MiB/s | 273.8 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [7/7] Installing csdiff-0:3.4.0-1.fc41. 100% | 42.0 MiB/s | 3.7 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 16:07:20 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:07:22 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocknnf6phb0/rpm-list-mock-provides.txt" >>> 2024-07-03 16:07:23 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.7 scan.ini: analyzer-version-cppcheck = 2.14.2 scan.ini: analyzer-version-gcc = 14.1.1 >>> 2024-07-03 16:07:25 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.1.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-07-03 16:07:27 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41.src.rpm'" Updating / installing... liburing-2.6-1.fc41 ######################################## >>> 2024-07-03 16:07:28 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-07-03 16:07:29 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh + sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs '/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true' RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-07-03 16:07:30 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/liburing.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/liburing.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Start: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1715040000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.JcIAn5 + umask 022 + cd /builddir/build/BUILD/liburing-2.6-build + test -d /builddir/build/BUILD/liburing-2.6-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/liburing-2.6-build + /usr/bin/rm -rf /builddir/build/BUILD/liburing-2.6-build + /usr/bin/mkdir -p /builddir/build/BUILD/liburing-2.6-build + /usr/bin/mkdir -p /builddir/build/BUILD/liburing-2.6-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.011iQx + umask 022 + cd /builddir/build/BUILD/liburing-2.6-build + cd /builddir/build/BUILD/liburing-2.6-build + rm -rf liburing-2.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/liburing-2.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liburing-2.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-07-03 16:07:31 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-07-03 16:07:32 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/liburing.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/liburing.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1715040000 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vLZiCv + umask 022 + cd /builddir/build/BUILD/liburing-2.6-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd liburing-2.6 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + ./configure --prefix=/usr --libdir=//usr/lib64 --libdevdir=//usr/lib64 --mandir=/usr/share/man --includedir=/usr/include --use-libc prefix /usr includedir /usr/include libdir //usr/lib64 libdevdir //usr/lib64 relativelibdir mandir /usr/share/man datadir /usr/share libgcc_link_flag /usr/lib/gcc/x86_64-redhat-linux/14/libgcc.a stringop_overflow yes array_bounds yes __kernel_rwf_t yes __kernel_timespec yes open_how yes statx yes glibc_statx yes C++ no has_ucontext yes NVMe uring command support yes futex waitv support yes has_idtype_t yes nolibc no has_fanotify yes CC gcc CXX g++ + /usr/bin/make -O -j8 V=1 VERBOSE=1 make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "register.ol" -MMD -MP -MF "register.ol.d" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o register.ol register.c /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/register.c:117:20: warning: The left operand of '<' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/register.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "version.ol" -MMD -MP -MF "version.ol.d" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o version.ol version.c /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/version.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "syscall.ol" -MMD -MP -MF "syscall.ol.d" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o syscall.ol syscall.c /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/syscall.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "ffi.ol" -MMD -MP -MF "ffi.ol.d" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o ffi.ol ffi.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/ffi.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "register.os" -MMD -MP -MF "register.os.d" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o register.os register.c /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/register.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/register.c:117:20: warning: The left operand of '<' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "version.os" -MMD -MP -MF "version.os.d" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o version.os version.c /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/version.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "syscall.os" -MMD -MP -MF "syscall.os.d" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o syscall.os syscall.c /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/syscall.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "ffi.os" -MMD -MP -MF "ffi.os.d" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o ffi.os ffi.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/ffi.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "setup.os" -MMD -MP -MF "setup.os.d" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o setup.os setup.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:33: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:582:16: note: (1) entry to ‘io_uring_mlock_size’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:588:16: note: (2) calling ‘io_uring_mlock_size_params’ from ‘io_uring_mlock_size’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:532:16: note: (3) entry to ‘io_uring_mlock_size_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:551:15: note: (4) calling ‘io_uring_queue_init_params’ from ‘io_uring_mlock_size_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:400:5: note: (5) entry to ‘io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:405:15: note: (6) calling ‘io_uring_queue_init_try_nosqarr’ from ‘io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:361:12: note: (7) entry to ‘io_uring_queue_init_try_nosqarr’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:369:15: note: (8) calling ‘__io_uring_queue_init_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:291:5: note: (9) entry to ‘__io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:305:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:309:22: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:309:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:318:14: note: (13) inlined call to ‘__sys_io_uring_setup’ from ‘__io_uring_queue_init_params’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/syscall.h:37, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:5: <--[gcc] In function ‘__sys_io_uring_setup’, inlined from ‘__io_uring_queue_init_params’ at setup.c:318:7: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/arch/x86/syscall.h:56:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/arch/syscall-defs.h:74:22: note: in expansion of macro ‘__do_syscall2’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:319:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:328:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:328:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:329:23: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:329:23: note: (19) calling ‘io_uring_queue_mmap’ from ‘__io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:157:12: note: (20) entry to ‘io_uring_queue_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:161:16: note: (21) calling ‘io_uring_mmap’ from ‘io_uring_queue_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:98:12: note: (22) entry to ‘io_uring_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:119:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:122:14: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:122:12: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:125:32: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:128:20: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:129:31: note: (28) inlined call to ‘PTR_ERR’ from ‘io_uring_mmap’ <--[gcc] In function ‘PTR_ERR’, inlined from ‘io_uring_mmap’ at setup.c:129:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/syscall.h:28:16: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:143:17: note: (30) calling ‘io_uring_unmap_rings’ from ‘io_uring_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:62:13: note: (31) entry to ‘io_uring_unmap_rings’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:66:12: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:68:1: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:143:17: note: (34) returning to ‘io_uring_mmap’ from ‘io_uring_unmap_rings’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:161:16: note: (35) returning to ‘io_uring_queue_mmap’ from ‘io_uring_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:329:23: note: (36) returning to ‘__io_uring_queue_init_params’ from ‘io_uring_queue_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:369:15: note: (37) returning to ‘io_uring_queue_init_try_nosqarr’ from ‘__io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:372:12: note: (38) following ‘true’ branch... <--[gcc] cc1: note: (39) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:405:15: note: (40) returning to ‘io_uring_queue_init_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:551:15: note: (41) returning to ‘io_uring_mlock_size_params’ from ‘io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:552:12: note: (42) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:553:17: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:553:17: note: (44) calling ‘io_uring_queue_exit’ from ‘io_uring_mlock_size_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:424:13: note: (45) entry to ‘io_uring_queue_exit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:430:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:437:27: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:437:20: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:36: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:36: note: (50) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:33: note: (51) dereference of NULL ‘*(struct io_uring_sq *)ring.kring_entries’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "setup.ol" -MMD -MP -MF "setup.ol.d" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o setup.ol setup.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:33: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:582:16: note: (1) entry to ‘io_uring_mlock_size’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:588:16: note: (2) calling ‘io_uring_mlock_size_params’ from ‘io_uring_mlock_size’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:532:16: note: (3) entry to ‘io_uring_mlock_size_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:551:15: note: (4) inlined call to ‘io_uring_queue_init_params’ from ‘io_uring_mlock_size_params’ <--[gcc] In function ‘io_uring_queue_init_params’, inlined from ‘io_uring_mlock_size_params’ at setup.c:551:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:405:15: note: (5) calling ‘io_uring_queue_init_try_nosqarr’ from ‘io_uring_mlock_size_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:361:12: note: (6) entry to ‘io_uring_queue_init_try_nosqarr’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:369:15: note: (7) calling ‘__io_uring_queue_init_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:291:5: note: (8) entry to ‘__io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:305:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:309:22: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:309:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:318:14: note: (12) inlined call to ‘__sys_io_uring_setup’ from ‘__io_uring_queue_init_params’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/syscall.h:37, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:5: <--[gcc] In function ‘__sys_io_uring_setup’, inlined from ‘__io_uring_queue_init_params’ at setup.c:318:7: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/arch/x86/syscall.h:56:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/arch/syscall-defs.h:74:22: note: in expansion of macro ‘__do_syscall2’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:319:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:328:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:328:12: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:329:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:329:23: note: (18) calling ‘io_uring_queue_mmap’ from ‘__io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:157:12: note: (19) entry to ‘io_uring_queue_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:161:16: note: (20) calling ‘io_uring_mmap’ from ‘io_uring_queue_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:98:12: note: (21) entry to ‘io_uring_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:119:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:122:14: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:122:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:125:32: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:128:20: note: (26) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:129:31: note: (27) inlined call to ‘PTR_ERR’ from ‘io_uring_mmap’ <--[gcc] In function ‘PTR_ERR’, inlined from ‘io_uring_mmap’ at setup.c:129:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/syscall.h:28:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:143:17: note: (29) calling ‘io_uring_unmap_rings’ from ‘io_uring_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:62:13: note: (30) entry to ‘io_uring_unmap_rings’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:66:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:68:1: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:143:17: note: (33) returning to ‘io_uring_mmap’ from ‘io_uring_unmap_rings’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:161:16: note: (34) returning to ‘io_uring_queue_mmap’ from ‘io_uring_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:329:23: note: (35) returning to ‘__io_uring_queue_init_params’ from ‘io_uring_queue_mmap’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:369:15: note: (36) returning to ‘io_uring_queue_init_try_nosqarr’ from ‘__io_uring_queue_init_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:372:12: note: (37) following ‘true’ branch... <--[gcc] cc1: note: (38) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:551:15: note: (39) inlined call to ‘io_uring_queue_init_params’ from ‘io_uring_mlock_size_params’ <--[gcc] In function ‘io_uring_queue_init_params’, inlined from ‘io_uring_mlock_size_params’ at setup.c:551:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:405:15: note: (40) returning to ‘io_uring_mlock_size_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c: In function ‘io_uring_queue_exit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:552:12: note: (41) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:553:17: note: (42) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:553:17: note: (43) calling ‘io_uring_queue_exit’ from ‘io_uring_mlock_size_params’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:424:13: note: (44) entry to ‘io_uring_queue_exit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:430:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:437:27: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:437:20: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:36: note: (48) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:36: note: (49) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/setup.c:439:33: note: (50) dereference of NULL ‘*(struct io_uring_sq *)ring.kring_entries’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "queue.os" -MMD -MP -MF "queue.os.d" -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o queue.os queue.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/queue.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -D_GNU_SOURCE -Iinclude/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT "queue.ol" -MMD -MP -MF "queue.ol.d" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -c -o queue.ol queue.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/queue.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' ar r liburing.a setup.ol queue.ol register.ol syscall.ol version.ol ranlib liburing.a make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' ar: creating liburing.a make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' ar r liburing-ffi.a setup.ol queue.ol register.ol syscall.ol version.ol ffi.ol ranlib liburing-ffi.a make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' ar: creating liburing-ffi.a make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -shared -Wl,--version-script=liburing.map -Wl,-soname=liburing.so.2 -o liburing.so.2.6 setup.os queue.os register.os syscall.os version.os -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -DLIBURING_INTERNAL -shared -Wl,--version-script=liburing-ffi.map -Wl,-soname=liburing-ffi.so.2 -o liburing-ffi.so.2.6 setup.os queue.os register.os syscall.os version.os ffi.os -Wl,-z,defs -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o helpers.o -c helpers.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c: In function ‘__t_create_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:84:9: warning: leak of ‘t_malloc(size)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:77:13: note: (1) entry to ‘__t_create_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:83:15: note: (2) calling ‘t_malloc’ from ‘__t_create_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:24:7: note: (3) entry to ‘t_malloc’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:27:15: note: (4) allocated here <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:6: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:28:9: note: (5) assuming ‘ret’ is non-NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:28:9: note: (6) following ‘true’ branch (when ‘ret’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:29:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:83:15: note: (8) returning to ‘__t_create_file’ from ‘t_malloc’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:84:9: note: (9) ‘t_malloc(size)’ leaks here; was allocated at (4) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c: In function ‘t_create_socket_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:186:15: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:183:17: note: (1) socket created here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:183:17: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:184:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:186:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:186:15: note: (5) leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:210:20: warning: leak of file descriptor ‘*fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:183:17: note: (1) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:184:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:186:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:186:17: note: (4) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:187:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:193:13: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:194:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:197:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:205:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:210:12: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:210:12: note: (11) following ‘true’ branch (when ‘stream != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:210:23: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.c:210:20: note: (13) ‘*fd’ leaks here <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o a0908ae19763.t a0908ae19763.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a0908ae19763.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o 917257daa0fe.t 917257daa0fe.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/917257daa0fe.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o 7ad0e4b2f83c.t 7ad0e4b2f83c.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:5: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘main’ at 7ad0e4b2f83c.c:53:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:33:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:43:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:46:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:47:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:52:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:52:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:52:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:52:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:53:9: note: (13) inlined call to ‘io_uring_prep_nop’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘main’ at 7ad0e4b2f83c.c:53:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:573:2, inlined from ‘main’ at 7ad0e4b2f83c.c:74:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:33:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:43:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:46:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:47:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:52:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:52:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:52:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:52:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:55:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:61:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:64:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:68:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:73:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:73:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:73:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:73:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/7ad0e4b2f83c.c:74:9: note: (24) inlined call to ‘io_uring_prep_timeout’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:573:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_timeout’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:573:2, inlined from ‘main’ at 7ad0e4b2f83c.c:74:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o 8a9973408177.t 8a9973408177.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/8a9973408177.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o a4c0b3decb33.t a4c0b3decb33.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c: In function ‘sig_int’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:170:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:173:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:175:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:177:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:177:9: note: (4) registering ‘sig_int’ as signal handler <--[gcc] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:168:13: note: (6) entry to ‘sig_int’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:170:9: note: (7) call to ‘exit’ from within signal handler <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/a4c0b3decb33.c:170:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o 232c93d07b74.t 232c93d07b74.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c: In function ‘rcv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:94:15: warning: ‘listen’ on possibly invalid file descriptor ‘s0’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:66:12: note: (1) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:67:26: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:69:22: note: (3) when ‘socket’ fails <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:12: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:71:17: note: (4) following ‘true’ branch (when ‘res != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:72:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:73:17: note: (6) following ‘true’ branch (when ‘res != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:77:33: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:80:17: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:81:36: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:94:15: note: (10) ‘s0’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/232c93d07b74.c:148:19: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o accept-test.t accept-test.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept-test.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o b19062a56726.t b19062a56726.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/b19062a56726.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o 35fa71a030ca.t 35fa71a030ca.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c: In function ‘sig_int’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:315:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:318:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:320:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:322:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:322:9: note: (4) registering ‘sig_int’ as signal handler <--[gcc] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:313:13: note: (6) entry to ‘sig_int’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:315:9: note: (7) call to ‘exit’ from within signal handler <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/35fa71a030ca.c:315:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o accept-reuse.t accept-reuse.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept-reuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept-reuse.c:81:2: warning: Value stored to 'listen_fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept-reuse.c:117:2: warning: Value stored to 'connect_fd' is never read [deadcode.DeadStores] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o b5837bd5311d.t b5837bd5311d.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/b5837bd5311d.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o accept-link.t accept-link.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept-link.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o buf-ring-nommap.t buf-ring-nommap.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘main’ at buf-ring-nommap.c:84:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:20:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:38:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:41:13: note: (3) ...to here <--[gcc] cc1: note: (4) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:44:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:46:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:53:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:53:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:53:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:61:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:62:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:70:25: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:73:12: note: (13) following ‘false’ branch (when ‘br != 18446744073709551615’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:80:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:83:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at buf-ring-nommap.c:83:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:83:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at buf-ring-nommap.c:83:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-nommap.c:84:9: note: (22) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘main’ at buf-ring-nommap.c:84:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o buf-ring-put.t buf-ring-put.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring-put.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o ce593a6c480a.t ce593a6c480a.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at ce593a6c480a.c:94:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:37:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:48:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:54:19: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:55:12: note: (4) following ‘false’ branch (when ‘loop_fd != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:61:29: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:62:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:67:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:67:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:71:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:72:12: note: (10) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:74:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:74:17: note: (12) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:77:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:78:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:83:13: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:83:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:93:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at ce593a6c480a.c:93:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:93:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at ce593a6c480a.c:93:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ce593a6c480a.c:94:9: note: (25) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at ce593a6c480a.c:94:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o 500f9fbadef8.t 500f9fbadef8.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/500f9fbadef8.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o coredump.t coredump.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:16: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:40:7: warning: Dereference of null pointer (loaded from variable 'ptr') [core.NullDereference] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:40: error: nullPointer(CWE-476): Null pointer dereference: ptr <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at coredump.c:35:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:19:13: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:27:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:27:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:32:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:34:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (7) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (8) following ‘false’ branch... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:34:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:35:9: note: (12) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (13) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at coredump.c:35:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (14) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:40:14: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:19:13: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:27:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:27:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:32:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:34:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (7) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:34:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/coredump.c:40:14: note: (12) dereference of NULL ‘0’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o connect-rep.t connect-rep.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:20: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:669:2, inlined from ‘test_connect’ at connect-rep.c:116:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c: In function ‘test_connect’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:184:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:188:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:191:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:191:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:139:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:146:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:149:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:150:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:155:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:155:16: note: (10) calling ‘init_test_server’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:25:12: note: (11) entry to ‘init_test_server’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:31:14: note: (12) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:32:12: note: (13) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:37:31: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:155:16: note: (15) returning to ‘test’ from ‘init_test_server’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:156:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:159:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:159:20: note: (18) calling ‘init_test_client’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:57:12: note: (19) entry to ‘init_test_client’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:63:20: note: (20) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:64:12: note: (21) following ‘false’ branch (when ‘clientfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:69:32: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:159:20: note: (23) returning to ‘test’ from ‘init_test_client’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:160:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:166:12: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:166:12: note: (26) following ‘false’ branch... <--[gcc] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:169:23: note: (28) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:170:23: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:170:23: note: (30) calling ‘test_connect’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:108:12: note: (31) entry to ‘test_connect’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:115:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_connect’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_connect’ at connect-rep.c:115:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) calling ‘_io_uring_get_sqe’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_connect’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (34) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:115:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test_connect’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_connect’ at connect-rep.c:115:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) returning to ‘test_connect’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c: In function ‘test_connect’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect-rep.c:116:9: note: (39) inlined call to ‘io_uring_prep_connect’ from ‘test_connect’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:669:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_connect’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:669:2, inlined from ‘test_connect’ at connect-rep.c:116:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (41) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o cq-full.t cq-full.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/cq-full.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o close-opath.t close-opath.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/close-opath.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o cq-peek-batch.t cq-peek-batch.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/cq-peek-batch.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o across-fork.t across-fork.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/across-fork.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o cq-size.t cq-size.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/cq-size.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o cq-ready.t cq-ready.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/cq-ready.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o d77a67ed5f27.t d77a67ed5f27.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c: In function ‘sig_alrm’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:13:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:16:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:24:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:27:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:27:9: note: (4) registering ‘sig_alrm’ as signal handler <--[gcc] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:10:13: note: (6) entry to ‘sig_alrm’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:13:9: note: (7) call to ‘exit’ from within signal handler <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d77a67ed5f27.c:13:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o d4ae271dfaae.t d4ae271dfaae.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/d4ae271dfaae.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o double-poll-crash.t double-poll-crash.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/double-poll-crash.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/double-poll-crash.c:139:3: warning: Value stored to 'res' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/double-poll-crash.c:147:3: warning: Value stored to 'res' is never read [deadcode.DeadStores] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o connect.t connect.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/connect.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o drop-submit.t drop-submit.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/drop-submit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o defer.t defer.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o defer-tw-timeout.t defer-tw-timeout.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:17: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_file’ at defer-tw-timeout.c:117:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c: In function ‘test_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:146:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:153:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:156:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:156:12: note: (4) following ‘true’ branch (when ‘argc > 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:157:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:159:15: note: (6) calling ‘test_file’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:83:12: note: (7) entry to ‘test_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:101:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:108:12: note: (9) ...to here <--[gcc] cc1: note: (10) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:116:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_file’ at defer-tw-timeout.c:116:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:116:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_file’ at defer-tw-timeout.c:116:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test_file’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c: In function ‘test_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-tw-timeout.c:117:9: note: (19) inlined call to ‘io_uring_prep_read’ from ‘test_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_file’ at defer-tw-timeout.c:117:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o buf-ring.t buf-ring.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:349: error: memleak(CWE-401): Memory leak: buffers <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test_mixed_reg’ at buf-ring.c:82:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c: In function ‘test_mixed_reg’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:400:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:406:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:409:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:411:30: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:412:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:413:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:417:21: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:417:20: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:420:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:421:20: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:426:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:427:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:432:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:432:23: note: (14) calling ‘test_mixed_reg’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:64:12: note: (15) entry to ‘test_mixed_reg’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:74:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:76:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:76:17: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:80:16: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:81:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg’ at buf-ring.c:81:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘test_mixed_reg’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_mixed_reg’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1417:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1419:27: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:81:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg’ at buf-ring.c:81:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) returning to ‘test_mixed_reg’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c: In function ‘test_mixed_reg’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:82:9: note: (29) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test_mixed_reg’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test_mixed_reg’ at buf-ring.c:82:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test_mixed_reg2’ at buf-ring.c:45:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c: In function ‘test_mixed_reg2’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:400:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:406:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:409:20: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:411:30: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:412:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:413:20: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:417:21: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:417:20: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:420:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:421:20: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:426:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:427:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:432:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:433:20: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:438:23: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:438:23: note: (16) calling ‘test_mixed_reg2’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:21:12: note: (17) entry to ‘test_mixed_reg2’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:31:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:33:17: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:33:17: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:36:14: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:37:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:43:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:44:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg2’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg2’ at buf-ring.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘test_mixed_reg2’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_mixed_reg2’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:44:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg2’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg2’ at buf-ring.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (30) returning to ‘test_mixed_reg2’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c: In function ‘test_mixed_reg2’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:45:9: note: (31) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test_mixed_reg2’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932:9: note: (32) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test_mixed_reg2’ at buf-ring.c:45:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (33) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/buf-ring.c:349:10: warning: Potential leak of memory pointed to by 'buffers' [unix.Malloc] <--[clang] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o empty-eownerdead.t empty-eownerdead.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/empty-eownerdead.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o eeed8b54e0df.t eeed8b54e0df.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eeed8b54e0df.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o eploop.t eploop.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:535:2, inlined from ‘main’ at eploop.c:49:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:17:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:28:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:29:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:34:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:35:12: note: (6) following ‘false’ branch (when ‘epollfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:40:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:43:12: note: (8) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:48:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:48:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:49:9: note: (17) inlined call to ‘io_uring_prep_poll_multishot’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:535:9: note: (18) inlined call to ‘io_uring_prep_poll_add’ from ‘io_uring_prep_poll_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:535:2, inlined from ‘main’ at eploop.c:49:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (20) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:54:24: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:17:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:28:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:29:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:34:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:35:12: note: (6) following ‘false’ branch (when ‘epollfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:40:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:43:12: note: (8) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:48:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:48:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:53:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:53:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:53:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:53:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eploop.c:54:24: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o eventfd-reg.t eventfd-reg.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-reg.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o eventfd.t eventfd.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at eventfd.c:57:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:34:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:35:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:39:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:39:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:44:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:45:12: note: (8) following ‘false’ branch (when ‘evfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:50:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:51:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:56:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:56:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:57:9: note: (19) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at eventfd.c:57:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at eventfd.c:62:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:34:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:35:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:39:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:39:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:44:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:45:12: note: (8) following ‘false’ branch (when ‘evfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:50:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:51:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:56:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:56:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:61:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:61:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:62:9: note: (26) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at eventfd.c:62:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘main’ at eventfd.c:73:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:34:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:35:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:39:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:39:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:44:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:45:12: note: (8) following ‘false’ branch (when ‘evfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:50:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:51:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:56:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:56:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:61:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:61:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:67:12: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:72:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:72:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (31) following ‘false’ branch... <--[gcc] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:72:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:72:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd.c:73:9: note: (35) inlined call to ‘io_uring_prep_nop’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (36) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘main’ at eventfd.c:73:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (37) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o eventfd-disable.t eventfd-disable.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘test’ at eventfd-disable.c:65:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:157:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:161:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:164:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:164:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:18:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:31:12: note: (6) following ‘false’ branch (when ‘defer == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:35:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:36:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:41:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:42:12: note: (10) following ‘false’ branch (when ‘evfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:47:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:48:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:53:14: note: (13) inlined call to ‘io_uring_cq_eventfd_enabled’ from ‘test’ <--[gcc] In function ‘io_uring_cq_eventfd_enabled’, inlined from ‘test’ at eventfd-disable.c:53:7: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1286:22: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:59:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:64:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:64:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:65:9: note: (24) inlined call to ‘io_uring_prep_readv’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘test’ at eventfd-disable.c:65:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test’ at eventfd-disable.c:76:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:157:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:161:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:164:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:164:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:18:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:31:12: note: (6) following ‘false’ branch (when ‘defer == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:35:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:36:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:41:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:42:12: note: (10) following ‘false’ branch (when ‘evfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:47:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:48:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:53:14: note: (13) inlined call to ‘io_uring_cq_eventfd_enabled’ from ‘test’ <--[gcc] In function ‘io_uring_cq_eventfd_enabled’, inlined from ‘test’ at eventfd-disable.c:53:7: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1286:22: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:59:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:64:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:64:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:69:12: note: (24) following ‘false’ branch... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:74:23: note: (26) following ‘true’ branch (when ‘i != 63’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:75:23: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (31) following ‘false’ branch... <--[gcc] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:75:23: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:76:17: note: (35) inlined call to ‘io_uring_prep_nop’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (36) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test’ at eventfd-disable.c:76:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (37) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test’ at eventfd-disable.c:114:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:157:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:161:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:164:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:164:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:18:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:31:12: note: (6) following ‘false’ branch (when ‘defer == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:35:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:36:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:41:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:42:12: note: (10) following ‘false’ branch (when ‘evfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:47:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:48:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:53:14: note: (13) inlined call to ‘io_uring_cq_eventfd_enabled’ from ‘test’ <--[gcc] In function ‘io_uring_cq_eventfd_enabled’, inlined from ‘test’ at eventfd-disable.c:53:7: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1286:22: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:59:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:64:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:64:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:69:12: note: (24) following ‘false’ branch... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:74:23: note: (26) following ‘true’ branch (when ‘i != 63’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:75:23: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:75:23: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:81:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:86:23: note: (37) following ‘true’ branch (when ‘i != 63’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:87:23: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:87:23: note: (39) calling ‘io_uring_wait_cqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (40) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (41) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (42) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (43) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (45) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (47) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:87:23: note: (50) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:88:20: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:93:28: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:108:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:113:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:113:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (58) following ‘false’ branch... <--[gcc] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:113:15: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:113:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (61) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-disable.c:114:9: note: (62) inlined call to ‘io_uring_prep_nop’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (63) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test’ at eventfd-disable.c:114:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (64) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o eventfd-ring.t eventfd-ring.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at eventfd-ring.c:68:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:28:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:29:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:33:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:33:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:37:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:38:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:43:17: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:44:12: note: (10) following ‘false’ branch (when ‘evfd1 >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:49:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:50:12: note: (12) following ‘false’ branch (when ‘evfd2 >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:55:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:56:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:61:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:62:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:67:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:67:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:68:9: note: (25) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at eventfd-ring.c:68:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(&ring1)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at eventfd-ring.c:72:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:28:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:29:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:33:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:33:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:37:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:38:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:43:17: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:44:12: note: (10) following ‘false’ branch (when ‘evfd1 >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:49:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:50:12: note: (12) following ‘false’ branch (when ‘evfd2 >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:55:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:56:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:61:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:62:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:67:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:67:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:71:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (28) following ‘false’ branch... <--[gcc] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:71:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:72:9: note: (32) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at eventfd-ring.c:72:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(&ring2)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘main’ at eventfd-ring.c:88:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:28:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:29:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:33:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:33:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:37:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:38:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:43:17: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:44:12: note: (10) following ‘false’ branch (when ‘evfd1 >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:49:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:50:12: note: (12) following ‘false’ branch (when ‘evfd2 >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:55:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:56:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:61:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:62:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:67:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:67:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:71:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:71:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:76:12: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:81:15: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:82:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:87:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:87:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘false’ branch... <--[gcc] cc1: note: (40) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:87:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:87:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/eventfd-ring.c:88:9: note: (43) inlined call to ‘io_uring_prep_nop’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (44) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘main’ at eventfd-ring.c:88:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (45) dereference of NULL ‘_io_uring_get_sqe(&ring1)’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o exec-target.t exec-target.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o evloop.t evloop.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:535:2, inlined from ‘main’ at evloop.c:48:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:19:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:29:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:30:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:35:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:36:12: note: (6) following ‘false’ branch (when ‘efd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:41:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:42:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:47:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:47:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:48:9: note: (17) inlined call to ‘io_uring_prep_poll_multishot’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:535:9: note: (18) inlined call to ‘io_uring_prep_poll_add’ from ‘io_uring_prep_poll_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:535:2, inlined from ‘main’ at evloop.c:48:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (20) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:53:24: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:19:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:29:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:30:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:35:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:36:12: note: (6) following ‘false’ branch (when ‘efd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:41:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:42:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:47:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:47:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:52:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:52:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:52:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:52:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/evloop.c:53:24: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fc2a85cb02ef.t fc2a85cb02ef.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c: In function ‘inject_fault’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:51:3: warning: leak of file descriptor ‘open("/proc/thread-self/fail-nth", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:47:8: note: (1) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:48:6: note: (2) assuming ‘open("/proc/thread-self/fail-nth", 2)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:48:6: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:51:3: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:51:3: note: (5) ‘open("/proc/thread-self/fail-nth", 2)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:54:10: warning: leak of file descriptor ‘<return-value>’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:84:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:86:6: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:88:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:89:7: note: (4) calling ‘setup_fault’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:57:12: note: (5) entry to ‘setup_fault’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:73:17: note: (6) following ‘true’ branch (when ‘i != 7’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:74:10: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:89:7: note: (8) returning to ‘main’ from ‘setup_fault’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:89:6: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:94:26: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:125:9: note: (11) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:126:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:128:29: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:129:3: note: (14) calling ‘inject_fault’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:44:12: note: (15) entry to ‘inject_fault’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:47:8: note: (16) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:48:6: note: (17) assuming ‘open("/proc/thread-self/fail-nth", 2)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:48:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:51:3: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:52:6: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:54:10: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fc2a85cb02ef.c:54:10: note: (22) ‘<return-value>’ leaks here; was opened at (16) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o exit-no-cleanup.t exit-no-cleanup.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/exit-no-cleanup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o cq-overflow.t cq-overflow.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/cq-overflow.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o defer-taskrun.t defer-taskrun.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_exec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:342:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:342:12: note: (4) following ‘true’ branch (when ‘argc == 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:348:26: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:351:12: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (8) calling ‘test_thread_shutdown’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:137:12: note: (9) entry to ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (18) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (19) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (20) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (21) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (22) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (24) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (26) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (29) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:164:9: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (32) returning to ‘main’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:355:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:360:15: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:360:15: note: (35) calling ‘test_exec’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:169:12: note: (36) entry to ‘test_exec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (37) following ‘false’ branch (when ‘fork_pid >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:181:12: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:181:12: note: (39) following ‘false’ branch (when ‘fork_pid == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:192:15: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:194:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:197:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:197:12: note: (43) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:198:22: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:199:20: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:211:15: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] cc1: note: (47) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (48) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:212:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:212:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (50) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:214:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (51) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:214:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:215:9: note: (52) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (54) calling ‘_io_uring_get_sqe’ from ‘test_exec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_exec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (55) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (56) following ‘false’ branch... <--[gcc] cc1: note: (57) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:215:9: note: (58) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (59) returning to ‘test_exec’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_exec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:215:9: note: (60) inlined call to ‘io_uring_prep_read’ from ‘test_exec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (61) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (62) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:342:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:351:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (6) calling ‘test_thread_shutdown’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:137:12: note: (7) entry to ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:148:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:151:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:151:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:153:18: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:154:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:156:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:15: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (22) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (23) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (24) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (25) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (26) following ‘true’ branch (when ‘available == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1372:18: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (28) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (30) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:55: note: (33) following ‘false’ branch... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (35) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (36) returning to ‘main’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:355:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:360:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:361:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:366:15: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:366:15: note: (41) calling ‘test_eventfd’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:68:12: note: (42) entry to ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:77:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:80:15: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:83:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:85:15: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:86:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:89:16: note: (48) inlined call to ‘can_read’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:89:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:37:16: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:89:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:90:16: note: (51) inlined call to ‘can_read’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:90:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:37:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:90:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:92:9: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (58) following ‘false’ branch... <--[gcc] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:92:9: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (61) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:92:9: note: (62) inlined call to ‘io_uring_prep_poll_add’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (63) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (64) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:342:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:351:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (6) calling ‘test_thread_shutdown’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:137:12: note: (7) entry to ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:148:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:151:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:151:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:153:18: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:154:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:156:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:15: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (22) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (23) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (24) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (25) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (26) following ‘true’ branch (when ‘available == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1372:18: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (28) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (30) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:55: note: (33) following ‘false’ branch... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (35) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (36) returning to ‘main’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:355:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:360:15: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:361:12: note: (39) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:366:15: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:366:15: note: (41) calling ‘test_eventfd’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:68:12: note: (42) entry to ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:77:12: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:80:15: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:83:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:85:15: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:86:12: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:89:16: note: (48) inlined call to ‘can_read’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:89:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:37:16: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (50) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:89:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:90:16: note: (51) inlined call to ‘can_read’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:90:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:37:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:90:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:92:9: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (58) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (59) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:92:9: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (61) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (62) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:94:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:96:9: note: (63) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (65) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (66) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (67) following ‘false’ branch... <--[gcc] cc1: note: (68) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:96:9: note: (69) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (70) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:96:9: note: (71) inlined call to ‘io_uring_prep_nop’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (72) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (73) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c: In function ‘test_exec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:63:24: warning: leak of file descriptor ‘fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:342:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:342:12: note: (4) following ‘true’ branch (when ‘argc == 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:348:26: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:351:12: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (8) calling ‘test_thread_shutdown’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:137:12: note: (9) entry to ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/testmake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:15: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (18) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (19) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (20) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (21) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (22) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (24) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (26) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:15: note: (29) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:162:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:164:9: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:354:15: note: (32) returning to ‘main’ from ‘test_thread_shutdown’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:355:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:360:15: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:360:15: note: (35) calling ‘test_exec’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:169:12: note: (36) entry to ‘test_exec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:12: note: (37) following ‘false’ branch (when ‘fork_pid >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:181:12: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:181:12: note: (39) following ‘false’ branch (when ‘fork_pid == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:192:15: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:194:12: note: (41) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:197:12: note: (42) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:197:12: note: (43) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:198:22: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:198:22: note: (45) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:199:20: note: (46) assuming ‘open(filename, 16384)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:199:20: note: (47) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:211:15: note: (48) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:63:24: note: (49) ‘fd’ leaks here; was opened at (45) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fallocate.t fallocate.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fallocate.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o files-exit-hang-poll.t files-exit-hang-poll.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:17: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘add_poll’ at files-exit-hang-poll.c:29:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘add_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:24:13: note: (1) entry to ‘add_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:28:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:28:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘add_poll’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘add_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:29:9: note: (9) inlined call to ‘io_uring_prep_poll_add’ from ‘add_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘add_poll’ at files-exit-hang-poll.c:29:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘add_accept’ at files-exit-hang-poll.c:38:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘add_accept’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:33:13: note: (1) entry to ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:37:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_accept’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:37:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘add_accept’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:38:9: note: (9) inlined call to ‘io_uring_prep_accept’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘add_accept’ at files-exit-hang-poll.c:38:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:56:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:59:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:66:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:69:26: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:69:26: note: (4) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:70:12: note: (5) following ‘false’ branch (when ‘sock_listen_fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:75:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:81:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:86:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:86:13: note: (9) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:86:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:91:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:91:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:94:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:94:9: note: (14) calling ‘add_poll’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:24:13: note: (15) entry to ‘add_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:28:15: note: (16) inlimake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' ned call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘add_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:28:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) returning to ‘add_poll’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:94:9: note: (23) returning to ‘main’ from ‘add_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:95:9: note: (24) calling ‘add_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:33:13: note: (25) entry to ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:37:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:37:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (32) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:95:9: note: (33) returning to ‘main’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:98:12: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:103:9: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:103:9: note: (36) registering ‘alarm_sig’ as signal handler <--[gcc] cc1: note: (37) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:54:13: note: (38) entry to ‘alarm_sig’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:56:9: note: (39) call to ‘exit’ from within signal handler <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-poll.c:56:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o files-exit-hang-timeout.t files-exit-hang-timeout.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:17: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:573:2, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:36:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘add_timeout’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:31:13: note: (1) entry to ‘add_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:35:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_timeout’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:35:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘add_timeout’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘add_timeout’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:36:9: note: (9) inlined call to ‘io_uring_prep_timeout’ from ‘add_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:573:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_timeout’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:573:2, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:36:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘add_accept’ at files-exit-hang-timeout.c:45:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘add_accept’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:40:13: note: (1) entry to ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:44:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_accept’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:44:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘add_accept’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:45:9: note: (9) inlined call to ‘io_uring_prep_accept’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘add_accept’ at files-exit-hang-timeout.c:45:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:64:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:67:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:75:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:78:26: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:78:26: note: (4) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:79:12: note: (5) following ‘false’ branch (when ‘sock_listen_fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:84:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:106:13: note: (7) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:106:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:111:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:111:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:114:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:114:9: note: (12) calling ‘add_timeout’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:31:13: note: (13) entry to ‘add_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:35:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘add_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:35:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘add_timeout’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:114:9: note: (21) returning to ‘main’ from ‘add_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:115:9: note: (22) calling ‘add_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:40:13: note: (23) entry to ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:44:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:44:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (30) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c: In function ‘alarm_sig’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:115:9: note: (31) returning to ‘main’ from ‘add_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:118:12: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:123:9: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:123:9: note: (34) registering ‘alarm_sig’ as signal handler <--[gcc] cc1: note: (35) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:62:13: note: (36) entry to ‘alarm_sig’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:64:9: note: (37) call to ‘exit’ from within signal handler <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/files-exit-hang-timeout.c:64:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o file-update.t file-update.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fadvise.t fadvise.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fixed-buf-iter.t fixed-buf-iter.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fixed-buf-merge.t fixed-buf-merge.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fixed-link.t fixed-link.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-update.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fadvise.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:42:17: warning: use of possibly-NULL ‘malloc(4096)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:93:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:98:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:101:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:102:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:104:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:104:17: note: (6) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:107:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:107:15: note: (8) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:20:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:28:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:33:18: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:34:12: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:39:23: note: (14) following ‘true’ branch (when ‘i == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:40:35: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:40:35: note: (16) this call could return NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-iter.c:42:17: note: (17) argument 1 (‘malloc(4096)’) from (16) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:466:2, inlined from ‘main’ at fixed-buf-merge.c:63:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:17:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:29:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:34:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:38:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:43:28: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:44:12: note: (6) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:50:22: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:54:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:60:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:61:23: note: (10) following ‘true’ branch (when ‘i != 3’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:62:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-buf-merge.c:62:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:62:23: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-buf-merge.c:62:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:63:17: note: (19) inlined call to ‘io_uring_prep_read_fixed’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:466:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_fixed’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:466:2, inlined from ‘main’ at fixed-buf-merge.c:63:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-buf-merge.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:10: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:466:2, inlined from ‘main’ at fixed-link.c:52:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:15:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:21:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:24:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:25:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:30:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:30:12: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:36:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:37:38: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:42:12: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:47:23: note: (12) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:48:44: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-link.c:48:30: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘false’ branch... <--[gcc] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:48:44: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-link.c:48:30: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:52:17: note: (21) inlined call to ‘io_uring_prep_read_fixed’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:466:9: note: (22) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_fixed’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:466:2, inlined from ‘main’ at fixed-link.c:52:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (23) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:42:12: warning: leak of file descriptor ‘open("/dev/zero", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:21:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:24:14: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:24:14: note: (3) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:25:12: note: (4) assuming ‘open("/dev/zero", 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:25:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:30:13: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:30:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:36:23: note: (9) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:37:38: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-link.c:42:12: note: (11) ‘open("/dev/zero", 0)’ leaks here; was opened at (3) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o file-verify.t file-verify.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fd-pass.t fd-pass.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o accept.t accept.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:394:2: warning: Value stored to 'i' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:519:4: warning: Value stored to 'this' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c: In function ‘fill_pattern’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:526:20: warning: leak of file descriptor ‘open(fname, 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:537:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:555:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:560:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:560:13: note: (4) calling ‘fill_pattern’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:499:12: note: (5) entry to ‘fill_pattern’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:506:14: note: (6) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:507:12: note: (7) assuming ‘open(fname, 1)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:507:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:513:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:514:16: note: (10) following ‘true’ branch (when ‘left != 0’)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:521:31: note: (12) following ‘true’ branch (when ‘i != 1024’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:522:30: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-verify.c:526:20: note: (14) ‘open(fname, 1)’ leaks here; was opened at (6) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at fd-pass.c:94:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:194:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:199:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:202:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:205:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:53:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:61:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:65:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:66:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:71:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:72:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:78:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:79:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:83:12: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:83:12: note: (14) following ‘false’ branch (when ‘target_fd != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:93:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (19) following ‘false’ branch... <--[gcc] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:93:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:94:9: note: (23) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:702:9: note: (24) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at fd-pass.c:94:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&sring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘verify_fixed_read’ at fd-pass.c:30:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c: In function ‘verify_fixed_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:194:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:199:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:202:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:205:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:53:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:61:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:65:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:66:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:71:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:72:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:78:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:79:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:83:12: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:83:12: note: (14) following ‘false’ branch (when ‘target_fd != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:93:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘verify_fixed_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:93:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c: In function ‘verify_fixed_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:96:15: note: (23) calling ‘io_uring_wait_cqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (24) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (25) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (26) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (27) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (29) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (31) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (32) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:96:15: note: (34) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:97:12: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:101:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:101:12: note: (37) following ‘false’ branch... <--[gcc] cc1: note: (38) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:108:13: note: (39) calling ‘verify_fixed_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:22:12: note: (40) entry to ‘verify_fixed_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:29:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘verify_fixed_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘verify_fixed_read’ at fd-pass.c:29:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) calling ‘_io_uring_get_sqe’ from ‘verify_fixed_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘verify_fixed_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (43) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (44) following ‘false’ branch... <--[gcc] cc1: note: (45) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:29:15: note: (46) inlined call to ‘io_uring_get_sqe’ from ‘verify_fixed_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘verify_fixed_read’ at fd-pass.c:29:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (47) returning to ‘verify_fixed_read’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c: In function ‘verify_fixed_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:30:9: note: (48) inlined call to ‘io_uring_prep_read’ from ‘verify_fixed_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (49) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘verify_fixed_read’ at fd-pass.c:30:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (50) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:44:14: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:208:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:214:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:220:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-pass.c:226:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:23: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘queue_accept_conn’ at accept.c:127:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_accept_conn’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:749:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:753:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (4) calling ‘test_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:586:12: note: (5) entry to ‘test_accept’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:9: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:596:9: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (8) calling ‘test’ from ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:375:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:177:12: note: (13) entry to ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:182:14: note: (14) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:187:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:188:15: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:189:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:196:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:199:9: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (23) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:201:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:203:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:382:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:384:29: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (31) calling ‘test_loop’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:263:12: note: (32) entry to ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:274:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:278:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:23: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:206:12: note: (40) entry to ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:211:14: note: (41) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:215:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:217:25: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:218:9: note: (44) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:220:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:222:9: note: (46) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:224:15: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:225:9: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:227:17: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:228:9: note: (50) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:230:15: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:232:9: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:234:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:283:20: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:34: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:287:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:111:13: note: (60) entry to ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:116:40: note: (61) following ‘false’ branch... <--[gcc] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:119:12: note: (63) following ‘false’ branch... <--[gcc] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (67) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_accept_conn’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (70) following ‘false’ branch... <--[gcc] cc1: note: (71) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_accept_conn’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:126:20: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:127:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘queue_accept_conn’ at accept.c:127:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (78) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘io_uring_prep_multishot_accept’ at ../src/include/liburing.h:621:2, inlined from ‘queue_accept_multishot’ at accept.c:104:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_accept_multishot’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:749:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:753:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (4) calling ‘test_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:586:12: note: (5) entry to ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:596:9: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (8) calling ‘test’ from ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:375:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:177:12: note: (13) entry to ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:182:14: note: (14) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:187:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:188:15: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:189:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:196:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:199:9: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (23) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:201:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:203:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:382:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:384:29: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (31) calling ‘test_loop’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:263:12: note: (32) entry to ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:274:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:278:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:23: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:206:12: note: (40) entry to ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:211:14: note: (41) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:215:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:217:25: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:218:9: note: (44) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:220:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:222:9: note: (46) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:224:15: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:225:9: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:227:17: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:228:9: note: (50) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:230:15: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:232:9: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:234:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:283:20: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:34: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:287:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:111:13: note: (60) entry to ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:116:40: note: (61) following ‘false’ branch... <--[gcc] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:119:12: note: (63) following ‘false’ branch... <--[gcc] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (67) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_accept_multishot’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (71) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_accept_multishot’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:126:20: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:127:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘queue_accept_conn’ at accept.c:127:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_accept_multishot’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:133:17: note: (78) following ‘true’ branch... <--[gcc] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (80) following ‘false’ branch (when ‘count == 0’)... <--[gcc] cc1: note: (81) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (82) returning to ‘test_loop’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:23: note: (83) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (84) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (85) following ‘false’ branch (when ‘fixed == 0’)... <--[gcc] cc1: note: (86) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (87) calling ‘accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:137:12: note: (88) entry to ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:144:23: note: (89) calling ‘io_uring_wait_cqe’ from ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (90) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (91) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (92) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (93) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (94) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (95) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (96) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (97) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (99) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:144:23: note: (100) returning to ‘accept_conn’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:145:17: note: (101) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:146:23: note: (102) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:150:12: note: (103) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:151:26: note: (104) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:151:20: note: (105) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:152:37: note: (106) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:153:25: note: (107) calling ‘queue_accept_multishot’ from ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:93:13: note: (108) entry to ‘queue_accept_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:96:36: note: (109) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_multishot’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_multishot’ at accept.c:96:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (110) calling ‘_io_uring_get_sqe’ from ‘queue_accept_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_accept_multishot’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (111) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (112) following ‘false’ branch... <--[gcc] cc1: note: (113) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:96:36: note: (114) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_multishot’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_multishot’ at accept.c:96:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (115) returning to ‘queue_accept_multishot’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_accept_multishot’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:99:12: note: (116) following ‘false’ branch (when ‘fixed == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:104:17: note: (117) inlined call to ‘io_uring_prep_multishot_accept’ from ‘queue_accept_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:621:9: note: (118) inlined call to ‘io_uring_prep_accept’ from ‘io_uring_prep_multishot_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (119) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘io_uring_prep_multishot_accept’ at ../src/include/liburing.h:621:2, inlined from ‘queue_accept_multishot’ at accept.c:104:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (120) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (121) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘queue_send’ at accept.c:73:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:749:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:753:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (4) calling ‘test_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:586:12: note: (5) entry to ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:596:9: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (8) calling ‘test’ from ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:375:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:177:12: note: (13) entry to ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:182:14: note: (14) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:187:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:188:15: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:189:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:196:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:199:9: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (23) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:201:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:203:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:382:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:384:29: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (31) calling ‘test_loop’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:263:12: note: (32) entry to ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:274:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:278:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:23: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:206:12: note: (40) entry to ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:211:14: note: (41) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:215:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:217:25: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:218:9: note: (44) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:220:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:222:9: note: (46) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:224:15: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:225:9: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:227:17: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:228:9: note: (50) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:230:15: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:232:9: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:234:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:283:20: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:34: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:287:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:111:13: note: (60) entry to ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:116:40: note: (61) following ‘false’ branch... <--[gcc] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:119:12: note: (63) following ‘false’ branch... <--[gcc] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (67) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (71) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:126:20: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:127:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘queue_accept_conn’ at accept.c:127:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:133:17: note: (78) following ‘true’ branch... <--[gcc] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (80) following ‘false’ branch (when ‘count == 0’)... <--[gcc] cc1: note: (81) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (82) returning to ‘test_loop’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:23: note: (83) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (84) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (85) following ‘false’ branch (when ‘fixed == 0’)... <--[gcc] cc1: note: (86) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (87) calling ‘accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:137:12: note: (88) entry to ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:144:23: note: (89) calling ‘io_uring_wait_cqe’ from ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (90) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (91) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (92) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (93) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (94) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (95) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (96) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (97) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (99) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:144:23: note: (100) returning to ‘accept_conn’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:145:17: note: (101) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:146:23: note: (102) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:164:12: note: (103) following ‘false’ branch (when ‘fixed_idx < 0’)... <--[gcc] cc1: note: (104) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (105) returning to ‘test_loop’ from ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:292:20: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:305:27: note: (107) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:305:27: note: (108) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:314:27: note: (109) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:319:20: note: (110) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:34: note: (111) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:23: note: (112) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:335:12: note: (113) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:335:12: note: (114) following ‘false’ branch (when ‘multishot == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:343:9: note: (115) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:343:9: note: (116) calling ‘queue_send’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:63:13: note: (117) entry to ‘queue_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:72:15: note: (118) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (119) calling ‘_io_uring_get_sqe’ from ‘queue_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (120) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (121) following ‘false’ branch... <--[gcc] cc1: note: (122) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:72:15: note: (123) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (124) returning to ‘queue_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:73:9: note: (125) inlined call to ‘io_uring_prep_writev’ from ‘queue_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:474:9: note: (126) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘queue_send’ at accept.c:73:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (127) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘queue_recv’ at accept.c:87:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:749:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:753:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (4) calling ‘test_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:586:12: note: (5) entry to ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:596:9: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (8) calling ‘test’ from ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:375:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:177:12: note: (13) entry to ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:182:14: note: (14) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:187:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:188:15: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:189:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:196:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:199:9: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (23) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:201:9: note: (24) following ‘true’ branch (when ‘ret != make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fpos.t fpos.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fsnotify.t fsnotify.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fsync.t fsync.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fixed-reuse.t fixed-reuse.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:203:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:382:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:384:29: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:385:23: note: (31) calling ‘test_loop’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:263:12: note: (32) entry to ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:274:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:278:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:23: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:206:12: note: (40) entry to ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:211:14: note: (41) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:215:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:217:25: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:218:9: note: (44) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:220:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:222:9: note: (46) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:224:15: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:225:9: note: (48) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:227:17: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:228:9: note: (50) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:230:15: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:232:9: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:234:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:282:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:283:20: note: (55) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:281:34: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:287:12: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:111:13: note: (60) entry to ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:116:40: note: (61) following ‘false’ branch... <--[gcc] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:119:12: note: (63) following ‘false’ branch... <--[gcc] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (67) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (70) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (71) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:125:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:125:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:126:20: note: (74) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:127:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:599:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:599:2, inlined from ‘queue_accept_conn’ at accept.c:127:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:133:17: note: (78) following ‘true’ branch... <--[gcc] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:124:16: note: (80) following ‘false’ branch (when ‘count == 0’)... <--[gcc] cc1: note: (81) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:288:17: note: (82) returning to ‘test_loop’ from ‘queue_accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:23: note: (83) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (84) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (85) following ‘false’ branch (when ‘fixed == 0’)... <--[gcc] cc1: note: (86) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (87) calling ‘accept_conn’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:137:12: note: (88) entry to ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:144:23: note: (89) calling ‘io_uring_wait_cqe’ from ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (90) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (91) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (92) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (93) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (94) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (95) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (96) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (97) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (98) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (99) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:144:23: note: (100) returning to ‘accept_conn’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:145:17: note: (101) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:146:23: note: (102) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:164:12: note: (103) following ‘false’ branch (when ‘fixed_idx < 0’)... <--[gcc] cc1: note: (104) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:291:27: note: (105) returning to ‘test_loop’ from ‘accept_conn’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:292:20: note: (106) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:305:27: note: (107) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:305:27: note: (108) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:314:27: note: (109) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:319:20: note: (110) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:34: note: (111) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:290:23: note: (112) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:335:12: note: (113) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:335:12: note: (114) following ‘false’ branch (when ‘multishot == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:343:9: note: (115) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:343:9: note: (116) calling ‘queue_send’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:63:13: note: (117) entry to ‘queue_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:72:15: note: (118) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (119) calling ‘_io_uring_get_sqe’ from ‘queue_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (120) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (121) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (122) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:72:15: note: (123) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (124) returning to ‘queue_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:343:9: note: (125) returning to ‘test_loop’ from ‘queue_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:344:9: note: (126) calling ‘queue_recv’ from ‘test_loop’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:77:13: note: (127) entry to ‘queue_recv’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:86:15: note: (128) inlined call to ‘io_uring_get_sqe’ from ‘queue_recv’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_recv’ at accept.c:86:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (129) calling ‘_io_uring_get_sqe’ from ‘queue_recv’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (130) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (131) following ‘false’ branch... <--[gcc] cc1: note: (132) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:86:15: note: (133) inlined call to ‘io_uring_get_sqe’ from ‘queue_recv’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_recv’ at accept.c:86:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (134) returning to ‘queue_recv’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘queue_recv’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:87:9: note: (135) inlined call to ‘io_uring_prep_readv’ from ‘queue_recv’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (136) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘queue_recv’ at accept.c:87:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (137) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c: In function ‘start_accept_listen’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: warning: ‘listen’ on possibly invalid file descriptor ‘fd’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:749:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:753:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:756:15: note: (4) calling ‘test_accept’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:586:12: note: (5) entry to ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:596:9: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:597:15: note: (8) calling ‘test’ from ‘test_accept’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:375:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:380:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:177:12: note: (13) entry to ‘start_accept_listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:182:14: note: (14) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:187:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:188:15: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:189:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:193:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:196:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:199:9: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:200:15: note: (23) ‘fd’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/accept.c:303:4: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:14: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1414:37: warning: leak of file descriptor ‘open(".test_fpos_read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:225:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:230:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:233:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:234:12: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:239:33: note: (6) following ‘true’ branch (when ‘test != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:240:21: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:242:49: note: (8) following ‘false’ branch... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:246:25: note: (10) following ‘false’ branch (when ‘write == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:246:27: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:246:27: note: (12) calling ‘test_read’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:43:12: note: (13) entry to ‘test_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:58:9: note: (14) calling ‘create_file’ from ‘test_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:20:13: note: (15) entry to ‘create_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:28:27: note: (16) following ‘true’ branch (when ‘idx < size’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:30:28: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:28:27: note: (18) following ‘true’ branch (when ‘idx < size’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:30:28: note: (19) ...to here <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:12: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:34:9: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:36:15: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:40:9: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:41:1: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:58:9: note: (24) returning to ‘test_read’ from ‘create_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:59:14: note: (25) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:61:9: note: (26) assuming ‘open(".test_fpos_read", 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:61:9: note: (27) following ‘true’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:63:16: note: (29) following ‘false’ branch (when ‘done == 0’)... <--[gcc] cc1: note: (30) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:64:31: note: (31) following ‘true’ branch (when ‘i != 2048’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:65:31: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_read’ at fpos.c:65:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘test_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (36) following ‘false’ branch... <--[gcc] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fpos.c:65:31: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_read’ at fpos.c:65:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) returning to ‘test_read’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1414:37: note: (40) ‘open(".test_fpos_read", 0)’ leaks here; was opened at (25) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:6: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘main’ at fsnotify.c:83:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:19:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:30:12: note: (2) following ‘false’ branch (when ‘fan >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:40:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:43:20: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:60:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:60:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:64:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:64:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:70:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:71:12: note: (10) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:76:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:76:12: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:79:17: note: (13) ...to here <--[gcc] cc1: note: (14) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:82:23: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fsnotify.c:82:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (19) following ‘false’ branch... <--[gcc] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:82:23: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fsnotify.c:82:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsnotify.c:83:17: note: (23) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (24) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘main’ at fsnotify.c:83:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (25) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fsync.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at fixed-reuse.c:34:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:129:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:137:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:144:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:34:9: note: (19) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:702:9: note: (20) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at fixed-reuse.c:34:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at fixed-reuse.c:59:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:129:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:137:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:144:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:38:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (21) calling ‘io_uring_wait_cqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (22) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (29) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (32) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:44:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:48:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:48:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:58:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (40) following ‘false’ branch... <--[gcc] cc1: note: (41) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:58:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (43) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:59:9: note: (44) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:702:9: note: (45) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (46) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at fixed-reuse.c:59:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (47) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at fixed-reuse.c:64:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:129:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:137:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:144:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:38:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (21) calling ‘io_uring_wait_cqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (22) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (29) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (32) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:44:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:48:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:48:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:58:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (40) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:58:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (43) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:63:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (47) following ‘false’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:63:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:64:9: note: (51) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (52) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at fixed-reuse.c:64:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (53) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:711:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:717:2, inlined from ‘test’ at fixed-reuse.c:70:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:129:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:137:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:144:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:38:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (21) calling ‘io_uring_wait_cqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (22) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (29) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:43:15: note: (32) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:44:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:48:16: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:48:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:58:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (40) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:58:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (43) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:63:15: note: (44) inlined call to ‘io_uring_get_sqe’ make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o fd-install.t fd-install.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o file-register.t file-register.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o hardlink.t hardlink.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o io-cancel.t io-cancel.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o iopoll.t iopoll.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:63:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:69:15: note: (51) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:69:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (54) following ‘false’ branch... <--[gcc] cc1: note: (55) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:69:15: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:69:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:70:9: note: (58) inlined call to ‘io_uring_prep_close_direct’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:717:9: note: (59) inlined call to ‘io_uring_prep_close’ from ‘io_uring_prep_close_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:711:9: note: (60) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:711:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:717:2, inlined from ‘test’ at fixed-reuse.c:70:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (61) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fixed-reuse.c:109:14: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_working’ at fd-install.c:239:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:428:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:217:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:224:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:7: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:239:9: note: (24) inlined call to ‘io_uring_prep_read’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_working’ at fd-install.c:239:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_fixed_fd_install’ at ../src/include/liburing.h:1206:2, inlined from ‘test_working’ at fd-install.c:266:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:428:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:217:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:224:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:245:12: note: (24) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:248:19: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:248:19: note: (26) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (28) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (29) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (30) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (31) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (32) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (34) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (36) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (39) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:254:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:258:16: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:258:12: note: (42) following ‘false’ branch... <--[gcc] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:265:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (47) following ‘false’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:265:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:266:9: note: (51) inlined call to ‘io_uring_prep_fixed_fd_install’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1206:9: note: (52) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_fixed_fd_install’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_fixed_fd_install’ at ../src/include/liburing.h:1206:2, inlined from ‘test_working’ at fd-install.c:266:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (53) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:711:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:717:2, inlined from ‘test_working’ at fd-install.c:304:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:428:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:217:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:224:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:245:12: note: (24) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:248:19: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:248:19: note: (26) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (28) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (29) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (30) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (31) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (32) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (34) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (36) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (39) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:254:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:258:16: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:258:12: note: (42) following ‘false’ branch... <--[gcc] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:265:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:265:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:269:15: note: (51) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (52) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (53) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (54) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (55) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (57) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (59) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (60) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (61) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:269:15: note: (62) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:270:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:274:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:274:12: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:278:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:278:12: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:283:16: note: (68) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:287:12: note: (69) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:290:19: note: (70) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:290:19: note: (71) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:296:15: note: (72) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:297:12: note: (73) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:303:15: note: (74) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (76) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (77) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (78) following ‘false’ branch... <--[gcc] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:303:15: note: (80) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (81) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:304:9: note: (82) inlined call to ‘io_uring_prep_close_direct’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:717:9: note: (83) inlined call to ‘io_uring_prep_close’ from ‘io_uring_prep_close_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:711:9: note: (84) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:711:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:717:2, inlined from ‘test_working’ at fd-install.c:304:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (85) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_working’ at fd-install.c:336:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:428:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:217:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:224:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:245:12: note: (24) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:248:19: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:248:19: note: (26) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (28) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (29) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (30) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (31) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (32) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (34) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (36) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (37) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:253:15: note: (39) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:254:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:258:16: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:258:12: note: (42) following ‘false’ branch... <--[gcc] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:265:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (48) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:265:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:269:15: note: (51) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (52) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (53) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (54) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (55) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (57) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (59) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (60) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (61) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:269:15: note: (62) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:270:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:274:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:274:12: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:278:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:278:12: note: (67) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:283:16: note: (68) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:287:12: note: (69) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:290:19: note: (70) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:290:19: note: (71) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:296:15: note: (72) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:297:12: note: (73) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:303:15: note: (74) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (75) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (76) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (77) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (78) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (79) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:303:15: note: (80) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (81) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:307:15: note: (82) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (83) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (84) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (85) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (86) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (87) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (88) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (89) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (90) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (91) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (92) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:307:15: note: (93) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:308:12: note: (94) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:312:16: note: (95) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:312:12: note: (96) following ‘false’ branch... <--[gcc] cc1: note: (97) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:319:12: note: (98) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:322:19: note: (99) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:322:19: note: (100) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:328:15: note: (101) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:329:12: note: (102) following ‘false’ branch (when ‘ret == 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:335:15: note: (103) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:335:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (104) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (105) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (106) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (107) following ‘false’ branch... <--[gcc] cc1: note: (108) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:335:15: note: (109) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:335:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (110) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:336:9: note: (111) inlined call to ‘io_uring_prep_read’ from ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (112) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_working’ at fd-install.c:336:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (113) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c: In function ‘test_working’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:227:15: warning: ‘read’ on closed file descriptor ‘fds[0]’ [-Wanalyzer-fd-use-after-close] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:428:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:13: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:13: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:211:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:217:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:218:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:224:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:224:9: note: (14) closed here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/fd-install.c:227:15: note: (15) ‘read’ on closed file descriptor ‘fds[0]’; ‘close’ was at (14) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-register.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-register.c:714: error: uninitvar(CWE-457): Uninitialized variable: buffer <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/file-register.c:61:13: warning: Array access (from variable 'files') results in a null pointer dereference [core.NullDereference] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/hardlink.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c: In function ‘test_dont_cancel_another_ring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:218:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:507:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:512:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:515:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:515:13: note: (4) calling ‘test_dont_cancel_another_ring’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:206:12: note: (5) entry to ‘test_dont_cancel_another_ring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:216:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:220:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:221:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:13: note: (10) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:13: note: (11) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:230:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:16: <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:230:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_dont_cancel_another_ring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘false’ branch... <--[gcc] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:230:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:230:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘test_dont_cancel_another_ring’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c: In function ‘test_dont_cancel_another_ring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:231:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:232:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:218:24: note: (23) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:218:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:507:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:512:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:515:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:515:13: note: (4) calling ‘test_dont_cancel_another_ring’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:206:12: note: (5) entry to ‘test_dont_cancel_another_ring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:216:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:220:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:221:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:13: note: (10) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:13: note: (11) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:225:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:230:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:230:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_dont_cancel_another_ring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘false’ branch... <--[gcc] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:230:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:230:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘test_dont_cancel_another_ring’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c: In function ‘test_dont_cancel_another_ring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:231:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:232:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:218:24: note: (23) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io-cancel.c:502:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:46:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:103:2: warning: Value stored to 'offset' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:264:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘provide_buffers’ at iopoll.c:35:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c: In function ‘provide_buffers’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:400:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:406:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:409:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:426:23: note: (4) following ‘true’ branch (when ‘i < nr’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:427:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:433:23: note: (6) calling ‘test_io’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:353:12: note: (7) entry to ‘test_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:359:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:362:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:362:12: note: (10) following ‘false’ branch (when ‘defer == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:366:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:433:23: note: (12) returning to ‘main’ from ‘test_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:434:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:439:21: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:439:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:426:30: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:426:23: note: (17) following ‘true’ branch (when ‘i < nr’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:427:21: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:433:23: note: (19) calling ‘test_io’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:353:12: note: (20) entry to ‘test_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:359:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:362:12: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:367:12: note: (23) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:369:12: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:369:12: note: (25) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:373:15: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:373:15: note: (27) calling ‘__test_io’ from ‘test_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:57:12: note: (28) entry to ‘__test_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:70:27: note: (29) calling ‘provide_buffers’ from ‘__test_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:27:12: note: (30) entry to ‘provide_buffers’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:33:23: note: (31) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:34:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers’ at iopoll.c:34:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘provide_buffers’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘provide_buffers’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (36) following ‘false’ branch... <--[gcc] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:34:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers’ at iopoll.c:34:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) returning to ‘provide_buffers’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c: In function ‘provide_buffers’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll.c:35:17: note: (40) inlined call to ‘io_uring_prep_provide_buffers’ from ‘provide_buffers’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘provide_buffers’ at iopoll.c:35:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o iopoll-leak.t iopoll-leak.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o io_uring_setup.t io_uring_setup.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o iopoll-overflow.t iopoll-overflow.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o lfs-openat-write.t lfs-openat-write.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o link_drain.t link_drain.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o io_uring_register.t io_uring_register.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o io_uring_passthrough.t io_uring_passthrough.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o mkdir.t mkdir.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o msg-ring-fd.t msg-ring-fd.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘do_iopoll’ at iopoll-leak.c:38:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c: In function ‘do_iopoll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:20:12: note: (1) entry to ‘do_iopoll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:28:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:33:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:37:15: note: (4) inlined call to ‘io_uring_get_sqe’ from ‘do_iopoll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_iopoll’ at iopoll-leak.c:37:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (5) calling ‘_io_uring_get_sqe’ from ‘do_iopoll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_iopoll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (6) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:37:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘do_iopoll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_iopoll’ at iopoll-leak.c:37:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) returning to ‘do_iopoll’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c: In function ‘do_iopoll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-leak.c:38:9: note: (11) inlined call to ‘io_uring_prep_read’ from ‘do_iopoll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (12) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘do_iopoll’ at iopoll-leak.c:38:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_setup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at iopoll-overflow.c:35:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:25:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:32:23: note: (2) following ‘true’ branch (when ‘j != 8’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:33:31: note: (4) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:34:31: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at iopoll-overflow.c:34:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:34:31: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at iopoll-overflow.c:34:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:35:25: note: (13) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at iopoll-overflow.c:35:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/iopoll-overflow.c:51:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:110:12: warning: leak of file descriptor ‘open("/tmp", 65536)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:102:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:105:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:105:15: note: (3) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:106:12: note: (4) assuming ‘open("/tmp", 65536)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:106:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:109:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat-write.c:110:12: note: (7) ‘open("/tmp", 65536)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link_drain.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c: In function ‘test_max_fds’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:159:12: warning: leak of file descriptor ‘open("/dev/null", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:133:12: note: (1) following ‘false’ branch (when ‘fd_as != 18446744073709551615’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:140:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:141:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:145:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:147:12: note: (5) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:152:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:152:17: note: (7) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:153:12: note: (8) assuming ‘open("/dev/null", 2)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:153:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:157:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:159:12: note: (11) ‘open("/dev/null", 2)’ leaks here; was opened at (7) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:167:20: warning: leak of file descriptor ‘open("/dev/null", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:133:12: note: (1) following ‘false’ branch (when ‘fd_as != 18446744073709551615’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:140:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:141:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:145:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:147:12: note: (5) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:152:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:152:17: note: (7) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:153:12: note: (8) assuming ‘open("/dev/null", 2)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:153:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:157:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:159:12: note: (11) following ‘false’ branch (when ‘fds != 18446744073709551615’)... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:166:23: note: (13) following ‘true’ branch (when ‘i != 33554432’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:167:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:166:23: note: (15) following ‘false’ branch (when ‘i == 33554432’)... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:171:23: note: (17) following ‘true’ branch (when ‘i != 127’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:172:21: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:167:20: note: (19) ‘open("/dev/null", 2)’ leaks here; was opened at (7) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:167:20: warning: leak of file descriptor ‘open("/dev/null", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:133:12: note: (1) following ‘false’ branch (when ‘fd_as != 18446744073709551615’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:140:22: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:141:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:145:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:147:12: note: (5) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:152:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:152:17: note: (7) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:153:12: note: (8) assuming ‘open("/dev/null", 2)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:153:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:157:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:159:12: note: (11) following ‘false’ branch (when ‘fds != 18446744073709551615’)... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:166:23: note: (13) following ‘true’ branch (when ‘i != 33554432’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:167:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:166:23: note: (15) following ‘false’ branch (when ‘i == 33554432’)... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:171:23: note: (17) following ‘true’ branch (when ‘i != 127’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:172:21: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:175:20: note: (19) following ‘false’ branch (when ‘fds != 18446744073709551615’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:171:35: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:188:16: note: (21) following ‘true’ branch (when ‘nr_fds != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:189:23: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:167:20: note: (23) ‘open("/dev/null", 2)’ leaks here; was opened at (7) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c: In function ‘ioring_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:392:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:384:12: note: (1) entry to ‘ioring_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:390:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘ioring_poll’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:26: <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘ioring_poll’ at io_uring_register.c:390:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘ioring_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘ioring_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:390:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘ioring_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘ioring_poll’ at io_uring_register.c:390:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘ioring_poll’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c: In function ‘ioring_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:392:21: note: (9) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘ioring_poll’, inlined from ‘test_poll_ringfd’ at io_uring_register.c:435:11, inlined from ‘main’ at io_uring_register.c:497:12: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_register.c:391:9: warning: ‘memset’ writing 63 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] <--[gcc] In function ‘main’: cc1: note: destination object is likely at address zero /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:11: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:383:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:395:17: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c: In function ‘test_io_uring_submit_enters’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:351:12: note: (1) entry to ‘test_io_uring_submit_enters’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:365:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:371:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:372:12: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:377:23: note: (6) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:378:38: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:382:23: note: (8) inlined call to ‘io_uring_get_sqe’ from ‘test_io_uring_submit_enters’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:382:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘test_io_uring_submit_enters’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_io_uring_submit_enters’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (11) following ‘false’ branch... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:382:23: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test_io_uring_submit_enters’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:382:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) returning to ‘test_io_uring_submit_enters’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c: In function ‘test_io_uring_submit_enters’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_passthrough.c:383:17: note: (15) inlined call to ‘io_uring_prep_readv’ from ‘test_io_uring_submit_enters’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:383:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:395:17: note: (17) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/mkdir.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:740:2, inlined from ‘test_local’ at msg-ring-fd.c:189:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:296:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:300:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:259:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:265:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:271:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:272:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (10) calling ‘test_local’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:155:12: note: (11) entry to ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:165:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (14) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:177:17: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:179:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:184:9: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:185:23: note: (19) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:186:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:188:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:188:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (24) following ‘false’ branch... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:188:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:188:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:189:9: note: (28) inlined call to ‘io_uring_prep_write’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:740:9: note: (29) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_write’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:740:2, inlined from ‘test_local’ at msg-ring-fd.c:189:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (30) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:740:2, inlined from ‘test_remote’ at msg-ring-fd.c:116:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:296:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:300:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:259:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:265:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:271:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:272:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:278:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:282:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:282:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:285:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:285:15: note: (14) calling ‘test_remote’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:81:12: note: (15) entry to ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:97:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:100:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:100:13: note: (18) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:100:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:105:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:107:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:112:23: note: (23) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:113:26: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:115:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:115:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (28) following ‘false’ branch... <--[gcc] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:115:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:115:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) returning to ‘test_remote’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:116:9: note: (32) inlined call to ‘io_uring_prep_write’ from ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:740:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_write’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:740:2, inlined from ‘test_remote’ at msg-ring-fd.c:116:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1052:2, inlined from ‘test_local’ at msg-ring-fd.c:193:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:296:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:300:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:259:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:265:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:271:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:272:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (10) calling ‘test_local’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:155:12: note: (11) entry to ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:165:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (14) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:177:17: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:179:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:184:9: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:185:23: note: (19) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:186:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:188:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:188:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:188:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:188:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:192:15: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:192:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (31) following ‘false’ branch... <--[gcc] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:192:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:192:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:193:9: note: (35) inlined call to ‘io_uring_prep_msg_ring_fd’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1052:9: note: (36) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_msg_ring_fd’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1052:2, inlined from ‘test_local’ at msg-ring-fd.c:193:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (37) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1052:2, inlined from ‘test_remote’ at msg-ring-fd.c:120:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:296:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:300:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:259:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:265:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:271:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:272:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:278:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:282:13: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:282:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:285:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:285:15: note: (14) calling ‘test_remote’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:81:12: note: (15) entry to ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:97:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:100:13: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:100:13: note: (18) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:100:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:105:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:107:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:112:23: note: (23) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:113:26: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:115:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:115:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:115:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:115:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) returning to ‘test_remote’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:119:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:119:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) calling ‘_io_uring_get_sqe’ from ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (34) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:119:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:119:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) returning to ‘test_remote’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_remote’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:120:9: note: (39) inlined call to ‘io_uring_prep_msg_ring_fd’ from ‘test_remote’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1052:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_msg_ring_fd’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1052:2, inlined from ‘test_remote’ at msg-ring-fd.c:120:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (41) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_local’ at msg-ring-fd.c:229:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:296:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:300:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:259:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:265:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:271:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:272:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (10) calling ‘test_local’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:155:12: note: (11) entry to ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:165:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (14) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:177:17: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:179:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:184:9: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:185:23: note: (19) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:186:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:188:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:188:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:188:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:188:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:192:15: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:192:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:192:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:192:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:199:23: note: (35) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:200:23: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:200:23: note: (37) calling ‘io_uring_wait_cqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (38) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (39) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (40) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (41) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (42) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (43) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (45) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (46) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:200:23: note: (48) returning to ‘test_local’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:201:20: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:205:24: note: (50) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:205:20: note: (51) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:209:24: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:216:15: note: (53) calling ‘io_uring_wait_cqe’ from ‘test_local’ <--[gcmake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o futex.t futex.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o io_uring_enter.t io_uring_enter.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o lfs-openat.t lfs-openat.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o link.t link.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o link-timeout.t link-timeout.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread c] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (54) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (55) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (56) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (57) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (59) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (60) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (61) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:216:15: note: (62) returning to ‘test_local’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:217:12: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:221:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:221:12: note: (65) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:226:12: note: (66) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:228:15: note: (67) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:228:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (70) following ‘false’ branch... <--[gcc] cc1: note: (71) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:228:15: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:228:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (73) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:229:9: note: (74) inlined call to ‘io_uring_prep_read’ from ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (75) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_local’ at msg-ring-fd.c:229:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (76) dereference of NULL ‘_io_uring_get_sqe(dst)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c: In function ‘test_local’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:167:32: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:296:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:300:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:303:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:259:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:265:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:271:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:272:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:277:15: note: (10) calling ‘test_local’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:155:12: note: (11) entry to ‘test_local’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:165:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (14) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:13: note: (15) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:172:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:177:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:179:12: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:180:17: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-fd.c:167:32: note: (20) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1187:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:465:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:469:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:140:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:146:12: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:149:23: note: (8) following ‘true’ branch (when ‘i != 500’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:150:40: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:152:23: note: (10) calling ‘__test’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:68:12: note: (11) entry to ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:80:12: note: (12) following ‘true’ branch (when ‘vectored == 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:84:23: note: (14) following ‘true’ branch (when ‘i < nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:85:27: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (19) following ‘false’ branch... <--[gcc] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:92:12: note: (23) following ‘false’ branch (when ‘vectored == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:95:17: note: (24) inlined call to ‘io_uring_prep_futex_wait’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1187:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_wait’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1187:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_cancel64’ at ../src/include/liburing.h:639:2, inlined from ‘__test’ at futex.c:107:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:465:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:469:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:140:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:146:12: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:149:23: note: (8) following ‘true’ branch (when ‘i != 500’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:150:40: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:152:23: note: (10) calling ‘__test’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:68:12: note: (11) entry to ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:80:12: note: (12) following ‘true’ branch (when ‘vectored == 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:84:23: note: (14) following ‘true’ branch (when ‘i < nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:85:27: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:92:12: note: (23) following ‘false’ branch (when ‘vectored == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:95:17: note: (24) inlined call to ‘io_uring_prep_futex_wait’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1187:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_wait’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1187:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:97:12: note: (27) following ‘true’ branch (when ‘async != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:98:20: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:103:23: note: (29) following ‘true’ branch (when ‘i < nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:104:64: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:103:23: note: (31) following ‘false’ branch (when ‘i >= nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:106:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (36) following ‘false’ branch... <--[gcc] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:106:15: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:107:9: note: (40) inlined call to ‘io_uring_prep_cancel64’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:639:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_cancel64’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_cancel64’ at ../src/include/liburing.h:639:2, inlined from ‘__test’ at futex.c:107:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_waitv’ at ../src/include/liburing.h:1198:2, inlined from ‘__test’ at futex.c:93:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:465:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:469:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:140:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:149:23: note: (6) following ‘true’ branch (when ‘i != 500’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:150:40: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:152:23: note: (8) calling ‘__test’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:68:12: note: (9) entry to ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:80:12: note: (10) following ‘true’ branch (when ‘vectored == 0’)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:84:23: note: (12) following ‘true’ branch (when ‘i < nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:85:27: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:92:12: note: (21) following ‘false’ branch (when ‘vectored == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:95:17: note: (22) inlined call to ‘io_uring_prep_futex_wait’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1187:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_wait’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1187:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:97:12: note: (25) following ‘true’ branch (when ‘async != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:98:20: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:103:23: note: (27) following ‘true’ branch (when ‘i < nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:104:64: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:103:23: note: (29) following ‘false’ branch (when ‘i >= nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:106:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (32) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (33) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:106:15: note: (36) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:108:12: note: (38) following ‘true’ branch (when ‘async_cancel != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:109:20: note: (39) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:114:23: note: (40) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:115:23: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:115:23: note: (42) calling ‘io_uring_wait_cqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (43) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (44) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (45) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (46) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (48) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (49) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (50) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (51) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:115:23: note: (53) returning to ‘__test’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:116:20: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:121:24: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:152:23: note: (56) returning to ‘test’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:153:20: note: (57) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:157:21: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:157:20: note: (59) following ‘true’ branch... <--[gcc] cc1: note: (60) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:472:15: note: (61) returning to ‘main’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:473:12: note: (62) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:477:13: note: (63) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:477:12: note: (64) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:480:15: note: (65) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:480:15: note: (66) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:140:12: note: (67) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:146:12: note: (68) following ‘false’ branch... <--[gcc] cc1: note: (69) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:149:23: note: (70) following ‘true’ branch (when ‘i != 500’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:150:40: note: (71) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:152:23: note: (72) calling ‘__test’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:68:12: note: (73) entry to ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:80:12: note: (74) following ‘false’ branch (when ‘vectored != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:83:17: note: (75) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:84:23: note: (76) following ‘true’ branch (when ‘i < nfutex’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:85:27: note: (77) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (78) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (79) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (80) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (81) following ‘false’ branch... <--[gcc] cc1: note: (82) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:91:15: note: (83) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (84) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c: In function ‘__test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:92:12: note: (85) following ‘true’ branch (when ‘vectored != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:93:17: note: (86) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:93:17: note: (87) inlined call to ‘io_uring_prep_futex_waitv’ from ‘__test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1198:9: note: (88) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_waitv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_waitv’ at ../src/include/liburing.h:1198:2, inlined from ‘__test’ at futex.c:93:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (89) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:360:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:410:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:428:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/futex.c:450:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:27: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘io_prep_read’ at io_uring_enter.c:114:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘sqe’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c: In function ‘io_prep_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:151:13: note: (1) entry to ‘submit_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:160:14: note: (2) calling ‘setup_file’ from ‘submit_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:77:12: note: (3) entry to ‘setup_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:83:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:87:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:88:12: note: (6) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:93:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:94:12: note: (8) following ‘false’ branch (when ‘ret == 4096’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:99:16: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:160:14: note: (10) returning to ‘submit_io’ from ‘setup_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:161:23: note: (11) following ‘true’ branch (when ‘i < nr’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:163:23: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘submit_io’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit_io’ at io_uring_enter.c:163:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘submit_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘io_prep_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:163:23: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘submit_io’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit_io’ at io_uring_enter.c:163:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘submit_io’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c: In function ‘io_prep_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:165:17: note: (20) calling ‘io_prep_read’ from ‘submit_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:102:13: note: (21) entry to ‘io_prep_read’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:18: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:108:9: note: (22) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:110:25: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:111:9: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:112:22: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:114:9: note: (26) inlined call to ‘io_uring_prep_readv’ from ‘io_prep_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘io_prep_read’ at io_uring_enter.c:114:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (28) dereference of NULL ‘sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/io_uring_enter.c:252:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:93:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:213:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:219:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:222:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:223:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:226:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:227:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:230:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:230:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:233:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:233:15: note: (10) calling ‘open_io_uring’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:25:12: note: (11) entry to ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:31:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:13: <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:31:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘open_io_uring’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:32:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:36:9: note: (20) inlined call to ‘io_uring_prep_openat’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘open_io_uring’ at lfs-openat.c:36:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:39:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:44:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:44:15: note: (25) calling ‘io_uring_wait_cqe’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (26) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (27) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (28) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (29) following ‘true’ branch (when ‘available == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1372:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (31) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (33) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:55: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1401:16: note: (37) inlined call to ‘io_uring_wait_cqe_nr’ from ‘io_uring_wait_cqe’ <--[gcc] In function ‘io_uring_wait_cqe_nr’, inlined from ‘io_uring_wait_cqe’ at ../src/include/liburing.h:1401:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1328:16: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:44:15: note: (39) returning to ‘open_io_uring’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:47:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:50:19: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:50:19: note: (42) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:55:9: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:233:15: note: (44) returning to ‘main’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:234:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:239:15: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:239:15: note: (47) calling ‘test_linked_files’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:78:12: note: (48) entry to ‘test_linked_files’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:88:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:13: note: (50) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:13: note: (51) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:13: note: (52) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:96:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_linked_files’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (58) following ‘false’ branch... <--[gcc] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:96:15: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (61) returning to ‘test_linked_files’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:97:12: note: (62) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:98:17: note: (63) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:93:24: note: (64) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:93:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:213:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:219:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:222:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:223:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:226:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:227:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:230:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:230:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:233:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:233:15: note: (10) calling ‘open_io_uring’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:25:12: note: (11) entry to ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:31:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:31:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘open_io_uring’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:32:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:36:9: note: (20) inlined call to ‘io_uring_prep_openat’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘open_io_uring’ at lfs-openat.c:36:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:39:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:44:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:44:15: note: (25) calling ‘io_uring_wait_cqe’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (26) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (27) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (28) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (29) following ‘true’ branch (when ‘available == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1372:18: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (31) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (33) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:55: note: (36) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1401:16: note: (37) inlined call to ‘io_uring_wait_cqe_nr’ from ‘io_uring_wait_cqe’ <--[gcc] In function ‘io_uring_wait_cqe_nr’, inlined from ‘io_uring_wait_cqe’ at ../src/include/liburing.h:1401:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1328:16: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:44:15: note: (39) returning to ‘open_io_uring’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:47:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:50:19: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:50:19: note: (42) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:55:9: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:233:15: note: (44) returning to ‘main’ from ‘open_io_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:234:12: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:239:15: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:239:15: note: (47) calling ‘test_linked_files’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:78:12: note: (48) entry to ‘test_linked_files’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:88:12: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:13: note: (50) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:13: note: (51) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:13: note: (52) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:91:12: note: (53) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:96:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_linked_files’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (58) following ‘false’ branch... <--[gcc] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:96:15: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (61) returning to ‘test_linked_files’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘test_linked_files’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:97:12: note: (62) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:98:17: note: (63) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:93:24: note: (64) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:227:12: warning: leak of file descriptor ‘open("/tmp", 2097152)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:219:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:222:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:222:15: note: (3) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:223:12: note: (4) assuming ‘open("/tmp", 2097152)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:223:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:226:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/lfs-openat.c:227:12: note: (7) ‘open("/tmp", 2097152)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c: In function ‘test_timeout_link_chain1’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:551:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1009:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1014:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1017:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1018:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1023:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1023:15: note: (6) calling ‘test_timeout_link_chain1’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:540:12: note: (7) entry to ‘test_timeout_link_chain1’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:549:13: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:549:13: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:549:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:554:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:14: <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:554:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_timeout_link_chain1’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:554:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:554:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test_timeout_link_chain1’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c: In function ‘test_timeout_link_chain1’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:555:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:556:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:551:24: note: (21) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:551:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1009:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1014:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1017:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1018:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1023:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:1023:15: note: (6) calling ‘test_timeout_link_chain1’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:540:12: note: (7) entry to ‘test_timeout_link_chain1’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:549:13: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:549:13: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:549:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:554:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:554:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_timeout_link_chain1’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:554:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:554:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘test_timeout_link_chain1’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c: In function ‘test_timeout_link_chain1’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:555:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:556:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/link-timeout.c:551:24: note: (21) ‘fds[0]’ leaks here <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o madvise.t madvise.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o msg-ring.t msg-ring.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o no-mmap-inval.t no-mmap-inval.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o nolibc.t nolibc.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o msg-ring-overflow.t msg-ring-overflow.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o multicqes_drain.t multicqes_drain.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o msg-ring-flags.t msg-ring-flags.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o nop.t nop.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o nop-all-sizes.t nop-all-sizes.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o pipe-reuse.t pipe-reuse.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o openat2.t openat2.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o personality.t personality.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o pipe-bug.t pipe-bug.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o open-direct-pick.t open-direct-pick.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-cancel-all.t poll-cancel-all.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o open-close.t open-close.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/madvise.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/no-mmap-inval.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/nolibc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-overflow.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c: In function ‘test_simple_drain’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:13: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:13: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:30: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:287:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: note: (15) ‘pipe1[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe1[i]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:13: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:13: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:30: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:287:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: note: (15) ‘pipe1[i]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe2[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (11) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:30: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:291:23: note: (15) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:292:26: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:19: <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_simple_drain’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_simple_drain’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:292:26: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_simple_drain’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c: In function ‘test_simple_drain’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:293:20: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:294:25: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: note: (26) ‘pipe2[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe2[i]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:13: note: (8) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (11) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:286:30: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:291:23: note: (15) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:292:26: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_simple_drain’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_simple_drain’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:292:26: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_simple_drain’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c: In function ‘test_simple_drain’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:293:20: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:294:25: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/multicqes_drain.c:288:24: note: (26) ‘pipe2[i]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/msg-ring-flags.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/nop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/nop-all-sizes.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:11: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at pipe-reuse.c:64:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:16:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:27:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:27:12: note: (3) following ‘false’ branch... <--[gcc] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:33:23: note: (5) following ‘true’ branch (when ‘i != 16’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:36:33: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:42:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:46:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:46:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:52:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:57:12: note: (11) following ‘false’ branch (when ‘ret == 8192’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:63:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-reuse.c:63:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:63:15: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-reuse.c:63:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-reuse.c:64:9: note: (20) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at pipe-reuse.c:64:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/openat2.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘open_file’ at personality.c:35:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:164:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:169:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:172:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:172:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:177:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:178:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:183:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:183:15: note: (8) calling ‘test_personality’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:61:12: note: (9) entry to ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:66:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:78:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:79:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:83:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:86:15: note: (14) calling ‘open_file’ from ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:20:12: note: (15) entry to ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:26:12: note: (16) following ‘false’ branch (when ‘with_link == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:35:9: note: (25) inlined call to ‘io_uring_prep_openat’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘open_file’ at personality.c:35:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘open_file’ at personality.c:28:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:164:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:169:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:172:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:172:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:177:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:178:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:183:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:183:15: note: (8) calling ‘test_personality’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:61:12: note: (9) entry to ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:66:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:78:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:79:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:83:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:86:15: note: (14) calling ‘open_file’ from ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:20:12: note: (15) entry to ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:26:12: note: (16) following ‘false’ branch (when ‘with_link == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:38:12: note: (25) following ‘false’ branch (when ‘cred_id == -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:41:15: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:86:15: note: (27) returning to ‘test_personality’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:87:12: note: (28) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:92:13: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:92:12: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:98:15: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:98:15: note: (32) calling ‘open_file’ from ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:20:12: note: (33) entry to ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:26:12: note: (34) following ‘false’ branch (when ‘with_link == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:38:12: note: (43) following ‘false’ branch (when ‘cred_id == -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:41:15: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:98:15: note: (45) returning to ‘test_personality’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:99:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:105:15: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:105:15: note: (48) calling ‘open_file’ from ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:20:12: note: (49) entry to ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:26:12: note: (50) following ‘false’ branch (when ‘with_link == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (51) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (53) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (54) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (55) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:34:15: note: (57) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (58) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:38:12: note: (59) following ‘true’ branch (when ‘cred_id != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:39:34: note: (60) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:105:15: note: (61) returning to ‘test_personality’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:106:12: note: (62) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:110:9: note: (63) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:113:15: note: (64) calling ‘open_file’ from ‘test_personality’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:20:12: note: (65) entry to ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:26:12: note: (66) following ‘true’ branch (when ‘with_link != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:27:23: note: (67) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:27:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (69) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (70) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (71) following ‘false’ branch... <--[gcc] cc1: note: (72) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:27:23: note: (73) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:27:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (74) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c: In function ‘open_file’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/personality.c:28:17: note: (75) inlined call to ‘io_uring_prep_nop’ from ‘open_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘open_file’ at personality.c:28:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c: In function ‘pipe_bug’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:21:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:82:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:86:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:89:23: note: (4) following ‘true’ branch (when ‘i != 10000’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:90:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:90:21: note: (6) calling ‘pipe_bug’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:25:12: note: (7) entry to ‘pipe_bug’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:15: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:15: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:19:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:39:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:21:24: note: (12) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:21:24: warning: leak of file descriptor ‘fds[i]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:82:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:86:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:89:23: note: (4) following ‘true’ branch (when ‘i != 10000’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:90:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:90:21: note: (6) calling ‘pipe_bug’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:25:12: note: (7) entry to ‘pipe_bug’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:15: note: (8) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:15: note: (9) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:19:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:39:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:21:24: note: (12) ‘fds[i]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-pick.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-all.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-close.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-link.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘add_polls’ at poll-cancel-ton.c:85:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c: In function ‘add_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:101:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:108:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:111:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:111:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:111:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:116:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:130:9: note: (7) calling ‘add_polls’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:72:12: note: (8) entry to ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:78:16: note: (9) following ‘true’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:80:20: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:83:31: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:84:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:84:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘add_polls’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c: In function ‘add_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:85:25: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘add_polls’ at poll-cancel-ton.c:85:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_remove’ at ../src/include/liburing.h:542:2, inlined from ‘del_polls’ at poll-cancel-ton.c:58:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:101:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:108:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:111:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:111:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:111:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:116:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:130:9: note: (7) calling ‘add_polls’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:72:12: note: (8) entry to ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:78:16: note: (9) following ‘true’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:80:20: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:83:31: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:84:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:84:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘add_polls’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:83:31: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:84:31: note: (21) inlined call to \xe2\x80make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-link.t poll-link.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-cancel-ton.t poll-cancel-ton.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll.t poll.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-mshot-update.t poll-mshot-update.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-cancel.t poll-cancel.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-ring.t poll-ring.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-race.t poll-race.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-race-mshot.t poll-race-mshot.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-many.t poll-many.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-v-poll.t poll-v-poll.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread \x98io_uring_get_sqe’ from ‘add_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (25) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:84:31: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) returning to ‘add_polls’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:130:9: note: (29) returning to ‘main’ from ‘add_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:131:9: note: (30) calling ‘del_polls’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:43:12: note: (31) entry to ‘del_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:48:16: note: (32) following ‘true’ branch (when ‘nr != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:50:20: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:53:31: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:56:31: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘del_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘del_polls’ at poll-cancel-ton.c:56:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘del_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘false’ branch... <--[gcc] cc1: note: (40) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:56:31: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘del_polls’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘del_polls’ at poll-cancel-ton.c:56:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘del_polls’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c: In function ‘del_polls’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:58:25: note: (43) inlined call to ‘io_uring_prep_poll_remove’ from ‘del_polls’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:542:9: note: (44) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_remove’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_remove’ at ../src/include/liburing.h:542:2, inlined from ‘del_polls’ at poll-cancel-ton.c:58:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (45) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel-ton.c:67:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:535:2, inlined from ‘test_missing_events’ at poll.c:141:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c: In function ‘test_missing_events’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:286:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:290:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (4) calling ‘test_basic’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:34:12: note: (5) entry to ‘test_basic’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:13: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:48:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:49:12: note: (9) following ‘false’ branch (when ‘p != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:52:19: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (11) returning to ‘main’ from ‘test_basic’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:294:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:300:13: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:300:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:301:23: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:301:23: note: (16) calling ‘test_missing_events’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:113:12: note: (17) entry to ‘test_missing_events’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:124:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:129:13: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:129:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:133:9: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:135:12: note: (22) following ‘false’ branch (when ‘ret == 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:140:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test_missing_events’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_missing_events’ at poll.c:140:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘test_missing_events’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_missing_events’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:140:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘test_missing_events’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_missing_events’ at poll.c:140:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (30) returning to ‘test_missing_events’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c: In function ‘test_missing_events’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:141:9: note: (31) inlined call to ‘io_uring_prep_poll_multishot’ from ‘test_missing_events’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:535:9: note: (32) inlined call to ‘io_uring_prep_poll_add’ from ‘io_uring_prep_poll_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:535:2, inlined from ‘test_missing_events’ at poll.c:141:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c: In function ‘test_basic’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:45:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:286:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:290:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (4) calling ‘test_basic’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:34:12: note: (5) entry to ‘test_basic’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:48:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:49:12: note: (10) following ‘false’ branch (when ‘p != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:52:19: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:45:24: note: (12) ‘pipe1[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:45:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:286:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:290:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:293:15: note: (4) calling ‘test_basic’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:34:12: note: (5) entry to ‘test_basic’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:43:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:48:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:49:12: note: (10) following ‘false’ branch (when ‘p != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:52:19: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:45:24: note: (12) ‘pipe1[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll.c:219:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:17: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_update’ at ../src/include/liburing.h:551:2, inlined from ‘has_poll_update’ at poll-mshot-update.c:45:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c: In function ‘has_poll_update’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:270:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:275:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:278:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:278:15: note: (4) calling ‘has_poll_update’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:32:12: note: (5) entry to ‘has_poll_update’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:41:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:44:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘has_poll_update’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘has_poll_update’ at poll-mshot-update.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘has_poll_update’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘has_poll_update’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (11) following ‘false’ branch... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:44:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘has_poll_update’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘has_poll_update’ at poll-mshot-update.c:44:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) returning to ‘has_poll_update’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c: In function ‘has_poll_update’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:45:9: note: (15) inlined call to ‘io_uring_prep_poll_update’ from ‘has_poll_update’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:551:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_update’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_update’ at ../src/include/liburing.h:551:2, inlined from ‘has_poll_update’ at poll-mshot-update.c:45:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c: In function ‘run’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:224:20: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:223:23: note: (1) following ‘true’ branch (when ‘i != 5000’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:224:30: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:224:21: note: (3) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:224:20: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:228:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:223:23: note: (6) following ‘true’ branch (when ‘i != 5000’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:224:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-update.c:224:20: note: (8) leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:573:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:159:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:138:12: note: (1) entry to ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:146:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:151:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:152:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:158:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:158:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:159:9: note: (13) inlined call to ‘io_uring_prep_timeout’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:573:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_timeout’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:573:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:159:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:163:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:138:12: note: (1) entry to ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:146:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:151:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:152:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:158:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:158:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:162:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:162:15: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:163:9: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:163:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_link_timeout’ at ../src/include/liburing.h:661:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:167:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:138:12: note: (1) entry to ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:146:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:151:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:152:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:158:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:158:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:162:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:162:15: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:166:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:166:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:166:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:166:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:167:9: note: (27) inlined call to ‘io_uring_prep_link_timeout’ from ‘__test_poll_cancel_with_timeouts’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:661:9: note: (28) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_link_timeout’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_link_timeout’ at ../src/include/liburing.h:661:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:167:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (29) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c: In function ‘test_poll_cancel’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:41:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:208:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:212:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:215:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:215:15: note: (4) calling ‘test_poll_cancel’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:29:12: note: (5) entry to ‘test_poll_cancel’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:39:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:39:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:39:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:44:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:41:24: note: (10) ‘pipe1[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:41:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:208:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:212:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:215:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:215:15: note: (4) calling ‘test_poll_cancel’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:29:12: note: (5) entry to ‘test_poll_cancel’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:39:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:39:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:39:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:44:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-cancel.c:41:24: note: (10) ‘pipe1[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-ring.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:822: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:12: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘test’ at poll-race.c:57:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:37:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:46:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:51:19: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:55:23: note: (4) following ‘true’ branch (when ‘i != 64’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:56:23: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race.c:56:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:56:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race.c:56:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race.c:57:17: note: (13) inlined call to ‘io_uring_prep_recv’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:822:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘test’ at poll-race.c:57:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘test’ at poll-race-mshot.c:92:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:239:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:245:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:248:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:250:23: note: (4) following ‘true’ branch (when ‘i != 1000’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:251:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:252:23: note: (6) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:50:12: note: (7) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:60:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:65:19: note: (9) ...to here <--[gcc] cc1: note: (10) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:70:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:71:12: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:81:23: note: (14) following ‘true’ branch (when ‘i != 64’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:82:60: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:90:23: note: (16) following ‘true’ branch (when ‘i != 64’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:91:23: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race-mshot.c:91:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:91:23: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race-mshot.c:91:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-race-mshot.c:92:17: note: (25) inlined call to ‘io_uring_prep_recv’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:822:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘test’ at poll-race-mshot.c:92:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-many.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:19: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘iou_poll’ at poll-v-poll.c:52:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c: In function ‘iou_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:44:14: note: (1) entry to ‘iou_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:51:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘iou_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘iou_poll’ at poll-v-poll.c:51:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘iou_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘iou_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:51:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘iou_poll’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘iou_poll’ at poll-v-poll.c:51:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘iou_poll’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c: In function ‘iou_poll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:52:9: note: (9) inlined call to ‘io_uring_prep_poll_add’ from ‘iou_poll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘iou_poll’ at poll-v-poll.c:52:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(*(struct thread_data *)data.ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c: In function ‘do_pipe_pollin_test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:99:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:97:13: note: (1) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:97:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:97:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:102:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:99:24: note: (5) ‘pipe1[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c: In function ‘do_pipe_pollout_test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:138:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:136:13: note: (1) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:136:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:136:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:141:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:138:24: note: (5) ‘pipe1[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c: In function ‘do_test_epoll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:245:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:243:12: note: (1) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:13: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:13: note: (3) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:253:19: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:256:12: note: (7) following ‘true’ branch (when ‘iou_epoll_add == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:257:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:245:24: note: (9) ‘pipe1[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:245:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:233:12: note: (1) entry to ‘do_test_epoll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:243:12: note: (2) following ‘false’ branch (when ‘fd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:13: note: (4) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:13: note: (5) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:248:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:253:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:256:12: note: (8) following ‘false’ branch (when ‘iou_epoll_add != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:262:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:262:23: note: (10) calling ‘iou_epoll_ctl’ from ‘do_test_epoll’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:201:12: note: (11) entry to ‘iou_epoll_ctl’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:208:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘iou_epoll_ctl’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘iou_epoll_ctl’ at poll-v-poll.c:208:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘iou_epoll_ctl’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_test_epoll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:208:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘iou_epoll_ctl’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘iou_epoll_ctl’ at poll-v-poll.c:208:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘iou_epoll_ctl’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c: In function ‘do_test_epoll’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:209:12: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:210:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:262:23: note: (21) returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:263:20: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:266:27: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:266:27: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:271:17: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-v-poll.c:245:24: note: (26) ‘pipe1[0]’ leaks here <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o open-direct-link.t open-direct-link.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o pipe-eof.t pipe-eof.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o poll-mshot-overflow.t poll-mshot-overflow.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o probe.t probe.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o read-before-exit.t read-before-exit.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o read-mshot.t read-mshot.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o read-mshot-empty.t read-mshot-empty.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o reg-hint.t reg-hint.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o reg-fd-only.t reg-fd-only.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o reg-reg-ring.t reg-reg-ring.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o regbuf-merge.t regbuf-merge.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o recv-msgall.t recv-msgall.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at open-direct-link.c:31:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:121:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:127:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:131:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:135:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:135:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:138:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:140:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:145:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:19:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:27:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:30:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘false’ branch... <--[gcc] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:30:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:31:9: note: (21) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:702:9: note: (22) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:692:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:692:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:702:2, inlined from ‘test’ at open-direct-link.c:31:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at open-direct-link.c:41:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:121:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:127:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:131:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:135:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:135:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:138:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:140:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:145:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:19:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:27:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:30:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:30:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:32:12: note: (21) following ‘true’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:33:20: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:34:12: note: (23) following ‘false’ branch (when ‘skip_success == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:36:12: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:36:12: note: (25) following ‘false’ branch (when ‘async == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:38:24: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:40:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (29) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (30) following ‘false’ branch... <--[gcc] cc1: note: (31) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:40:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:41:9: note: (34) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (35) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at open-direct-link.c:41:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (36) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:711:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:717:2, inlined from ‘test’ at open-direct-link.c:52:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:121:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:127:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:130:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:131:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:135:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:135:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:138:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:140:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:145:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:19:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:27:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:30:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:30:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:32:12: note: (21) following ‘true’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:33:20: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:34:12: note: (23) following ‘false’ branch (when ‘skip_success == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:36:12: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:36:12: note: (25) following ‘false’ branch (when ‘async == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:38:24: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:40:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (29) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:40:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:43:12: note: (34) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:46:28: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:47:12: note: (36) following ‘false’ branch (when ‘async == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:49:24: note: (37) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:51:15: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:51:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (40) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (41) following ‘false’ branch... <--[gcc] cc1: note: (42) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:51:15: note: (43) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:51:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (44) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/open-direct-link.c:52:9: note: (45) inlined call to ‘io_uring_prep_close_direct’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:717:9: note: (46) inlined call to ‘io_uring_prep_close’ from ‘io_uring_prep_close_direct’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:711:9: note: (47) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:711:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:717:2, inlined from ‘test’ at open-direct-link.c:52:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (48) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘main’ at pipe-eof.c:59:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:36:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:44:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:44:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:48:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:58:23: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-eof.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (7) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (8) following ‘false’ branch... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:58:23: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-eof.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/pipe-eof.c:59:17: note: (12) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (13) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘main’ at pipe-eof.c:59:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (14) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c: In function ‘test_downgrade’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:151:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:233:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:238:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:241:25: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:242:15: note: (4) calling ‘test_downgrade’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:140:12: note: (5) entry to ‘test_downgrade’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:149:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:149:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:149:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:154:32: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:151:24: note: (10) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:151:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:233:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:238:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:241:25: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:242:15: note: (4) calling ‘test_downgrade’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:140:12: note: (5) entry to ‘test_downgrade’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:149:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:149:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:149:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:154:32: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/poll-mshot-overflow.c:151:24: note: (10) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/probe.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘submit’ at read-before-exit.c:34:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:27:14: note: (1) entry to ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:33:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:33:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘submit’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:34:9: note: (9) inlined call to ‘io_uring_prep_read’ from ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘submit’ at read-before-exit.c:34:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(*(struct data *)data.ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘submit’ at read-before-exit.c:37:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:27:14: note: (1) entry to ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:33:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:33:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘submit’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:36:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:36:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) calling ‘_io_uring_get_sqe’ from ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (11) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:36:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:36:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) returning to ‘submit’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c: In function ‘submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-before-exit.c:37:9: note: (16) inlined call to ‘io_uring_prep_read’ from ‘submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (17) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘submit’ at read-before-exit.c:37:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (18) dereference of NULL ‘_io_uring_get_sqe(*(struct data *)data.ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:156:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:328:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:332:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:335:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:335:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:137:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:149:12: note: (6) following ‘true’ branch (when ‘overflow == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:150:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:154:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:13: note: (10) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:13: note: (11) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:164:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:165:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:166:25: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:156:24: note: (16) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:156:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:328:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:332:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:335:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:335:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:137:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:149:12: note: (6) following ‘true’ branch (when ‘overflow == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:150:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:154:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:13: note: (10) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:13: note: (11) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:159:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:164:14: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:165:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:166:25: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot.c:156:24: note: (16) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:17: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_multishot’ at ../src/include/liburing.h:731:2, inlined from ‘main’ at read-mshot-empty.c:105:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:64:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:74:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:77:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:77:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:77:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:82:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:83:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:88:14: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:89:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:96:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:97:23: note: (11) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:98:42: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:97:23: note: (13) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:98:42: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:104:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at read-mshot-empty.c:104:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:104:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at read-mshot-empty.c:104:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-mshot-empty.c:105:9: note: (22) inlined call to ‘io_uring_prep_read_multishot’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:731:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_multishot’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_multishot’ at ../src/include/liburing.h:731:2, inlined from ‘main’ at read-mshot-empty.c:105:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:9: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct_alloc’ at ../src/include/liburing.h:1136:2, inlined from ‘main’ at reg-hint.c:35:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:12:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:19:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:22:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:25:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:32:9: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:34:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at reg-hint.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:34:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at reg-hint.c:34:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-hint.c:35:9: note: (13) inlined call to ‘io_uring_prep_socket_direct_alloc’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1136:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket_direct_alloc’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct_alloc’ at ../src/include/liburing.h:1136:2, inlined from ‘main’ at reg-hint.c:35:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:8: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_nops’ at reg-fd-only.c:29:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c: In function ‘test_nops’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:105:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:109:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:113:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:113:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:52:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:60:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:63:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:63:19: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:66:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:66:19: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:71:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:72:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:77:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:78:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:86:31: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:88:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:88:27: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:93:15: note: (18) calling ‘test_nops’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:15:12: note: (19) entry to ‘test_nops’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:27:31: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:28:31: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test_nops’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_nops’ at reg-fd-only.c:28:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘test_nops’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_nops’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:28:31: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test_nops’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_nops’ at reg-fd-only.c:28:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) returning to ‘test_nops’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c: In function ‘test_nops’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-fd-only.c:29:25: note: (29) inlined call to ‘io_uring_prep_nop’ from ‘test_nops’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_nops’ at reg-fd-only.c:29:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/reg-reg-ring.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/regbuf-merge.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:200:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at recv-msgall.c:187:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:243:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:247:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:250:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:250:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:220:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:231:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:236:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:237:9: note: (8) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:146:12: note: (9) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:157:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:162:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:163:23: note: (12) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:163:23: note: (14) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:20: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:171:18: note: (16) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:172:12: note: (17) following ‘false’ branch (when ‘sockfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:177:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:178:12: note: (19) following ‘false’ branch... <--[gcc] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:185:23: note: (21) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:186:23: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall.c:186:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (25) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (26) following ‘false’ branch... <--[gcc] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:186:23: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall.c:186:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:187:17: note: (30) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (31) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at recv-msgall.c:187:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (32) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:159:24: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:243:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:247:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:250:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:250:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:220:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:231:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:236:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:237:9: note: (8) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:146:12: note: (9) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:157:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:162:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:162:15: note: (12) allocated here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:163:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:24: note: (15) assuming ‘buf’ is non-NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:163:23: note: (16) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:171:18: note: (18) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:172:12: note: (19) following ‘true’ branch (when ‘sockfd < 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:173:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:159:24: note: (21) ‘buf’ leaks here; was allocated at (12) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:24: warning: dereference of possibly-NULL ‘buf’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:243:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:247:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:250:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:250:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:220:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:231:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:236:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:237:9: note: (8) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:146:12: note: (9) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:157:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:162:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:162:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:163:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall.c:164:24: note: (15) ‘buf + (long unsigned int)i * 4’ could be NULL: unchecked value from (12) <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o read-write.t read-write.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o recv-msgall-stream.t recv-msgall-stream.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o recv-multishot.t recv-multishot.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test_buf_select_short.part.0’ at read-write.c:406:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c: In function ‘test_buf_select_short.part.0’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:387:12: note: (1) entry to ‘test_buf_select_short.part.0’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:398:12: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:404:23: note: (4) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:405:23: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test_buf_select_short.part.0’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_buf_select_short.part.0’ at read-write.c:405:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test_buf_select_short.part.0’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_buf_select_short.part.0’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:405:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_buf_select_short.part.0’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_buf_select_short.part.0’ at read-write.c:405:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘test_buf_select_short.part.0’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c: In function ‘test_buf_select_short.part.0’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:406:17: note: (13) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test_buf_select_short.part.0’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test_buf_select_short.part.0’ at read-write.c:406:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘provide_buffers_iovec’ at read-write.c:441:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c: In function ‘provide_buffers_iovec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:584:12: note: (1) entry to ‘test_rem_buf.part.0’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:596:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:601:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:601:15: note: (4) calling ‘provide_buffers_iovec’ from ‘test_rem_buf.part.0’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:433:12: note: (5) entry to ‘provide_buffers_iovec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:439:23: note: (6) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:440:23: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers_iovec’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers_iovec’ at read-write.c:440:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘provide_buffers_iovec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘provide_buffers_iovec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (11) following ‘false’ branch... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:440:23: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers_iovec’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers_iovec’ at read-write.c:440:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) returning to ‘provide_buffers_iovec’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c: In function ‘provide_buffers_iovec’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:441:17: note: (15) inlined call to ‘io_uring_prep_provide_buffers’ from ‘provide_buffers_iovec’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘provide_buffers_iovec’ at read-write.c:441:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/read-write.c:419:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:225:15: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:316:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:18: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at recv-msgall-stream.c:303:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:366:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:370:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:373:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:373:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:338:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:355:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:361:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:361:9: note: (8) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:260:12: note: (9) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:271:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:276:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:277:23: note: (12) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:20: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:277:23: note: (14) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:20: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:280:18: note: (16) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:281:12: note: (17) following ‘false’ branch (when ‘sockfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:286:9: note: (18) ...to here <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:6: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:287:9: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:288:9: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:294:12: note: (21) following ‘false’ branch... <--[gcc] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:301:23: note: (23) following ‘true’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:302:23: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall-stream.c:302:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (28) following ‘false’ branch... <--[gcc] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:302:23: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall-stream.c:302:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:303:17: note: (32) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at recv-msgall-stream.c:303:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:273:24: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:366:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:370:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:373:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:373:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:338:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:355:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:361:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:361:9: note: (8) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:260:12: note: (9) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:271:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:276:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:276:15: note: (12) allocated here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:277:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:24: note: (15) assuming ‘buf’ is non-NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:277:23: note: (16) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:20: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:280:18: note: (18) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:281:12: note: (19) following ‘true’ branch (when ‘sockfd < 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:282:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:273:24: note: (21) ‘buf’ leaks here; was allocated at (12) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:24: warning: dereference of possibly-NULL ‘buf’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:366:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:370:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:373:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:373:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:338:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:355:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:361:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:361:9: note: (8) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:260:12: note: (9) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:271:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:276:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:276:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:277:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:20: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-msgall-stream.c:278:24: note: (15) ‘buf + (long unsigned int)i * 4’ could be NULL: unchecked value from (12) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932: warning: uninitvar(CWE-457): Uninitialized variable: addr <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:14: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test’ at recv-multishot.c:141:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:565:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:568:29: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:577:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:96:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:102:45: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:109:22: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:121:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:64: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:135:33: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘false’ branch... <--[gcc] cc1: note: (40) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:141:17: note: (43) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:932:9: note: (44) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:932:2, inlined from ‘test’ at recv-multishot.c:141:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (45) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘io_uring_prep_recv_multishot’ at ../src/include/liburing.h:830:2, inlined from ‘test’ at recv-multishot.c:165:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:565:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:568:29: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:577:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:96:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:102:45: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:109:22: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:121:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:64: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:135:33: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:145:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (45) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (47) following ‘false’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (49) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (50) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (54) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:145:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (59) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (60) inlined call to ‘io_uring_cqe_seen’ from ‘test’ <--[gcc] In function ‘io_uring_cqe_seen’, inlined from ‘test’ at recv-multishot.c:150:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:322:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:50: note: (62) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (63) following ‘false’ branch (when ‘i == 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:153:15: note: (64) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (65) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (66) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (67) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (68) following ‘false’ branch... <--[gcc] cc1: note: (69) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:153:15: note: (70) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (71) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:154:12: note: (72) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:165:17: note: (73) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:165:17: note: (74) inlined call to ‘io_uring_prep_recv_multishot’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:830:9: note: (75) inlined call to ‘io_uring_prep_recv’ from ‘io_uring_prep_recv_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:822:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘io_uring_prep_recv_multishot’ at ../src/include/liburing.h:830:2, inlined from ‘test’ at recv-multishot.c:165:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:497:2, inlined from ‘io_uring_prep_recvmsg_multishot’ at ../src/include/liburing.h:505:2, inlined from ‘test’ at recv-multishot.c:163:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:565:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:568:29: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:577:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:96:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:102:45: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:109:22: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:121:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:64: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:135:33: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:145:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (45) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (47) following ‘false’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (49) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (50) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (54) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:145:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (59) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (60) inlined call to ‘io_uring_cqe_seen’ from ‘test’ <--[gcc] In function ‘io_uring_cqe_seen’, inlined from ‘test’ at recv-multishot.c:150:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:322:12: note: (61) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:50: note: (62) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (63) following ‘false’ branch (when ‘i == 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:153:15: note: (64) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (65) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (66) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (67) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (68) following ‘false’ branch... <--[gcc] cc1: note: (69) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:153:15: note: (70) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (71) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:154:12: note: (72) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:157:26: note: (73) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:163:17: note: (74) inlined call to ‘io_uring_prep_recvmsg_multishot’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:505:9: note: (75) inlined call to ‘io_uring_prep_recvmsg’ from ‘io_uring_prep_recvmsg_multishot’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:497:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recvmsg’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:497:2, inlined from ‘io_uring_prep_recvmsg_multishot’ at ../src/include/liburing.h:505:2, inlined from ‘test’ at recv-multishot.c:163:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (77) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘test’ at recv-multishot.c:194:5: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:398:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:565:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:568:29: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:577:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:96:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:102:45: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:18: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:109:22: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:121:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:64: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:135:33: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (40) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:145:20: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (45) following ‘true’ branch (when ‘i != 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:125:87: note: (47) following ‘false’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:137:20: note: (49) following ‘false’ branch (when ‘i <= 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (50) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (54) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:140:23: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:145:20: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:150:17: note: (59) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:123:23: note: (60) following ‘false’ branch (when ‘i == 512’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:153:15: note: (61) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (62) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (63) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (64) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (65) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (66) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:153:15: note: (67) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:174:23: note: (69) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:175:47: note: (70) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:179:20: note: (71) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:187:20: note: (72) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:187:20: note: (73) following ‘false’ branch (when ‘i != 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:211:20: note: (74) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:174:23: note: (75) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:175:47: note: (76) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:179:20: note: (77) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:187:20: note: (78) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:187:20: note: (79) following ‘true’ branch (when ‘i == 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:188:33: note: (80) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:188:28: note: (81) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:190:33: note: (82) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:193:39: note: (83) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:193:11: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (84) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (85) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (86) following ‘false’ branch... <--[gcc] cc1: note: (87) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:193:39: note: (88) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:193:11: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (89) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/recv-multishot.c:194:33: note: (90) inlined call to ‘io_uring_prep_recv’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:822:9: note: (91) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘test’ at recv-multishot.c:194:5: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:398:18: note: (92) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o register-restrictions.t register-restrictions.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o rename.t rename.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o ringbuf-read.t ringbuf-read.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o ringbuf-status.t ringbuf-status.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o self.t self.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o ring-leak.t ring-leak.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o rsrc_tags.t rsrc_tags.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o rw_merge_test.t rw_merge_test.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o send_recv.t send_recv.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:72:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:568:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:572:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:23:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:13: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:42:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:43:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:50:23: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:57:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:65:15: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:66:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:71:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:71:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘test_restrictions_sqe_op’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:72:9: note: (22) inlined call to ‘io_uring_prep_writev’ from ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:474:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:72:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:76:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:568:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:572:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:23:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:13: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:42:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:43:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:50:23: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:57:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:65:15: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:66:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:71:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:71:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘test_restrictions_sqe_op’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:75:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:75:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:75:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:75:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) returning to ‘test_restrictions_sqe_op’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:76:9: note: (29) inlined call to ‘io_uring_prep_readv’ from ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:76:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:39:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:568:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:572:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:23:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:42:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:39:24: note: (10) ‘pipe1[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:39:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:568:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:572:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:575:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:23:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:37:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:42:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/register-restrictions.c:39:24: note: (10) ‘pipe1[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rename.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at ringbuf-read.c:90:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:130:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:146:12: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:150:23: note: (4) following ‘true’ branch (when ‘i != 64’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:151:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:153:20: note: (6) following ‘false’ branch (when ‘ret == 4096’)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:161:15: note: (8) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:38:12: note: (9) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:49:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:54:12: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:54:12: note: (12) following ‘true’ branch (when ‘dio != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:55:22: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:56:20: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:66:9: note: (15) ...to here <--[gcc] cc1: note: (16) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:71:14: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:72:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:82:23: note: (20) following ‘true’ branch (when ‘i != 64’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:83:60: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:88:23: note: (22) following ‘true’ branch (when ‘i != 64’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:89:23: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-read.c:89:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:89:23: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-read.c:89:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (30) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-read.c:90:17: note: (31) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (32) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at ringbuf-read.c:90:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (33) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at ringbuf-status.c:157:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:80:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:95:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:105:13: note: (6) ...to here <--[gcc] cc1: note: (7) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:108:14: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:109:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:119:23: note: (11) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:120:60: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:119:23: note: (13) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:120:60: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:131:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:141:12: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:141:12: note: (17) following ‘false’ branch (when ‘invalid == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:145:18: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:145:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:150:15: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:150:15: note: (21) calling ‘io_uring_buf_ring_available’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1499:19: note: (22) entry to ‘io_uring_buf_ring_available’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1507:12: note: (23) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1508:24: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:150:15: note: (25) returning to ‘test’ from ‘io_uring_buf_ring_available’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:151:12: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:156:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-status.c:156:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1417:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1419:27: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (33) following ‘false’ branch... <--[gcc] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:156:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-status.c:156:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (36) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:157:9: note: (37) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (38) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at ringbuf-status.c:157:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (39) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:97:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:217:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:221:15: note: (2) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:80:12: note: (3) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:95:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:105:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:97:24: note: (10) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:97:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:217:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:221:15: note: (2) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:80:12: note: (3) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:95:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (6) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:13: note: (7) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:100:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:105:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ringbuf-status.c:97:24: note: (10) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/self.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c: In function ‘test_scm_cycles’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:165:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:163:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:167:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:168:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:13: note: (5) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:13: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:176:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:165:24: note: (9) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:165:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:163:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:167:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:168:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:13: note: (5) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:13: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:172:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:176:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak.c:165:24: note: (9) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rsrc_tags.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rsrc_tags.c:110:3: warning: Potential leak of memory pointed to by 'tags' [unix.Malloc] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at rw_merge_test.c:51:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:34:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:34:15: note: (4) when ‘pipe’ succeeds <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:11: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:35:9: note: (5) following ‘true’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:37:14: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:38:9: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:39:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:41:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:43:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:44:12: note: (11) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:46:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:46:17: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:50:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘false’ branch... <--[gcc] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:50:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:51:9: note: (22) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at rw_merge_test.c:51:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at rw_merge_test.c:56:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:34:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:34:15: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:35:9: note: (5) following ‘true’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:37:14: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:38:9: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:39:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:41:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:43:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:44:12: note: (11) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:46:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:46:17: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:50:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:50:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:55:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (25) following ‘false’ branch... <--[gcc] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:55:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:56:9: note: (29) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at rw_merge_test.c:56:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at rw_merge_test.c:75:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:34:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:34:15: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:35:9: note: (5) following ‘true’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:37:14: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:38:9: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:39:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:41:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:43:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:44:12: note: (11) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:46:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:46:17: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:50:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:50:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:55:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (25) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:55:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:60:9: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:62:15: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:62:15: note: (31) calling ‘io_uring_wait_cqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (32) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (33) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (34) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (35) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (37) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (39) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (40) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:62:15: note: (42) returning to ‘main’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:63:9: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:64:19: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:64:9: note: (45) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:65:19: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:65:9: note: (47) following ‘true’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:74:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:74:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (51) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (52) following ‘false’ branch... <--[gcc] cc1: note: (53) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:74:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:74:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (55) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/rw_merge_test.c:75:9: note: (56) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (57) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at rw_merge_test.c:75:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (58) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:513:2, inlined from ‘test_invalid’ at send_recv.c:283:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:307:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:311:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (4) calling ‘test_invalid’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:263:12: note: (5) entry to ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:272:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:278:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:279:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:282:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:282:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:282:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:282:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘test_invalid’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:283:9: note: (17) inlined call to ‘io_uring_prep_sendmsg’ from ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:513:9: note: (18) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sendmsg’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:513:2, inlined from ‘test_invalid’ at send_recv.c:283:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (19) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:497:2, inlined from ‘test_invalid’ at send_recv.c:287:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:307:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:311:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (4) calling ‘test_invalid’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:263:12: note: (5) entry to ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:272:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:278:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:279:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:282:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:282:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:282:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:282:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘test_invalid’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:286:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:286:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:286:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:286:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_invalid’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘test_invalid’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:287:9: note: (24) inlined call to ‘io_uring_prep_recvmsg’ from ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:497:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recvmsg’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:497:2, inlined from ‘test_invalid’ at send_recv.c:287:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at send_recv.c:205:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:307:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:311:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (4) calling ‘test_invalid’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:263:12: note: (5) entry to ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:273:20: note: (6) following ‘true’ branch (when ‘ret == -22’)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:314:15: note: (8) returning to ‘main’ from ‘test_invalid’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:315:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:320:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:320:15: note: (11) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:235:12: note: (12) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:251:12: note: (13) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:257:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:258:9: note: (15) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:169:12: note: (16) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:182:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:187:9: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:192:18: note: (19) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:193:12: note: (20) following ‘false’ branch (when ‘sockfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:198:15: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:199:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:204:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at send_recv.c:204:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (27) following ‘false’ branch... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:204:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at send_recv.c:204:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (30) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:205:9: note: (31) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (32) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at send_recv.c:205:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (33) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recv.c:214:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o ring-leak2.t ring-leak2.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o send_recvmsg.t send_recvmsg.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o shared-wq.t shared-wq.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o short-read.t short-read.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o shutdown.t shutdown.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sigfd-deadlock.t sigfd-deadlock.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o socket-rw.t socket-rw.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o socket-rw-eagain.t socket-rw-eagain.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o socket-rw-offset.t socket-rw-offset.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sq-full.t sq-full.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' g++ \ -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -std=c++11 -DLIBURING_BUILD_TEST \ -o sq-full-cpp.t sq-full-cpp.cc helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sqpoll-disable-exit.t sqpoll-disable-exit.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o socket-io-cmd.t socket-io-cmd.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o socket-getsetsock-cmd.t socket-getsetsock-cmd.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sqpoll-exit-hang.t sqpoll-exit-hang.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o single-issuer.t single-issuer.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sq-poll-kthread.t sq-poll-kthread.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sq-poll-dup.t sq-poll-dup.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sqpoll-sleep.t sqpoll-sleep.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o splice.t splice.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:23: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:72:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c: In function ‘add_socket_eventfd_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:63:13: note: (1) entry to ‘add_socket_eventfd_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:71:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_eventfd_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_socket_eventfd_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_socket_eventfd_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:71:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_eventfd_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:71:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘add_socket_eventfd_read’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c: In function ‘add_socket_eventfd_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:72:9: note: (9) inlined call to ‘io_uring_prep_read’ from ‘add_socket_eventfd_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:72:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘add_socket_pollin’ at ring-leak2.c:87:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c: In function ‘add_socket_pollin’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:78:13: note: (1) entry to ‘add_socket_pollin’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:86:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_pollin’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_pollin’ at ring-leak2.c:86:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_socket_pollin’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘add_socket_pollin’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:86:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_pollin’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_pollin’ at ring-leak2.c:86:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘add_socket_pollin’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c: In function ‘add_socket_pollin’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:87:9: note: (9) inlined call to ‘io_uring_prep_poll_add’ from ‘add_socket_pollin’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘add_socket_pollin’ at ring-leak2.c:87:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c: In function ‘server_thread’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:115:13: warning: ‘listen’ on possibly invalid file descriptor ‘sock_listen_fd’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:100:26: note: (1) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:111:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:115:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/ring-leak2.c:115:13: note: (4) ‘sock_listen_fd’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:513:2, inlined from ‘do_sendmsg’ at send_recvmsg.c:291:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c: In function ‘do_sendmsg’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:352:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:356:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:359:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:359:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:313:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:323:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:326:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:338:12: note: (8) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:344:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:345:9: note: (10) calling ‘do_sendmsg’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:252:12: note: (11) entry to ‘do_sendmsg’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:266:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:271:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:282:18: note: (14) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:283:12: note: (15) following ‘false’ branch (when ‘sockfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:288:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:290:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘do_sendmsg’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_sendmsg’ at send_recvmsg.c:290:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘do_sendmsg’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_sendmsg’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:290:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘do_sendmsg’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_sendmsg’ at send_recvmsg.c:290:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘do_sendmsg’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c: In function ‘do_sendmsg’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:291:9: note: (24) inlined call to ‘io_uring_prep_sendmsg’ from ‘do_sendmsg’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:513:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sendmsg’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:513:2, inlined from ‘do_sendmsg’ at send_recvmsg.c:291:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send_recvmsg.c:300:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shared-wq.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:12: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at short-read.c:54:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:396:18: warning: leak of file descriptor ‘open(".short-read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:29:24: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:34:14: note: (4) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:38:12: note: (5) assuming ‘open(".short-read", 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:38:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:43:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:44:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:49:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:49:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:50:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:54:9: note: (18) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘main’ at short-read.c:54:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:396:18: note: (21) ‘open(".short-read", 0)’ leaks here; was opened at (4) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1414:37: warning: leak of file descriptor ‘open(".short-read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:18:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:29:24: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:34:14: note: (4) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:38:12: note: (5) assuming ‘open(".short-read", 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:38:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:43:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:44:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:49:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:49:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1414:37: note: (17) ‘open(".short-read", 0)’ leaks here; was opened at (4) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:44:12: warning: leak of file descriptor ‘open(".short-read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:26:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:29:24: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:34:14: note: (3) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:38:12: note: (4) assuming ‘open(".short-read", 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:38:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:43:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/short-read.c:44:12: note: (7) ‘open(".short-read", 0)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:21: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_shutdown’ at ../src/include/liburing.h:947:2, inlined from ‘main’ at shutdown.c:105:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:28:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:35:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:38:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:40:19: note: (4) when ‘socket’ succeeds <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:10: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:43:9: note: (5) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:44:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:45:9: note: (7) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:47:25: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:51:9: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:52:15: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:52:15: note: (11) when ‘listen’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:53:9: note: (12) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:55:19: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:55:19: note: (14) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:59:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:61:25: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:62:9: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:64:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:66:9: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:68:15: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:69:9: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:71:17: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:72:9: note: (23) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:74:15: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:76:9: note: (25) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:78:19: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:79:9: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:81:9: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:88:17: note: (29) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:90:21: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:97:9: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:104:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at shutdown.c:104:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (36) following ‘false’ branch... <--[gcc] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:104:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at shutdown.c:104:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:105:17: note: (40) inlined call to ‘io_uring_prep_shutdown’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:947:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_shutdown’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_shutdown’ at ../src/include/liburing.h:947:2, inlined from ‘main’ at shutdown.c:105:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(&m_io_uring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:52:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:35:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:38:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:40:19: note: (3) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:43:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:44:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:45:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:47:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:51:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:52:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/shutdown.c:52:15: note: (10) ‘recv_s0’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_uring’ at sigfd-deadlock.c:43:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c: In function ‘test_uring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:31:12: note: (1) entry to ‘test_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:39:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:42:15: note: (3) inlined call to ‘io_uring_get_sqe’ from ‘test_uring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_uring’ at sigfd-deadlock.c:42:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (5) calling ‘_io_uring_get_sqe’ from ‘test_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_uring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (6) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:42:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_uring’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_uring’ at sigfd-deadlock.c:42:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (10) returning to ‘test_uring’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c: In function ‘test_uring’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sigfd-deadlock.c:43:9: note: (11) inlined call to ‘io_uring_prep_poll_add’ from ‘test_uring’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (12) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_uring’ at sigfd-deadlock.c:43:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:49:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:33:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:36:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:38:19: note: (3) when ‘socket’ fails <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:11: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:41:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:42:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:43:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:45:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:48:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:49:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw.c:49:15: note: (10) ‘recv_s0’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:47:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:31:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:34:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:36:19: note: (3) when ‘socket’ fails <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:9: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:39:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:40:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:41:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:43:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:46:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:47:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-eagain.c:47:15: note: (10) ‘recv_s0’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:49:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:33:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:36:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:38:19: note: (3) when ‘socket’ fails <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:11: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:41:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:42:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:43:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:45:25: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:48:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:49:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-rw-offset.c:49:15: note: (10) ‘recv_s0’ could be invalid <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-full.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-full.c:32:10: warning: Although the value stored to 'sqe' is used in the enclosing expression, the value is never actually read from 'sqe' [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-full-cpp.cc:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-full-cpp.cc:32:10: warning: Although the value stored to 'sqe' is used in the enclosing expression, the value is never actually read from 'sqe' [deadcode.DeadStores] <--[clang++] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-disable-exit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-disable-exit.c:94:17: warning: Dereference of null pointer (loaded from variable 'ring_ptr_out') [core.NullDereference] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-disable-exit.c:94: warning: nullPointer(CWE-476): Possible null pointer dereference: ring_ptr_out <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-disable-exit.c:98: warning: nullPointer(CWE-476): Possible null pointer dereference: sqes_ptr_out <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-io-cmd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-getsetsock-cmd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket-getsetsock-cmd.c:127:14: warning: The left operand of '==' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:12: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at sqpoll-exit-hang.c:69:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:39:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:47:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:50:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:54:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:63:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:63:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:68:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at sqpoll-exit-hang.c:68:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (11) following ‘false’ branch... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:68:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at sqpoll-exit-hang.c:68:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:69:9: note: (15) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at sqpoll-exit-hang.c:69:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-exit-hang.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:11: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘try_submit’ at single-issuer.c:50:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c: In function ‘try_submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:70:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:75:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:78:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:79:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:81:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:81:19: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:87:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:87:15: note: (8) calling ‘try_submit’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:43:12: note: (9) entry to ‘try_submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:49:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘try_submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘try_submit’ at single-issuer.c:49:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘try_submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘try_submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:49:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘try_submit’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘try_submit’ at single-issuer.c:49:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘try_submit’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c: In function ‘try_submit’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/single-issuer.c:50:9: note: (17) inlined call to ‘io_uring_prep_nop’ from ‘try_submit’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (18) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘try_submit’ at single-issuer.c:50:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (19) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-kthread.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-kthread.c:132:2: warning: Value stored to 'pid' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-dup.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sqpoll-sleep.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o send-zerocopy.t send-zerocopy.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o skip-cqe.t skip-cqe.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o socket.t socket.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sq-poll-share.t sq-poll-share.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sq-space_left.t sq-space_left.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c: In function ‘init_splice_ctx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:111:15: warning: leak of file descriptor ‘open("/dev/urandom", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:444:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:452:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:455:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:456:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:460:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:460:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:465:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:465:15: note: (8) calling ‘init_splice_ctx’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:87:12: note: (9) entry to ‘init_splice_ctx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:95:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:100:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:101:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:107:18: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:107:18: note: (14) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:108:12: note: (15) assuming ‘open("/dev/urandom", 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:108:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:111:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:111:15: note: (18) calling ‘read_buf’ from ‘init_splice_ctx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:36:12: note: (19) entry to ‘read_buf’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:40:16: note: (20) following ‘true’ branch (when ‘len != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:41:23: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:111:15: note: (22) returning to ‘init_splice_ctx’ from ‘read_buf’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/splice.c:111:15: note: (23) ‘open("/dev/urandom", 0)’ leaks here; was opened at (14) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c: In function ‘create_socketpair_ip’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:292:24: warning: leak of file descriptor ‘sock’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:831:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:836:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:839:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:840:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:844:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:844:12: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:849:19: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:869:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:874:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:886:12: note: (10) following ‘true’ branch (when ‘len == 33554432’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:888:35: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:894:20: note: (12) following ‘false’ branch (when ‘huge_page == 18446744073709551615’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:900:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:900:15: note: (14) calling ‘run_basic_tests’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:772:12: note: (15) entry to ‘run_basic_tests’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:778:15: note: (16) calling ‘create_socketpair_ip’ from ‘run_basic_tests’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:257:12: note: (17) entry to ‘create_socketpair_ip’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:267:12: note: (18) following ‘true’ branch (when ‘ipv6 != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:271:36: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:285:12: note: (20) following ‘true’ branch (when ‘tcp != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:286:38: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:286:38: note: (22) stream socket created here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:286:38: note: (23) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:290:12: note: (24) following ‘false’ branch (when ‘sock >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:295:15: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:296:12: note: (26) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:301:15: note: (27) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:302:12: note: (28) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:307:12: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:307:12: note: (30) following ‘true’ branch (when ‘tcp != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:308:23: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:308:23: note: (32) stream socket marked as passive here via ‘listen’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:308:23: note: (33) when ‘listen’ succeeds <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:5: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:309:17: note: (34) following ‘true’ branch (when ‘ret != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:312:12: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:312:12: note: (36) following ‘true’ branch (when ‘ipv6 != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:315:45: note: (37) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:323:12: note: (38) following ‘true’ branch (when ‘tcp != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:324:32: note: (39) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:324:32: note: (40) when ‘socket’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:325:17: note: (41) following ‘true’ branch (when ‘client_connect != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:329:13: note: (42) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:329:12: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:330:17: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/send-zerocopy.c:292:24: note: (45) ‘sock’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:10: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_link_success’ at skip-cqe.c:32:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c: In function ‘test_link_success’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:307:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:314:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:317:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:317:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:317:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:321:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:322:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:327:19: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:327:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:330:23: note: (11) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:332:29: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:332:46: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:334:23: note: (15) calling ‘test_link_success’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:24:12: note: (16) entry to ‘test_link_success’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:30:23: note: (17) following ‘true’ branch (when ‘i < nr’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:31:23: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘test_link_success’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_link_success’ at skip-cqe.c:31:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘test_link_success’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_link_success’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:31:23: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘test_link_success’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_link_success’ at skip-cqe.c:31:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) returning to ‘test_link_success’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c: In function ‘test_link_success’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/skip-cqe.c:32:17: note: (26) inlined call to ‘io_uring_prep_nop’ from ‘test_link_success’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_link_success’ at skip-cqe.c:32:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:16: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket’ at ../src/include/liburing.h:1113:2, inlined from ‘do_send’ at socket.c:261:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:340:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:362:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:239:12: note: (7) ...to here <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:14: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:248:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:254:12: note: (17) following ‘false’ branch (when ‘socket_direct == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:261:17: note: (18) inlined call to ‘io_uring_prep_socket’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1113:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket’ at ../src/include/liburing.h:1113:2, inlined from ‘do_send’ at socket.c:261:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct’ at ../src/include/liburing.h:1123:2, inlined from ‘do_send’ at socket.c:258:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:340:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:362:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:239:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:241:20: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:247:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:247:9: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:248:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:254:12: note: (19) following ‘true’ branch (when ‘socket_direct != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:256:20: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:258:17: note: (21) inlined call to ‘io_uring_prep_socket_direct’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1123:9: note: (22) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket_direct’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct’ at ../src/include/liburing.h:1123:2, inlined from ‘do_send’ at socket.c:258:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (23) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:669:2, inlined from ‘do_send’ at socket.c:290:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:340:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:362:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:239:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:248:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:264:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (19) calling ‘io_uring_wait_cqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (20) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (21) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (22) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (23) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (25) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (27) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (30) returning to ‘do_send’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:269:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:273:16: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:273:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:285:13: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:285:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:289:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:289:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (40) following ‘false’ branch... <--[gcc] cc1: note: (41) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:289:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:289:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (43) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:290:9: note: (44) inlined call to ‘io_uring_prep_connect’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:669:9: note: (45) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_connect’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:669:2, inlined from ‘do_send’ at socket.c:290:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (46) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘fallback_send’ at socket.c:194:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘fallback_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:340:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:362:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:239:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:248:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘fallback_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘fallback_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:264:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (19) calling ‘io_uring_wait_cqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (20) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (21) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (22) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (23) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (25) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (27) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (30) returning to ‘do_send’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:269:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:273:16: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:273:12: note: (33) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:274:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:274:20: note: (35) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:275:35: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:277:32: note: (37) calling ‘fallback_send’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:171:12: note: (38) entry to ‘fallback_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:181:18: note: (39) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:182:12: note: (40) following ‘false’ branch (when ‘sockfd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:187:15: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:188:12: note: (42) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:193:15: note: (43) inlined call to ‘io_uring_get_sqe’ from ‘fallback_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘fallback_send’ at socket.c:193:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘fallback_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘fallback_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (47) following ‘false’ branch... <--[gcc] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:193:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘fallback_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘fallback_send’ at socket.c:193:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (50) returning to ‘fallback_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘fallback_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:194:9: note: (51) inlined call to ‘io_uring_prep_send’ from ‘fallback_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (52) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘fallback_send’ at socket.c:194:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (53) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at socket.c:311:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:340:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:362:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:239:12: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:248:9: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:264:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (19) calling ‘io_uring_wait_cqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (20) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (21) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (22) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (23) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (25) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (27) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:268:15: note: (30) returning to ‘do_send’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:269:12: note: (31) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:273:16: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:273:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:285:13: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:285:12: note: (35) following ‘false’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:289:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:289:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (40) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:289:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:289:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (43) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:295:12: note: (44) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:299:15: note: (45) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:299:15: note: (46) calling ‘io_uring_wait_cqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (47) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (48) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (49) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (50) following ‘false’ branch (when ‘available != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1358:32: note: (51) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (52) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (53) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (54) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (55) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:299:15: note: (57) returning to ‘do_send’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:300:12: note: (58) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:304:16: note: (59) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:304:12: note: (60) following ‘false’ branch... <--[gcc] cc1: note: (61) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:310:15: note: (62) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:310:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (63) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (64) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (65) following ‘false’ branch... <--[gcc] cc1: note: (66) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:310:15: note: (67) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:310:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (68) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c: In function ‘do_send’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:311:9: note: (69) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (70) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_send’ at socket.c:311:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (71) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:203:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/socket.c:322:2: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:91:14: note: (1) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (2) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:100:23: note: (5) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:101:40: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:104:20: note: (7) following ‘false’ branch (when ‘i == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:108:23: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (9) ‘open(fname, 16384)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:91:14: note: (1) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (2) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:100:23: note: (5) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:101:40: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:104:20: note: (7) following ‘false’ branch (when ‘i == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:108:23: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:109:20: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:114:24: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (11) ‘open(fname, 16384)’ leaks here; was opened at (1) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:74:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:91:14: note: (2) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (3) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:100:23: note: (6) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:101:40: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:104:20: note: (8) following ‘false’ branch (when ‘i == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:108:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:109:20: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:114:24: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:114:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:100:36: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:121:20: note: (14) following ‘true’ branch (when ‘ios != 32768’)... <--[gcc] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:122:31: note: (16) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:123:31: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:123:31: note: (18) calling ‘queue_io’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:51:12: note: (19) entry to ‘queue_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:58:16: note: (20) following ‘true’ branch (when ‘nr_ios != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:61:23: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘queue_io’ <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:16: <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_io’ at sq-poll-share.c:61:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:62:20: note: (23) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:70:9: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:123:31: note: (25) returning to ‘main’ from ‘queue_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:122:31: note: (26) following ‘false’ branch (when ‘i == 4’)... <--[gcc] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:128:31: note: (28) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:129:29: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (30) ‘open(fname, 16384)’ leaks here; was opened at (2) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:74:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:91:14: note: (2) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (3) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:92:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:100:23: note: (6) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:101:40: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:104:20: note: (8) following ‘false’ branch (when ‘i == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:108:23: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:109:20: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:114:24: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:114:20: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:100:36: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:121:20: note: (14) following ‘true’ branch (when ‘ios != 32768’)... <--[gcc] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:122:31: note: (16) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:123:31: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:123:31: note: (18) calling ‘queue_io’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:51:12: note: (19) entry to ‘queue_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:58:16: note: (20) following ‘true’ branch (when ‘nr_ios != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:61:23: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘queue_io’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_io’ at sq-poll-share.c:61:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:62:20: note: (23) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:70:9: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:123:31: note: (25) returning to ‘main’ from ‘queue_io’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:122:31: note: (26) following ‘false’ branch (when ‘i == 4’)... <--[gcc] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:128:31: note: (28) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:129:29: note: (29) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:129:28: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:128:44: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-poll-share.c:97:26: note: (32) ‘open(fname, 16384)’ leaks here; was opened at (2) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-space_left.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sq-space_left.c:34:10: warning: Although the value stored to 'sqe' is used in the enclosing expression, the value is never actually read from 'sqe' [deadcode.DeadStores] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o stdout.t stdout.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o submit-and-wait.t submit-and-wait.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o symlink.t symlink.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o teardowns.t teardowns.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o timeout-new.t timeout-new.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o thread-exit.t thread-exit.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o version.t version.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o tty-write-dpoll.t tty-write-dpoll.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o unlink.t unlink.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o wakeup-hang.t wakeup-hang.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o wq-aff.t wq-aff.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o waitid.t waitid.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o statx.t statx.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o sync-cancel.t sync-cancel.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o truncate.t truncate.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o submit-reuse.t submit-reuse.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/stdout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-and-wait.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/symlink.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/teardowns.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c:10: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_return_before_timeout’ at timeout-new.c:62:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c: In function ‘test_return_before_timeout’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c:51:12: note: (1) entry to ‘test_return_before_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c:61:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘test_return_before_timeout’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_return_before_timeout’ at timeout-new.c:61:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘test_return_before_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_return_before_timeout’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c:61:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘test_return_before_timeout’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_return_before_timeout’ at timeout-new.c:61:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘test_return_before_timeout’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c: In function ‘test_return_before_timeout’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout-new.c:62:9: note: (9) inlined call to ‘io_uring_prep_nop’ from ‘test_return_before_timeout’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_return_before_timeout’ at timeout-new.c:62:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/thread-exit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/version.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:18: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘main’ at tty-write-dpoll.c:50:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:24:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:34:14: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:35:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:38:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:39:12: note: (6) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:41:17: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:41:17: note: (8) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:44:23: note: (10) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:47:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at tty-write-dpoll.c:47:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (15) following ‘false’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:47:23: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at tty-write-dpoll.c:47:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:50:17: note: (19) inlined call to ‘io_uring_prep_writev’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:474:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘main’ at tty-write-dpoll.c:50:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:39:12: warning: leak of file descriptor ‘open("/dev/ttyS0", 2050)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:31:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:34:14: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:34:14: note: (3) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:35:12: note: (4) assuming ‘open("/dev/ttyS0", 2050)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:35:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:38:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:39:12: note: (7) ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:41:17: warning: leak of file descriptor ‘open("/dev/ttyS0", 2050)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:31:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:34:14: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:34:14: note: (3) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:35:12: note: (4) assuming ‘open("/dev/ttyS0", 2050)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:35:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:38:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:39:12: note: (7) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:41:17: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/tty-write-dpoll.c:41:17: note: (9) ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/unlink.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:11: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_pipes’ at wakeup-hang.c:81:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c: In function ‘test_pipes’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:59:12: note: (1) entry to ‘test_pipes’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:71:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:72:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:77:26: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:80:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘test_pipes’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_pipes’ at wakeup-hang.c:80:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) calling ‘_io_uring_get_sqe’ from ‘test_pipes’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_pipes’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (9) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:80:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test_pipes’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_pipes’ at wakeup-hang.c:80:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) returning to ‘test_pipes’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c: In function ‘test_pipes’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:81:9: note: (14) inlined call to ‘io_uring_prep_poll_add’ from ‘test_pipes’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (15) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_pipes’ at wakeup-hang.c:81:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (16) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_eventfd’ at wakeup-hang.c:123:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:100:12: note: (1) entry to ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:110:12: note: (2) following ‘false’ branch (when ‘efd >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:113:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:114:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:119:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:122:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at wakeup-hang.c:122:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:122:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at wakeup-hang.c:122:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c: In function ‘test_eventfd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:123:9: note: (13) inlined call to ‘io_uring_prep_poll_add’ from ‘test_eventfd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘test_eventfd’ at wakeup-hang.c:123:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c: In function ‘test_pipes’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:74:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:13: note: (1) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:71:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:72:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:73:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:74:24: note: (7) ‘fds[1]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:74:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:13: note: (1) opened here as read-write <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:68:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:71:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:72:12: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:73:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wakeup-hang.c:74:24: note: (7) ‘fds[0]’ leaks here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:11: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at wq-aff.c:118:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:87:12: note: (1) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:107:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:112:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:112:13: note: (4) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:112:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:117:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at wq-aff.c:117:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (9) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (10) following ‘false’ branch... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:117:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at wq-aff.c:117:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/wq-aff.c:118:9: note: (14) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (15) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test’ at wq-aff.c:118:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (16) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:113:16: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:154:16: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:306:16: warning: The left operand of '!=' is a garbage value [core.UndefinedBinaryOperatorResult] <--[clang] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:10: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_waitid’ at ../src/include/liburing.h:1166:2, inlined from ‘test’ at waitid.c:287:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:315:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:320:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:323:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:325:15: note: (4) calling ‘test’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:272:12: note: (5) entry to ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:281:12: note: (6) following ‘false’ branch (when ‘pid != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:286:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at waitid.c:286:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (11) following ‘false’ branch... <--[gcc] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:286:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test’ at waitid.c:286:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c: In function ‘test’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/waitid.c:287:9: note: (15) inlined call to ‘io_uring_prep_waitid’ from ‘test’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1166:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_waitid’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_waitid’ at ../src/include/liburing.h:1166:2, inlined from ‘test’ at waitid.c:287:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:16: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1414:37: warning: leak of file descriptor ‘open(path, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:130:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:137:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:142:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:149:15: note: (4) calling ‘test_statx’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:39:12: note: (5) entry to ‘test_statx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:46:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘test_statx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_statx’ at statx.c:46:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test_statx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:46:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_statx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_statx’ at statx.c:46:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (12) returning to ‘test_statx’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:47:12: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:51:9: note: (14) inlined call to ‘io_uring_prep_statx’ from ‘test_statx’ <--[gcc] In function ‘io_uring_prep_statx’, inlined from ‘test_statx’ at statx.c:51:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:748:9: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:54:12: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:59:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:59:15: note: (18) calling ‘io_uring_wait_cqe’ from ‘test_statx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1395:19: note: (19) entry to ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (20) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1336:19: note: (21) entry to ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1355:20: note: (22) following ‘true’ branch (when ‘available == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1372:18: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1373:12: note: (24) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1375:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:14: note: (26) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:12: note: (27) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:58: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1398:55: note: (29) following ‘false’ branch... <--[gcc] cc1: note: (30) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:59:15: note: (31) returning to ‘test_statx’ from ‘io_uring_wait_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:60:12: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:64:18: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:66:12: note: (34) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:68:15: note: (35) inlined call to ‘do_statx’ from ‘test_statx’ <--[gcc] In function ‘do_statx’, inlined from ‘test_statx’ at statx.c:68:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:23:16: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:71:12: note: (37) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:67:24: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:149:15: note: (39) returning to ‘main’ from ‘test_statx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:150:12: note: (40) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:159:15: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:159:15: note: (42) calling ‘test_statx_fd’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:80:12: note: (43) entry to ‘test_statx_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:87:14: note: (44) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:88:12: note: (45) assuming ‘open(path, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:88:12: note: (46) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:93:9: note: (47) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:95:15: note: (48) inlined call to ‘io_uring_get_sqe’ from ‘test_statx_fd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_statx_fd’ at statx.c:95:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (49) calling ‘_io_uring_get_sqe’ from ‘test_statx_fd’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (50) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (51) following ‘false’ branch... <--[gcc] cc1: note: (52) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/statx.c:95:15: note: (53) inlined call to ‘io_uring_get_sqe’ from ‘test_statx_fd’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_statx_fd’ at statx.c:95:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (54) returning to ‘test_statx_fd’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_statx_fd’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1414:37: note: (55) ‘open(path, 0)’ leaks here; was opened at (44) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_sync_cancel’ at sync-cancel.c:101:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c: In function ‘test_sync_cancel’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:157:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:162:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:165:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:166:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:168:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:168:17: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:171:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:171:15: note: (8) calling ‘test_sync_cancel’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:82:12: note: (9) entry to ‘test_sync_cancel’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:91:13: note: (10) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:91:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:97:12: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:97:12: note: (13) following ‘false’ branch (when ‘nr_all == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:99:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:99:23: note: (15) following ‘true’ branch (when ‘to_prep > i’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:100:23: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_sync_cancel’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_sync_cancel’ at sync-cancel.c:100:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_sync_cancel’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_sync_cancel’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (20) following ‘false’ branch... <--[gcc] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:100:23: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_sync_cancel’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_sync_cancel’ at sync-cancel.c:100:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (23) returning to ‘test_sync_cancel’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c: In function ‘test_sync_cancel’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/sync-cancel.c:101:17: note: (24) inlined call to ‘io_uring_prep_read’ from ‘test_sync_cancel’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_sync_cancel’ at sync-cancel.c:101:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/truncate.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/truncate.c:153:6: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/helpers.h:12, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:15: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘prep’ at submit-reuse.c:67:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c: In function ‘prep’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:217:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:221:23: note: (2) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:224:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:227:23: note: (4) calling ‘test_reuse’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:130:12: note: (5) entry to ‘test_reuse’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:142:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:147:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:147:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:154:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:164:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:169:9: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:172:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:177:18: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:184:23: note: (14) following ‘true’ branch (when ‘i != 1000’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:185:23: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:185:23: note: (16) calling ‘prep’ from ‘test_reuse’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:46:12: note: (17) entry to ‘prep’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:52:12: note: (18) following ‘false’ branch (when ‘split == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:62:34: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:66:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘prep’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘prep’ at submit-reuse.c:66:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘prep’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘prep’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:66:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘prep’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘prep’ at submit-reuse.c:66:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) returning to ‘prep’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c: In function ‘prep’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:67:9: note: (27) following ‘false’ branch (when ‘split == 0’)... <--[gcc] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:67:9: note: (29) inlined call to ‘io_uring_prep_readv’ from ‘prep’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘prep’ at submit-reuse.c:67:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c: In function ‘test_reuse’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:172:12: warning: leak of file descriptor ‘open(fname1, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:217:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:221:23: note: (2) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:224:23: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:227:23: note: (4) calling ‘test_reuse’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:130:12: note: (5) entry to ‘test_reuse’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:142:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:147:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:147:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:154:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:161:15: note: (10) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:164:12: note: (11) assuming ‘open(fname1, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:164:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:169:9: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-reuse.c:172:12: note: (14) ‘open(fname1, 0)’ leaks here; was opened at (10) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/timeout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/xattr.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o timeout.t timeout.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o xattr.t xattr.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' gcc -D_GNU_SOURCE -D__SANE_USERSPACE_TYPES__ -I../src/include/ -include ../config-host.h -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-parameter -Wno-sign-compare -Wstringop-overflow=0 -Warray-bounds=0 -DLIBURING_BUILD_TEST -o submit-link-fail.t submit-link-fail.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:13: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:122:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:39: note: (4) following ‘true’ branch (when ‘link_size != 3’)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:135:45: note: (6) following ‘false’ branch (when ‘link_size <= fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:53: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:39: note: (8) following ‘true’ branch (when ‘link_size != 3’)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:135:45: note: (10) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:136:39: note: (12) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:138:49: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:141:39: note: (14) calling ‘test_underprep_fail’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:17:12: note: (15) entry to ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:29:12: note: (16) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:31:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:31:12: note: (18) following ‘false’ branch (when ‘hardlink == 0’)... <--[gcc] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:11: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (20) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (22) following ‘true’ branch (when ‘link_size <= 39’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:38:15: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:39:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:13: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:13: note: (26) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:12: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (29) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:9: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:23: note: (31) following ‘true’ branch (when ‘i < link_size’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (36) following ‘false’ branch... <--[gcc] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:59:20: note: (40) following ‘true’ branch (when ‘i == fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:60:25: note: (41) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (42) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (44) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:63:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:122:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:39: note: (4) following ‘true’ branch (when ‘link_size != 3’)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:135:45: note: (6) following ‘false’ branch (when ‘link_size <= fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:53: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:39: note: (8) following ‘true’ branch (when ‘link_size != 3’)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:135:45: note: (10) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:136:39: note: (12) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:138:49: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:141:39: note: (14) calling ‘test_underprep_fail’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:17:12: note: (15) entry to ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:29:12: note: (16) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:31:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:31:12: note: (18) following ‘false’ branch (when ‘hardlink == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (20) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (22) following ‘true’ branch (when ‘link_size <= 39’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:38:15: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:39:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:13: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:13: note: (26) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:12: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (29) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:9: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:23: note: (31) following ‘true’ branch (when ‘i < link_size’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (36) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (37) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (39) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:59:20: note: (40) following ‘true’ branch (when ‘i == fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:60:25: note: (41) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (42) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (43) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:23: note: (44) following ‘true’ branch (when ‘i < link_size’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (45) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (47) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (48) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (49) following ‘false’ branch... <--[gcc] cc1: note: (50) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (51) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (52) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:59:20: note: (53) following ‘false’ branch (when ‘i != fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:63:25: note: (54) inlined call to ‘io_uring_prep_nop’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:566:9: note: (55) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:566:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:63:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (56) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (57) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:51:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:122:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:39: note: (4) following ‘true’ branch (when ‘link_size != 3’)... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:135:45: note: (6) following ‘false’ branch (when ‘link_size <= fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:53: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:134:39: note: (8) following ‘true’ branch (when ‘link_size != 3’)... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:135:45: note: (10) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:136:39: note: (12) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:138:49: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:141:39: note: (14) calling ‘test_underprep_fail’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:17:12: note: (15) entry to ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:29:12: note: (16) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:31:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:31:12: note: (18) following ‘false’ branch (when ‘hardlink == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (20) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (22) following ‘true’ branch (when ‘link_size <= 39’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:38:15: note: (23) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:13: note: (24) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:12: note: (25) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (27) following ‘false’ branch (when ‘drain == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:9: note: (28) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:57:23: note: (29) following ‘true’ branch (when ‘i < link_size’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (31) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (32) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (33) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (35) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:58:23: note: (36) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (37) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:59:20: note: (38) following ‘true’ branch (when ‘i == fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:60:25: note: (39) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (41) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:141:39: note: (42) returning to ‘main’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:143:36: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:143:36: note: (44) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:136:39: note: (45) following ‘true’ branch (when ‘i != 8’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:138:49: note: (46) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:141:39: note: (47) calling ‘test_underprep_fail’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:17:12: note: (48) entry to ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:34:9: note: (49) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (50) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:35:9: note: (51) following ‘true’ branch (when ‘link_size <= 39’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:38:15: note: (52) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:13: note: (53) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:43:12: note: (54) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (55) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:48:12: note: (56) following ‘true’ branch (when ‘drain != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:50:23: note: (57) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:50:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (58) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/test/submit-link-fail.c:51:17: note: (59) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:724:9: note: (60) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:724:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:51:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (61) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o helpers.o -c helpers.c make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c: In function ‘setup_listening_socket’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:29:24: warning: leak of file descriptor ‘fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:26:14: note: (1) stream socket created here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:26:14: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:27:12: note: (3) following ‘false’ branch (when ‘fd != -1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:32:16: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:34:12: note: (5) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:39:12: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:51:12: note: (7) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:56:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:56:13: note: (9) stream socket bound here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:56:13: note: (10) when ‘listen’ fails <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:56:12: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:57:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/helpers.c:29:24: note: (13) ‘fd’ leaks here <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o io_uring-test io_uring-test.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:57:11: warning: Potential leak of memory pointed to by 'iovecs' [unix.Malloc] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:58:36: warning: dereference of possibly-NULL ‘iovecs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:31:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:36:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:37:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:42:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:43:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:48:13: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:48:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:54:18: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:54:18: note: (9) this call could return NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:55:23: note: (10) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:56:21: note: (11) ...to here <--[gcc] cc1: note: (12) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:58:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-test.c:58:36: note: (14) ‘iovecs + (long unsigned int)i * 16’ could be NULL: unchecked value from (9) <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o io_uring-close-test io_uring-close-test.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:68:11: warning: Potential leak of memory pointed to by 'iovecs' [unix.Malloc] <--[clang] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:69:36: warning: dereference of possibly-NULL ‘iovecs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:31:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:36:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:37:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:42:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:43:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:47:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:48:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:53:14: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:54:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:59:13: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:59:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:65:18: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:65:18: note: (13) this call could return NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:66:23: note: (14) following ‘true’ branch (when ‘i != 4’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:67:21: note: (15) ...to here <--[gcc] cc1: note: (16) following ‘true’ branch... /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:69:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-close-test.c:69:36: note: (18) ‘iovecs + (long unsigned int)i * 16’ could be NULL: unchecked value from (13) <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o poll-bench poll-bench.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:12: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at poll-bench.c:66:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:25:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:35:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:35:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:40:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:45:12: note: (5) following ‘false’ branch (when ‘ret == 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:50:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:51:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:56:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:57:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:62:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:64:31: note: (11) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:65:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at poll-bench.c:65:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:65:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at poll-bench.c:65:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/poll-bench.c:66:25: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘main’ at poll-bench.c:66:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o rsrc-update-bench rsrc-update-bench.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:12: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_files_update’ at ../src/include/liburing.h:676:2, inlined from ‘main’ at rsrc-update-bench.c:74:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:24:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:35:13: note: (2) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:35:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:40:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:42:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:46:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:47:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:51:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:52:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:57:23: note: (11) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:58:23: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:59:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:57:38: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:57:23: note: (15) following ‘true’ branch (when ‘i != 128’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:58:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:59:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:57:38: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:71:31: note: (19) following ‘true’ branch (when ‘i != 32’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:72:31: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rsrc-update-bench.c:72:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (24) following ‘false’ branch... <--[gcc] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:72:31: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rsrc-update-bench.c:72:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/rsrc-update-bench.c:74:25: note: (28) inlined call to ‘io_uring_prep_files_update’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:676:9: note: (29) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_files_update’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_files_update’ at ../src/include/liburing.h:676:2, inlined from ‘main’ at rsrc-update-bench.c:74:4: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (30) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o io_uring-udp io_uring-udp.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-udp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-udp.c:166:10: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o io_uring-cp io_uring-cp.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:16: <--[gcc] In function ‘io_uring_sqe_set_data’, inlined from ‘queue_read’ at io_uring-cp.c:103:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:336:24: warning: leak of ‘data’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c: In function ‘queue_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:249:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:255:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:260:16: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:261:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:265:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:266:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:271:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:271:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:273:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:273:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:276:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:276:15: note: (12) calling ‘copy_file’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:119:12: note: (13) entry to ‘copy_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:129:23: note: (14) following ‘true’ branch... <--[gcc] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:137:24: note: (16) following ‘true’ branch (when ‘insize != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:140:35: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:140:28: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:142:28: note: (19) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:147:29: note: (20) calling ‘queue_read’ from ‘copy_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:80:12: note: (21) entry to ‘queue_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:85:16: note: (22) allocated here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:86:12: note: (23) assuming ‘data’ is non-NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:86:12: note: (24) following ‘false’ branch (when ‘data’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:89:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘queue_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_read’ at io_uring-cp.c:89:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘queue_read’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (29) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (30) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:89:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘queue_read’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_read’ at io_uring-cp.c:89:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (32) returning to ‘queue_read’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c: In function ‘queue_read’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:90:12: note: (33) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:95:20: note: (34) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/io_uring-cp.c:103:9: note: (35) inlined call to ‘io_uring_sqe_set_data’ from ‘queue_read’ <--[gcc] In function ‘io_uring_sqe_set_data’, inlined from ‘queue_read’ at io_uring-cp.c:103:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:336:24: note: (36) ‘data’ leaks here; was allocated at (22) <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o napi-busy-poll-client napi-busy-poll-client.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:19: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘sendPing’ at napi-busy-poll-client.c:198:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c: In function ‘sendPing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:292:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:356:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:362:16: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:376:12: note: (4) following ‘false’ branch (when ‘ret > 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:383:100: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:385:27: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:385:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:390:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:394:12: note: (9) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:400:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:415:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:421:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:432:12: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:438:9: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:450:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:456:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:456:9: note: (17) calling ‘sendPing’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:193:13: note: (18) entry to ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:195:36: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘sendPing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:195:36: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (25) returning to ‘sendPing’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c: In function ‘sendPing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:198:9: note: (26) inlined call to ‘io_uring_prep_send’ from ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘sendPing’ at napi-busy-poll-client.c:198:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘receivePing’ at napi-busy-poll-client.c:206:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:292:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:356:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:362:16: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:376:12: note: (4) following ‘false’ branch (when ‘ret > 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:383:100: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:385:27: note: (6) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:385:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:390:16: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:394:12: note: (9) following ‘false’ branch (when ‘ret >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:400:9: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:415:12: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:421:16: note: (12) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:426:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:432:16: note: (14) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:432:12: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:438:9: note: (16) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:450:12: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:456:9: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:456:9: note: (19) calling ‘sendPing’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:193:13: note: (20) entry to ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:195:36: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (25) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:195:36: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (27) returning to ‘sendPing’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:456:9: note: (28) returning to ‘main’ from ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:458:30: note: (29) following ‘true’ branch... <--[gcc] cc1: note: (30) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:296:88: note: (31) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:474:17: note: in expansion of macro ‘io_uring_for_each_cqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:475:25: note: (32) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:476:29: note: (33) calling ‘completion’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:249:12: note: (34) entry to ‘completion’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:256:12: note: (35) following ‘false’ branch (when ‘res >= 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:262:9: note: (36) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:262:9: note: (37) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:263:9: note: (38) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:264:17: note: (39) calling ‘receivePing’ from ‘completion’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:202:13: note: (40) entry to ‘receivePing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:204:36: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-client.c:204:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (42) calling ‘_io_uring_get_sqe’ from ‘receivePing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (43) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (44) following ‘false’ branch... <--[gcc] cc1: note: (45) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:204:36: note: (46) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-client.c:204:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (47) returning to ‘receivePing’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-client.c:206:9: note: (48) inlined call to ‘io_uring_prep_recv’ from ‘receivePing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:822:9: note: (49) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:822:2, inlined from ‘receivePing’ at napi-busy-poll-client.c:206:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (50) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o napi-busy-poll-server napi-busy-poll-server.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:18: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:497:2, inlined from ‘receivePing’ at napi-busy-poll-server.c:217:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:199:13: note: (1) entry to ‘receivePing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:216:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-server.c:216:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘receivePing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:216:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-server.c:216:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘receivePing’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c: In function ‘receivePing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:217:9: note: (9) inlined call to ‘io_uring_prep_recvmsg’ from ‘receivePing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:497:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recvmsg’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:497:2, inlined from ‘receivePing’ at napi-busy-poll-server.c:217:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:513:2, inlined from ‘sendPing’ at napi-busy-poll-server.c:195:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c: In function ‘sendPing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:191:13: note: (1) entry to ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:193:36: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-server.c:193:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘sendPing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:193:36: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-server.c:193:29: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (8) returning to ‘sendPing’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c: In function ‘sendPing’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/napi-busy-poll-server.c:195:9: note: (9) inlined call to ‘io_uring_prep_sendmsg’ from ‘sendPing’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:513:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sendmsg’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:513:2, inlined from ‘sendPing’ at napi-busy-poll-server.c:195:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o link-cp link-cp.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:17: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘queue_rw_pair’ at link-cp.c:80:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:160:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:166:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:171:16: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:172:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:176:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:177:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:182:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:182:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:184:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:184:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:187:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:187:15: note: (12) calling ‘copy_file’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:115:12: note: (13) entry to ‘copy_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:122:16: note: (14) following ‘true’ branch (when ‘insize != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:123:21: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:126:31: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:128:28: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:130:25: note: (18) calling ‘queue_rw_pair’ from ‘copy_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:66:13: note: (19) entry to ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:79:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:79:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) returning to ‘queue_rw_pair’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:80:9: note: (27) inlined call to ‘io_uring_prep_readv’ from ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:450:9: note: (28) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:450:2, inlined from ‘queue_rw_pair’ at link-cp.c:80:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (29) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘queue_rw_pair’ at link-cp.c:85:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:160:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:166:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:171:16: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:172:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:176:17: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:177:12: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:182:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:182:12: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:184:13: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:184:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:187:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:187:15: note: (12) calling ‘copy_file’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:115:12: note: (13) entry to ‘copy_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:122:16: note: (14) following ‘true’ branch (when ‘insize != 0’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:123:21: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:126:31: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:128:28: note: (17) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:130:25: note: (18) calling ‘queue_rw_pair’ from ‘copy_file’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:66:13: note: (19) entry to ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:79:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (23) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1427:26: note: (24) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:79:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (26) returning to ‘queue_rw_pair’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:84:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:84:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (28) calling ‘_io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (29) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (30) following ‘false’ branch... <--[gcc] cc1: note: (31) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:84:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:84:8: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (33) returning to ‘queue_rw_pair’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c: In function ‘queue_rw_pair’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/link-cp.c:85:9: note: (34) inlined call to ‘io_uring_prep_writev’ from ‘queue_rw_pair’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:474:9: note: (35) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:474:2, inlined from ‘queue_rw_pair’ at link-cp.c:85:2: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (36) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o ucontext-cp ucontext-cp.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:207:34: warning: leak of file descriptor ‘open(*<unknown>, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:174:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:180:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:185:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:186:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:191:27: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:194:23: note: (6) following ‘true’ branch (when ‘i < argc’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:197:39: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:20: note: (8) following ‘false’ branch (when ‘pctx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:30: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:30: note: (10) calling ‘setup_context’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:93:12: note: (11) entry to ‘setup_context’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:99:12: note: (12) following ‘false’ branch... <--[gcc] In file included from /usr/include/signal.h:328, <--[gcc] from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:14: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:103:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:104:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:108:39: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:30: note: (16) returning to ‘main’ from ‘setup_context’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:27: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:202:33: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:202:24: note: (19) opened here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:203:20: note: (20) assuming ‘open(*<unknown>, 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:203:20: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:207:34: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:207:34: note: (23) ‘open(*<unknown>, 0)’ leaks here; was opened at (19) <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:214:31: warning: dereference of possibly-NULL ‘pbundle’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:174:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:180:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:185:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:186:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:191:27: note: (5) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:194:23: note: (6) following ‘true’ branch (when ‘i < argc’)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:197:39: note: (7) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:20: note: (8) following ‘false’ branch (when ‘pctx’ is non-NULL)... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:30: note: (9) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:30: note: (10) calling ‘setup_context’ from ‘main’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:93:12: note: (11) entry to ‘setup_context’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:99:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:103:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:104:12: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:108:39: note: (15) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:30: note: (16) returning to ‘main’ from ‘setup_context’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:199:27: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:202:33: note: (18) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:203:20: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:207:34: note: (20) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:208:20: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:213:45: note: (22) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:213:45: note: (23) this call could return NULL <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/ucontext-cp.c:214:31: note: (24) ‘pbundle’ could be NULL: unchecked value from (23) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o proxy proxy.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/proxy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' gcc -D_GNU_SOURCE -I../src/include/ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o send-zerocopy send-zerocopy.c helpers.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L../src/ -luring -L../src/ -luring -lpthread make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples' /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:44: <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘do_tx’ at send-zerocopy.c:378:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:328:13: note: (1) entry to ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:342:14: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:343:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:346:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:346:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:349:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:350:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:353:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:371:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:374:13: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:374:12: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:377:23: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:377:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:377:23: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:377:9: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘do_tx’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:378:17: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:528:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:528:2, inlined from ‘do_tx’ at send-zerocopy.c:378:3: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_tx’ at send-zerocopy.c:398:5: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:328:13: note: (1) entry to ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:342:14: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:343:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:346:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:346:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:349:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:350:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:353:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:371:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:374:13: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:394:31: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:395:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:395:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘do_tx’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:397:28: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:398:33: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:398:33: note: (22) inlined call to ‘io_uring_prep_send’ from ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:770:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:770:2, inlined from ‘do_tx’ at send-zerocopy.c:398:5: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send_zc’ at ../src/include/liburing.h:795:2, inlined from ‘do_tx’ at send-zerocopy.c:401:5: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:328:13: note: (1) entry to ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:342:14: note: (2) when ‘socket’ succeeds <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:343:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:346:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:346:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:349:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:350:12: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:353:9: note: (8) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:371:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:374:13: note: (10) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:394:31: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:395:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (13) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1411:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1424:12: note: (16) following ‘false’ branch... <--[gcc] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:395:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[gcc] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:1516:16: note: (19) returning to ‘do_tx’ from ‘_io_uring_get_sqe’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c: In function ‘do_tx’: <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:397:28: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:401:33: note: (21) ...to here <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/examples/send-zerocopy.c:401:33: note: (22) inlined call to ‘io_uring_prep_send_zc’ from ‘do_tx’ <--[gcc] /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:795:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send_zc’ <--[gcc] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send_zc’ at ../src/include/liburing.h:795:2, inlined from ‘do_tx’ at send-zerocopy.c:401:5: /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src/include/liburing.h:394:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[gcc] Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-07-03 16:09:30 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-07-03 16:09:31 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/liburing.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/liburing.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1715040000 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8I10Hv + umask 022 + cd /builddir/build/BUILD/liburing-2.6-build + '[' /builddir/build/BUILD/liburing-2.6-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/liburing-2.6-build/BUILDROOT ++ dirname /builddir/build/BUILD/liburing-2.6-build/BUILDROOT + mkdir -p /builddir/build/BUILD/liburing-2.6-build + mkdir /builddir/build/BUILD/liburing-2.6-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd liburing-2.6 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/liburing-2.6-build/BUILDROOT 'INSTALL=/usr/bin/install -p' sed -e "s%@prefix@%/usr%g" \ -e "s%@libdir@%//usr/lib64%g" \ -e "s%@includedir@%/usr/include%g" \ -e "s%@NAME@%liburing%g" \ -e "s%@VERSION@%2.6%g" \ liburing.pc.in >liburing.pc sed -e "s%@prefix@%/usr%g" \ -e "s%@libdir@%//usr/lib64%g" \ -e "s%@includedir@%/usr/include%g" \ -e "s%@NAME@%liburing%g" \ -e "s%@VERSION@%2.6%g" \ liburing-ffi.pc.in >liburing-ffi.pc make[1]: Entering directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' install -D -m 644 include/liburing/io_uring.h /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/include/liburing/io_uring.h install -D -m 644 include/liburing.h /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/include/liburing.h install -D -m 644 include/liburing/compat.h /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/include/liburing/compat.h install -D -m 644 include/liburing/barrier.h /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/include/liburing/barrier.h install -D -m 644 include/liburing/io_uring_version.h /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/include/liburing/io_uring_version.h install -D -m 644 liburing.a /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing.a install -D -m 644 liburing-ffi.a /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing-ffi.a install -D -m 755 liburing.so.2.6 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing.so.2.6 install -D -m 755 liburing-ffi.so.2.6 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing-ffi.so.2.6 ln -sf liburing.so.2.6 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing.so.2 ln -sf liburing.so.2.6 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing.so ln -sf liburing-ffi.so.2.6 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing-ffi.so.2 ln -sf liburing-ffi.so.2.6 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/liburing-ffi.so make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.6-build/liburing-2.6/src' /usr/bin/install -p -D -m 644 liburing.pc /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/pkgconfig/liburing.pc /usr/bin/install -p -D -m 644 liburing-ffi.pc /builddir/build/BUILD/liburing-2.6-build/BUILDROOT//usr/lib64/pkgconfig/liburing-ffi.pc /usr/bin/install -p -m 755 -d /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/man/man2 /usr/bin/install -p -m 644 man/*.2 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/man/man2 /usr/bin/install -p -m 755 -d /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/man/man3 /usr/bin/install -p -m 644 man/*.3 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/man/man3 /usr/bin/install -p -m 755 -d /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/man/man7 /usr/bin/install -p -m 644 man/*.7 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/man/man7 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.6-1.fc41 --unique-debug-suffix -2.6-1.fc41.x86_64 --unique-debug-src-base liburing-2.6-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/liburing-2.6-build/liburing-2.6 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/liburing-2.6-1.fc41.x86_64 211 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/liburing-2.6-build/BUILDROOT /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/lib64/liburing.a: replacing with normalized version /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/lib64/liburing-ffi.a: replacing with normalized version Scanned 24 directories and 197 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/liburing-2.6-build/SPECPARTS/rpm-debuginfo.specpart Processing files: liburing-2.6-1.fc41.x86_64 warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/lib64/liburing.so.2 warning: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/lib64/liburing-ffi.so.2 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TDArwf + umask 022 + cd /builddir/build/BUILD/liburing-2.6-build + cd liburing-2.6 + LICENSEDIR=/builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/licenses/liburing + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/licenses/liburing + cp -pr /builddir/build/BUILD/liburing-2.6-build/liburing-2.6/COPYING /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/share/licenses/liburing + RPM_EC=0 ++ jobs -p + exit 0 Provides: liburing = 2.6-1.fc41 liburing(x86-64) = 2.6-1.fc41 liburing-ffi.so.2()(64bit) liburing-ffi.so.2(LIBURING_2.4)(64bit) liburing-ffi.so.2(LIBURING_2.5)(64bit) liburing-ffi.so.2(LIBURING_2.6)(64bit) liburing.so.2()(64bit) liburing.so.2(LIBURING_2.0)(64bit) liburing.so.2(LIBURING_2.1)(64bit) liburing.so.2(LIBURING_2.2)(64bit) liburing.so.2(LIBURING_2.3)(64bit) liburing.so.2(LIBURING_2.4)(64bit) liburing.so.2(LIBURING_2.5)(64bit) liburing.so.2(LIBURING_2.6)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: liburing-devel-2.6-1.fc41.x86_64 Provides: liburing-devel = 2.6-1.fc41 liburing-devel(x86-64) = 2.6-1.fc41 pkgconfig(liburing) = 2.6 pkgconfig(liburing-ffi) = 2.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config liburing-ffi.so.2()(64bit) liburing.so.2()(64bit) Processing files: liburing-debugsource-2.6-1.fc41.x86_64 Provides: liburing-debugsource = 2.6-1.fc41 liburing-debugsource(x86-64) = 2.6-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: liburing-debuginfo-2.6-1.fc41.x86_64 Provides: debuginfo(build-id) = 2ada9161cdfbbbc63269e1458c8c9d71d46b2c3e debuginfo(build-id) = 33ede4b45651c7e14e586ba1eebcfb1826cb02c0 liburing-debuginfo = 2.6-1.fc41 liburing-debuginfo(x86-64) = 2.6-1.fc41 liburing-ffi.so.2.6-2.6-1.fc41.x86_64.debug()(64bit) liburing.so.2.6-2.6-1.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: liburing-debugsource(x86-64) = 2.6-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/liburing-2.6-build/BUILDROOT RPM build warnings: Explicit %attr() mode not applicable to symlink: /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/lib64/liburing.so.2 Explicit %attr() mode not applicable to symlink: /builddir/build/BUILD/liburing-2.6-build/BUILDROOT/usr/lib64/liburing-ffi.so.2 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/liburing.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-07-03 16:09:33 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-07-03 16:09:34 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-07-03 16:09:35 "cat '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-07-03 16:09:35 "csgrep --quiet '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-07-03 16:09:35 scan.ini: exit-code = 0 >>> 2024-07-03 16:09:35 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan.ini' '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/uni-results'/* > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/scan-results-all.js'" >>> 2024-07-03 16:09:35 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/scan-results-all.js' >'/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-07-03 16:09:36 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-07-03 16:09:38 "cat '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.js'" >>> 2024-07-03 16:09:38 "cat '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.js' - | cssort > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results.js'" >>> 2024-07-03 16:09:39 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results.js' > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results.err'" >>> 2024-07-03 16:09:39 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results.html'" >>> 2024-07-03 16:09:39 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-07-03 16:09:39 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.js' > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.err'" >>> 2024-07-03 16:09:39 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.js' | cshtml - > '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.html'" >>> 2024-07-03 16:09:39 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results.js' | tee '/tmp/csmocknnf6phb0/liburing-2.6-1.fc41/scan-results-summary.txt'" 1 CLANG_WARNING warning[core.CallAndMessage] 3 CLANG_WARNING warning[core.NullDereference] 9 CLANG_WARNING warning[core.UndefinedBinaryOperatorResult] 35 CLANG_WARNING warning[deadcode.DeadStores] 4 CLANG_WARNING warning[unix.Malloc] 1 COMPILER_WARNING warning[-Wstringop-overflow=] 1 CPPCHECK_WARNING error[memleak] 1 CPPCHECK_WARNING error[nullPointer] 1 CPPCHECK_WARNING error[uninitvar] 192 CPPCHECK_WARNING information[normalCheckLevelMaxBranches] 2 CPPCHECK_WARNING warning[nullPointer] 3 CPPCHECK_WARNING warning[uninitvar] 58 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-after-close] 7 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-without-check] 4 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 9 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 5 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] 5 GCC_ANALYZER_WARNING warning[-Wanalyzer-unsafe-call-within-signal-handler] <<< 2024-07-03 16:09:39 csmock exit code: 0 Wrote: /tmp/tmprf8dn0a0/liburing-2.6-1.fc41.tar.xz