scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpcbb5rz77/liburing-2.8-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpcbb5rz77/liburing-2.8-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-85.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpcbb5rz77/liburing-2.8-1.fc42.tar.xz scan.ini: time-created = 2024-11-13 01:46:42 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = liburing-2.8-1.fc42 >>> 2024-11-13 01:46:42 rpm -qa | sort -V > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-13 01:46:43 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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.9 INFO: Mock Version: 5.9 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-11-13 01:46:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockznvc01o7/liburing-2.8-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1730246400 Wrote: /builddir/build/SRPMS/liburing-2.8-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 4.2 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB gcc-c++ x86_64 14.2.1-6.fc42 fedora 38.1 MiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB Installing dependencies: annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc x86_64 12.70-1.fc42 fedora 985.6 KiB cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB glibc-devel x86_64 2.40.9000-16.fc42 fedora 2.3 MiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libstdc++-devel x86_64 14.2.1-6.fc42 fedora 15.4 MiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB Transaction Summary: Installing: 12 packages Total size of inbound packages is 70 MiB. Need to download 0 B. After this operation, 205 MiB extra will be used (install 205 MiB, remove 0 B). [1/1] gcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] make-1:4.4.1-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] gcc-c++-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] libstdc++-devel-0:14.2.1-6.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] glibc-devel-0:2.40.9000-16.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] libxcrypt-devel-0:4.4.36-10.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] kernel-headers-0:6.12.0-0.rc7.58. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] annobin-plugin-gcc-0:12.70-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] gcc-plugin-annobin-0:14.2.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] annobin-docs-0:12.70-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/14] Verify package files 100% | 53.0 B/s | 12.0 B | 00m00s [ 2/14] Prepare transaction 100% | 461.0 B/s | 12.0 B | 00m00s [ 3/14] Installing libmpc-0:1.3.1-6.fc4 100% | 40.6 MiB/s | 166.2 KiB | 00m00s [ 4/14] Installing cpp-0:14.2.1-6.fc42. 100% | 315.1 MiB/s | 35.0 MiB | 00m00s [ 5/14] Installing annobin-docs-0:12.70 100% | 24.1 MiB/s | 98.8 KiB | 00m00s [ 6/14] Installing kernel-headers-0:6.1 100% | 117.8 MiB/s | 6.6 MiB | 00m00s [ 7/14] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.9 KiB | 00m00s [ 8/14] Installing glibc-devel-0:2.40.9 100% | 86.3 MiB/s | 2.3 MiB | 00m00s [ 9/14] Installing libstdc++-devel-0:14 100% | 239.3 MiB/s | 15.6 MiB | 00m00s [10/14] Installing make-1:4.4.1-9.fc42. 100% | 180.0 MiB/s | 1.8 MiB | 00m00s [11/14] Installing gcc-0:14.2.1-6.fc42. 100% | 372.5 MiB/s | 104.3 MiB | 00m00s [12/14] Installing gcc-c++-0:14.2.1-6.f 100% | 334.5 MiB/s | 38.1 MiB | 00m00s [13/14] Installing annobin-plugin-gcc-0 100% | 68.9 MiB/s | 987.3 KiB | 00m00s [14/14] Installing gcc-plugin-annobin-0 100% | 24.0 KiB/s | 59.2 KiB | 00m02s Complete! >>> 2024-11-13 01:46:52 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 11.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-3.fc41 fedora 20.6 MiB cppcheck x86_64 2.16.0-1.fc42 fedora 10.4 MiB gcc-latest x86_64 15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42 copr_base 295.1 MiB Installing dependencies: expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB Transaction Summary: Installing: 12 packages Total size of inbound packages is 89 MiB. Need to download 0 B. After this operation, 371 MiB extra will be used (install 371 MiB, remove 0 B). [1/1] gcc-latest-0:15.0.0-4.20241020git 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cppcheck-0:2.16.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] ShellCheck-0:0.10.0-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] pcre-0:8.45-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] tinyxml2-0:9.0.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] python3-0:3.13.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] python3-libs-0:3.13.0-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] mpdecimal-0:2.5.1-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] python-pip-wheel-0:24.2-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/14] Verify package files 100% | 35.0 B/s | 12.0 B | 00m00s [ 2/14] Prepare transaction 100% | 250.0 B/s | 12.0 B | 00m00s [ 3/14] Installing tzdata-0:2024a-9.fc4 100% | 32.9 MiB/s | 1.9 MiB | 00m00s [ 4/14] Installing python-pip-wheel-0:2 100% | 310.4 MiB/s | 1.2 MiB | 00m00s [ 5/14] Installing mpdecimal-0:2.5.1-16 100% | 67.1 MiB/s | 206.0 KiB | 00m00s [ 6/14] Installing libb2-0:0.98.1-12.fc 100% | 21.1 MiB/s | 43.3 KiB | 00m00s [ 7/14] Installing expat-0:2.6.4-1.fc42 100% | 31.2 MiB/s | 287.6 KiB | 00m00s [ 8/14] Installing python3-libs-0:3.13. 100% | 246.8 MiB/s | 40.7 MiB | 00m00s [ 9/14] Installing python3-0:3.13.0-1.f 100% | 10.9 MiB/s | 33.5 KiB | 00m00s [10/14] Installing tinyxml2-0:9.0.0-5.f 100% | 51.2 MiB/s | 104.9 KiB | 00m00s [11/14] Installing pcre-0:8.45-1.fc41.7 100% | 133.8 MiB/s | 548.1 KiB | 00m00s [12/14] Installing cppcheck-0:2.16.0-1. 100% | 196.1 MiB/s | 10.4 MiB | 00m00s [13/14] Installing ShellCheck-0:0.10.0- 100% | 361.5 MiB/s | 20.6 MiB | 00m00s [14/14] Installing gcc-latest-0:15.0.0- 100% | 116.7 MiB/s | 295.4 MiB | 00m03s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-13 01:46:57 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:46:58 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockznvc01o7/rpm-list-mock-provides.txt >>> 2024-11-13 01:47:00 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockznvc01o7/liburing-2.8-1.fc42.src.rpm" "/builddir/liburing-2.8-1.fc42.src.rpm" >>> 2024-11-13 01:47:01 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 01:47:02 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.8-1.fc42.src.rpm'\"" Updating / installing... liburing-2.8-1.fc42 ######################################## >>> 2024-11-13 01:47:03 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.8-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1730246400 Wrote: /builddir/build/SRPMS/liburing-2.8-1.fc42.src.rpm renamed 'liburing-2.8-1.fc42.src.rpm' -> '/builddir/liburing-2.8-1.fc42.src.rpm' >>> 2024-11-13 01:47:04 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/liburing-2.8-1.fc42.src.rpm" "/tmp/csmockznvc01o7/liburing-2.8-1.fc42.src.rpm" >>> 2024-11-13 01:47:05 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockznvc01o7/liburing-2.8-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1730246400 Wrote: /builddir/build/SRPMS/liburing-2.8-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 419.3 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 4.9 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "gcc-c++-14.2.1-6.fc42.x86_64" is already installed. Package "make-1:4.4.1-9.fc42.x86_64" is already installed. Nothing to do. >>> 2024-11-13 01:47:08 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 385.7 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-latest-15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42.x86_64" is already installed. Package "cppcheck-2.16.0-1.fc42.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "ShellCheck-0.10.0-3.fc41.x86_64" is already installed. Nothing to do. >>> 2024-11-13 01:47:09 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:47:10 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockznvc01o7/rpm-list-mock-provides.txt >>> 2024-11-13 01:47:11 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 229.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 5.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.2-1.fc42 fedora 3.7 MiB Installing dependencies: boost-atomic x86_64 1.83.0-8.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-8.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-8.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-8.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 extra will be used (install 4 MiB, remove 0 B). [1/1] csdiff-0:3.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] boost-filesystem-0:1.83.0-8.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] boost-program-options-0:1.83.0-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] boost-atomic-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] boost-system-0:1.83.0-8.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% | 277.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 5.6 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 10.7 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 48.4 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 89.1 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.2-1.fc42. 100% | 66.9 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-13 01:47:13 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.82.0-1.fc42 fedora 11.0 MiB Installing dependencies: cargo x86_64 1.82.0-1.fc42 fedora 19.4 MiB libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB libgit2 x86_64 1.8.4-1.fc42 fedora 1.3 MiB libssh2 x86_64 1.11.1-1.fc42 fedora 322.8 KiB llhttp x86_64 9.2.1-2.fc41 fedora 72.6 KiB llvm-libs x86_64 19.1.0-1.fc42 fedora 124.5 MiB rust x86_64 1.82.0-1.fc42 fedora 87.8 MiB rust-std-static x86_64 1.82.0-1.fc42 fedora 143.6 MiB Transaction Summary: Installing: 9 packages Total size of inbound packages is 105 MiB. Need to download 0 B. After this operation, 388 MiB extra will be used (install 388 MiB, remove 0 B). [1/1] clippy-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cargo-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rust-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libgit2-0:1.8.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libssh2-0:1.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] llvm-libs-0:19.1.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] rust-std-static-0:1.82.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] llhttp-0:9.2.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libedit-0:3.1-53.20240808cvs.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/11] Verify package files 100% | 27.0 B/s | 9.0 B | 00m00s [ 2/11] Prepare transaction 100% | 473.0 B/s | 9.0 B | 00m00s [ 3/11] Installing libssh2-0:1.11.1-1.f 100% | 63.4 MiB/s | 324.5 KiB | 00m00s [ 4/11] Installing libedit-0:3.1-53.202 100% | 80.0 MiB/s | 245.8 KiB | 00m00s [ 5/11] Installing llvm-libs-0:19.1.0-1 100% | 397.7 MiB/s | 124.5 MiB | 00m00s [ 6/11] Installing rust-std-static-0:1. 100% | 422.3 MiB/s | 143.6 MiB | 00m00s [ 7/11] Installing rust-0:1.82.0-1.fc42 100% | 381.7 MiB/s | 87.8 MiB | 00m00s [ 8/11] Installing llhttp-0:9.2.1-2.fc4 100% | 36.0 MiB/s | 73.8 KiB | 00m00s [ 9/11] Installing libgit2-0:1.8.4-1.fc 100% | 212.3 MiB/s | 1.3 MiB | 00m00s [10/11] Installing cargo-0:1.82.0-1.fc4 100% | 339.9 MiB/s | 19.4 MiB | 00m00s [11/11] Installing clippy-0:1.82.0-1.fc 100% | 5.1 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-13 01:47:19 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-file-magic noarch 5.45-7.fc41 fedora 28.7 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 20 KiB. Need to download 0 B. After this operation, 29 KiB extra will be used (install 29 KiB, remove 0 B). [1/1] python3-file-magic-0:5.45-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 250.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 1.5 MiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-13 01:47:21 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 41 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.16.0-23.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 333.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 6.2 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-13 01:47:22 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 01:47:24 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockznvc01o7/rpm-list-mock-provides.txt >>> 2024-11-13 01:47:25 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 01:47:26 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockznvc01o7/liburing-2.8-1.fc42.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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-clippy = 1.82.0 >>> 2024-11-13 01:47:27 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh" renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original' scan.ini: analyzer-version-cppcheck = 2.16.0 scan.ini: analyzer-version-gcc = 14.2.1 >>> 2024-11-13 01:47:29 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2024-11-13 01:47:30 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2024-11-13 01:47:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash exec /opt/gcc-latest/bin/gcc \"\$@\"' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2024-11-13 01:47:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper" scan.ini: analyzer-version-gcc-analyzer = 15.0.0 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-11-13 01:47:34 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockznvc01o7/liburing-2.8-1.fc42.src.rpm'" Updating / installing... liburing-2.8-1.fc42 ######################################## >>> 2024-11-13 01:47:35 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-11-13 01:47:36 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/00-pre-usr-move-shells.sh 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-11-13 01:47:37 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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.9 INFO: Mock Version: 5.9 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=1730246400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.RPxknF + umask 022 + cd /builddir/build/BUILD/liburing-2.8-build + test -d /builddir/build/BUILD/liburing-2.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/liburing-2.8-build + /usr/bin/rm -rf /builddir/build/BUILD/liburing-2.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/liburing-2.8-build + /usr/bin/mkdir -p /builddir/build/BUILD/liburing-2.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4UCeSb + umask 022 + cd /builddir/build/BUILD/liburing-2.8-build + cd /builddir/build/BUILD/liburing-2.8-build + rm -rf liburing-2.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/liburing-2.8.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd liburing-2.8 + /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-11-13 01:47:38 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-13 01:47:39 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' 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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' 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' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' 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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' 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'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--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.9 INFO: Mock Version: 5.9 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/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1730246400 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RAe2qz + umask 022 + cd /builddir/build/BUILD/liburing-2.8-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.8 + 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 io_uring discard command supportyes has_idtype_t yes nolibc no has_fanotify yes ublk_header yes use sanitizer no CC gcc CXX g++ + /usr/bin/make -O -j8 V=1 VERBOSE=1 make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/ffi.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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:33: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:586:16: note: (1) entry to ‘io_uring_mlock_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:592:16: note: (2) calling ‘io_uring_mlock_size_params’ from ‘io_uring_mlock_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:536:16: note: (3) entry to ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:555:15: note: (4) calling ‘io_uring_queue_init_params’ from ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:406:5: note: (5) entry to ‘io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:411:15: note: (6) calling ‘io_uring_queue_init_try_nosqarr’ from ‘io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:367:12: note: (7) entry to ‘io_uring_queue_init_try_nosqarr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:375:15: note: (8) calling ‘__io_uring_queue_init_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:297:5: note: (9) entry to ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:311:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:315:22: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:315:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:324:14: note: (13) inlined call to ‘__sys_io_uring_setup’ from ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/syscall.h:37, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:5: <--[csmock-gcc-wrapper] In function ‘__sys_io_uring_setup’, inlined from ‘__io_uring_queue_init_params’ at setup.c:324:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/arch/x86/syscall.h:56:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/arch/syscall-defs.h:74:22: note: in expansion of macro ‘__do_syscall2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:325:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:334:16: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:334:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:335:23: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:335:23: note: (19) calling ‘io_uring_queue_mmap’ from ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:157:12: note: (20) entry to ‘io_uring_queue_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:161:16: note: (21) calling ‘io_uring_mmap’ from ‘io_uring_queue_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:98:12: note: (22) entry to ‘io_uring_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:119:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:122:14: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:122:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:125:32: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:128:20: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:129:31: note: (28) inlined call to ‘PTR_ERR’ from ‘io_uring_mmap’ <--[csmock-gcc-wrapper] In function ‘PTR_ERR’, inlined from ‘io_uring_mmap’ at setup.c:129:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/syscall.h:28:16: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:143:17: note: (30) calling ‘io_uring_unmap_rings’ from ‘io_uring_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:62:13: note: (31) entry to ‘io_uring_unmap_rings’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:66:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:68:1: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:143:17: note: (34) returning to ‘io_uring_mmap’ from ‘io_uring_unmap_rings’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:161:16: note: (35) returning to ‘io_uring_queue_mmap’ from ‘io_uring_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:335:23: note: (36) returning to ‘__io_uring_queue_init_params’ from ‘io_uring_queue_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:375:15: note: (37) returning to ‘io_uring_queue_init_try_nosqarr’ from ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:378:12: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (39) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:411:15: note: (40) returning to ‘io_uring_queue_init_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:555:15: note: (41) returning to ‘io_uring_mlock_size_params’ from ‘io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:556:12: note: (42) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:557:17: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:557:17: note: (44) calling ‘io_uring_queue_exit’ from ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:430:13: note: (45) entry to ‘io_uring_queue_exit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:443:20: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:36: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:36: note: (48) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:33: note: (49) dereference of NULL ‘*(struct io_uring_sq *)ring.kring_entries’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/src' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:33: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:586:16: note: (1) entry to ‘io_uring_mlock_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:592:16: note: (2) calling ‘io_uring_mlock_size_params’ from ‘io_uring_mlock_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:536:16: note: (3) entry to ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:555:15: note: (4) inlined call to ‘io_uring_queue_init_params’ from ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] In function ‘io_uring_queue_init_params’, inlined from ‘io_uring_mlock_size_params’ at setup.c:555:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:411:15: note: (5) calling ‘io_uring_queue_init_try_nosqarr’ from ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:367:12: note: (6) entry to ‘io_uring_queue_init_try_nosqarr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:375:15: note: (7) calling ‘__io_uring_queue_init_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:297:5: note: (8) entry to ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:311:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:315:22: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:315:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:324:14: note: (12) inlined call to ‘__sys_io_uring_setup’ from ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/syscall.h:37, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:5: <--[csmock-gcc-wrapper] In function ‘__sys_io_uring_setup’, inlined from ‘__io_uring_queue_init_params’ at setup.c:324:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/arch/x86/syscall.h:56:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/arch/syscall-defs.h:74:22: note: in expansion of macro ‘__do_syscall2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:325:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:334:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:334:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:335:23: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:335:23: note: (18) calling ‘io_uring_queue_mmap’ from ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:157:12: note: (19) entry to ‘io_uring_queue_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:161:16: note: (20) calling ‘io_uring_mmap’ from ‘io_uring_queue_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:98:12: note: (21) entry to ‘io_uring_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:119:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:122:14: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:122:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:125:32: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:128:20: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:129:31: note: (27) inlined call to ‘PTR_ERR’ from ‘io_uring_mmap’ <--[csmock-gcc-wrapper] In function ‘PTR_ERR’, inlined from ‘io_uring_mmap’ at setup.c:129:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/syscall.h:28:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:143:17: note: (29) calling ‘io_uring_unmap_rings’ from ‘io_uring_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:62:13: note: (30) entry to ‘io_uring_unmap_rings’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:66:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:68:1: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:143:17: note: (33) returning to ‘io_uring_mmap’ from ‘io_uring_unmap_rings’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:161:16: note: (34) returning to ‘io_uring_queue_mmap’ from ‘io_uring_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:335:23: note: (35) returning to ‘__io_uring_queue_init_params’ from ‘io_uring_queue_mmap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:375:15: note: (36) returning to ‘io_uring_queue_init_try_nosqarr’ from ‘__io_uring_queue_init_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:378:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (38) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:555:15: note: (39) inlined call to ‘io_uring_queue_init_params’ from ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] In function ‘io_uring_queue_init_params’, inlined from ‘io_uring_mlock_size_params’ at setup.c:555:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:411:15: note: (40) returning to ‘io_uring_mlock_size_params’ from ‘io_uring_queue_init_try_nosqarr’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c: In function ‘io_uring_queue_exit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:556:12: note: (41) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:557:17: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:557:17: note: (43) calling ‘io_uring_queue_exit’ from ‘io_uring_mlock_size_params’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:430:13: note: (44) entry to ‘io_uring_queue_exit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:443:20: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:36: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:36: note: (47) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/setup.c:445:33: note: (48) dereference of NULL ‘*(struct io_uring_sq *)ring.kring_entries’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src' ar: creating liburing.a make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src' ar: creating liburing-ffi.a make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8 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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8 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.8-build/liburing-2.8/src' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.c: In function ‘__t_create_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:84:9: warning: leak of ‘t_malloc(size)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:77:13: note: (1) entry to ‘__t_create_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:83:15: note: (2) calling ‘t_malloc’ from ‘__t_create_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:24:7: note: (3) entry to ‘t_malloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:27:15: note: (4) allocated here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:28:9: note: (5) assuming ‘ret’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:28:9: note: (6) following ‘true’ branch (when ‘ret’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:29:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:83:15: note: (8) returning to ‘__t_create_file’ from ‘t_malloc’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:84:9: note: (9) ‘t_malloc(size)’ leaks here; was allocated at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c: In function ‘t_create_socket_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:186:15: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:183:17: note: (1) socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:183:17: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:184:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:186:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:186:15: note: (5) leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:210:20: warning: leak of file descriptor ‘*fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:183:17: note: (1) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:184:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:186:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:186:17: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:187:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:193:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:194:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:197:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:205:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:210:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:210:12: note: (11) following ‘true’ branch (when ‘stream != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:210:23: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.c:210:20: note: (13) ‘*fd’ leaks here <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/7ad0e4b2f83c.c:5: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘main’ at 7ad0e4b2f83c.c:28:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:8:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:18:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:21:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:22:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:27:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:27:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:27:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:27:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:28:9: note: (13) inlined call to ‘io_uring_prep_nop’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘main’ at 7ad0e4b2f83c.c:28:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:599:2, inlined from ‘main’ at 7ad0e4b2f83c.c:49:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:8:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:18:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:21:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:22:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:27:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:27:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:27:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:27:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:30:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:36:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:39:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:43:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:48:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:48:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at 7ad0e4b2f83c.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/7ad0e4b2f83c.c:49:9: note: (24) inlined call to ‘io_uring_prep_timeout’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:599:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:599:2, inlined from ‘main’ at 7ad0e4b2f83c.c:49:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/232c93d07b74.c: In function ‘rcv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:94:15: warning: ‘listen’ on possibly invalid file descriptor ‘s0’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:66:12: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:67:26: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:69:22: note: (3) when ‘socket’ fails <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:12: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:71:17: note: (4) following ‘true’ branch (when ‘res != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:72:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:73:17: note: (6) following ‘true’ branch (when ‘res != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:77:33: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:80:17: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:81:36: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/232c93d07b74.c:94:15: note: (10) ‘s0’ could be invalid <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c: In function ‘sig_int’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:319:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:321:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:323:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:323:9: note: (4) registering ‘sig_int’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:314:13: note: (6) entry to ‘sig_int’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: note: (7) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/35fa71a030ca.c:316:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/8a9973408177.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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c: In function ‘sig_int’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:174:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:176:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:178:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:178:9: note: (4) registering ‘sig_int’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:169:13: note: (6) entry to ‘sig_int’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: note: (7) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/a4c0b3decb33.c:171:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/buf-ring-nommap.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at buf-ring-nommap.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:20:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:38:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:41:13: note: (3) ...to here <--[csmock-gcc-wrapper] cc1: note: (4) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:44:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:48:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:57:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:57:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:57:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:65:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:66:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:76:25: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:79:12: note: (13) following ‘false’ branch (when ‘br != 18446744073709551615’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:88:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:91:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at buf-ring-nommap.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:91:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at buf-ring-nommap.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring-nommap.c:92:9: note: (22) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at buf-ring-nommap.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/ce593a6c480a.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at ce593a6c480a.c:94:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:37:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:48:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:54:19: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:55:12: note: (4) following ‘false’ branch (when ‘loop_fd != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:61:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:62:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:67:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:67:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:71:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:72:12: note: (10) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:74:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:74:17: note: (12) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:77:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:78:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:83:13: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:83:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:93:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at ce593a6c480a.c:93:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:93:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at ce593a6c480a.c:93:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ce593a6c480a.c:94:9: note: (25) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at ce593a6c480a.c:94:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/close-opath.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.8-build/liburing-2.8/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-non-empty.t accept-non-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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-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.8-build/liburing-2.8/test/accept-non-empty.c:23: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘test_maccept’ at accept-non-empty.c:151:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: In function ‘test_maccept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:222:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:226:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:229:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:229:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:196:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:202:15: note: (6) calling ‘test_maccept’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:102:12: note: (7) entry to ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:112:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:114:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:114:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:119:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:119:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:124:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:129:12: note: (14) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:139:14: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:139:14: note: (16) calling ‘start_accept_listen’ from ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:37:12: note: (17) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:43:14: note: (18) when ‘socket’ succeeds <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:9: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:46:9: note: (19) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:47:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:48:9: note: (21) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:50:25: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:55:9: note: (23) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: note: (25) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:57:9: note: (26) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:59:16: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:139:14: note: (28) returning to ‘test_maccept’ from ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:146:23: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:147:23: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_maccept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_maccept’ at accept-non-empty.c:147:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) calling ‘_io_uring_get_sqe’ from ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_maccept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (33) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (35) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:147:23: note: (36) inlined call to ‘io_uring_get_sqe’ from ‘test_maccept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_maccept’ at accept-non-empty.c:147:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) returning to ‘test_maccept’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: In function ‘test_maccept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:148:20: note: (38) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:151:25: note: (39) inlined call to ‘io_uring_prep_accept’ from ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘test_maccept’ at accept-non-empty.c:151:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: In function ‘start_accept_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: warning: ‘listen’ on possibly invalid file descriptor ‘fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:222:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:226:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:229:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:229:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:196:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:202:15: note: (6) calling ‘test_maccept’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:102:12: note: (7) entry to ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:112:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:114:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:114:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:119:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:119:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:124:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:129:12: note: (14) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:139:14: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:139:14: note: (16) calling ‘start_accept_listen’ from ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:37:12: note: (17) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:43:14: note: (18) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:46:9: note: (19) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:47:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:48:9: note: (21) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:50:25: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:55:9: note: (23) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:56:15: note: (25) ‘fd’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c: In function ‘test_maccept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:127:9: warning: use of possibly-NULL ‘fds’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:222:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:226:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:229:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:229:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:196:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:202:15: note: (6) calling ‘test_maccept’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:102:12: note: (7) entry to ‘test_maccept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:112:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:114:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:114:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:119:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:119:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:124:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:126:15: note: (14) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept-non-empty.c:127:9: note: (15) argument 1 (‘fds’) from (14) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memset’ must be non-null make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/coredump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:41: error: nullPointer(CWE-476): Null pointer dereference: ptr <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at coredump.c:36:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:20:13: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:28:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:28:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:33:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:35:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (7) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:35:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:36:9: note: (12) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (13) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at coredump.c:36:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (14) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:41:14: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:20:13: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:28:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:28:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:33:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:35:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (7) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:35:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at coredump.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/coredump.c:41:14: note: (12) dereference of NULL ‘0’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/connect-rep.c:20: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:695:2, inlined from ‘test_connect’ at connect-rep.c:116:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c: In function ‘test_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:184:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:188:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:191:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:191:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:139:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:146:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:149:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:150:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:155:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:155:16: note: (10) calling ‘init_test_server’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:25:12: note: (11) entry to ‘init_test_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:31:14: note: (12) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:32:12: note: (13) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:37:31: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:155:16: note: (15) returning to ‘test’ from ‘init_test_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:156:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:159:20: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:159:20: note: (18) calling ‘init_test_client’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:57:12: note: (19) entry to ‘init_test_client’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:63:20: note: (20) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:64:12: note: (21) following ‘false’ branch (when ‘clientfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:69:32: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:159:20: note: (23) returning to ‘test’ from ‘init_test_client’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:160:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:166:12: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:166:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:169:23: note: (28) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:170:23: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:170:23: note: (30) calling ‘test_connect’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:108:12: note: (31) entry to ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:115:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_connect’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_connect’ at connect-rep.c:115:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) calling ‘_io_uring_get_sqe’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (34) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:115:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test_connect’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_connect’ at connect-rep.c:115:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) returning to ‘test_connect’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c: In function ‘test_connect’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/connect-rep.c:116:9: note: (39) inlined call to ‘io_uring_prep_connect’ from ‘test_connect’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:695:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_connect’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:695:2, inlined from ‘test_connect’ at connect-rep.c:116:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (41) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/buf-ring.c:353: error: memleak(CWE-401): Memory leak: buffers <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test_mixed_reg’ at buf-ring.c:83:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c: In function ‘test_mixed_reg’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:404:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:410:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:413:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:415:30: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:416:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:417:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:421:21: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:421:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:424:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:425:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:430:23: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:431:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:436:23: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:436:23: note: (14) calling ‘test_mixed_reg’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:65:12: note: (15) entry to ‘test_mixed_reg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:75:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:77:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:77:17: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:81:16: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:82:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg’ at buf-ring.c:82:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘test_mixed_reg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_mixed_reg’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1505:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1507:27: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:82:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg’ at buf-ring.c:82:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) returning to ‘test_mixed_reg’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c: In function ‘test_mixed_reg’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:83:9: note: (29) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test_mixed_reg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test_mixed_reg’ at buf-ring.c:83:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test_mixed_reg2’ at buf-ring.c:45:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c: In function ‘test_mixed_reg2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:404:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:410:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:413:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:415:30: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:416:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:417:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:421:21: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:421:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:424:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:425:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:430:23: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:431:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:436:23: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:437:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:442:23: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:442:23: note: (16) calling ‘test_mixed_reg2’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:21:12: note: (17) entry to ‘test_mixed_reg2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:31:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:33:17: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:33:17: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:36:14: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:37:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:43:16: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:44:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg2’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg2’ at buf-ring.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘test_mixed_reg2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_mixed_reg2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:44:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘test_mixed_reg2’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_mixed_reg2’ at buf-ring.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (30) returning to ‘test_mixed_reg2’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c: In function ‘test_mixed_reg2’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/buf-ring.c:45:9: note: (31) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test_mixed_reg2’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008:9: note: (32) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test_mixed_reg2’ at buf-ring.c:45:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (33) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 cmd-discard.t cmd-discard.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.8-build/liburing-2.8/test/cmd-discard.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/d77a67ed5f27.c: In function ‘sig_alrm’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:16:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:24:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:27:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:27:9: note: (4) registering ‘sig_alrm’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (5) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:10:13: note: (6) entry to ‘sig_alrm’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: note: (7) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/d77a67ed5f27.c:13:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 bind-listen.t bind-listen.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.8-build/liburing-2.8/test/bind-listen.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:7: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct’ at ../src/include/liburing.h:1199:2, inlined from ‘setup_srv’ at bind-listen.c:91:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:358:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:363:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:371:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:372:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:14: note: (5) inlined call to ‘io_uring_opcode_supported’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_opcode_supported’, inlined from ‘main’ at bind-listen.c:374:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:158:27: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (11) calling ‘test_good_server’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:133:12: note: (12) entry to ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:147:12: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:152:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:153:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (17) calling ‘setup_srv’ from ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:77:12: note: (18) entry to ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:91:9: note: (26) inlined call to ‘io_uring_prep_socket_direct’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1199:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket_direct’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct’ at ../src/include/liburing.h:1199:2, inlined from ‘setup_srv’ at bind-listen.c:91:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_cmd_sock’ at ../src/include/liburing.h:1228:2, inlined from ‘setup_srv’ at bind-listen.c:96:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:358:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:363:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:371:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:372:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:14: note: (5) inlined call to ‘io_uring_opcode_supported’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_opcode_supported’, inlined from ‘main’ at bind-listen.c:374:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:158:27: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (11) calling ‘test_good_server’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:133:12: note: (12) entry to ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:147:12: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:152:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:153:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (17) calling ‘setup_srv’ from ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:77:12: note: (18) entry to ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:94:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:94:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:94:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:94:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:96:9: note: (33) inlined call to ‘io_uring_prep_cmd_sock’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1228:9: note: (34) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_cmd_sock’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_cmd_sock’ at ../src/include/liburing.h:1228:2, inlined from ‘setup_srv’ at bind-listen.c:96:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (35) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_bind’ at ../src/include/liburing.h:702:2, inlined from ‘setup_srv’ at bind-listen.c:101:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:358:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:363:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:371:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:372:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:14: note: (5) inlined call to ‘io_uring_opcode_supported’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_opcode_supported’, inlined from ‘main’ at bind-listen.c:374:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:158:27: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (11) calling ‘test_good_server’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:133:12: note: (12) entry to ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:147:12: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:152:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:153:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (17) calling ‘setup_srv’ from ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:77:12: note: (18) entry to ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:94:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:94:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:94:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:94:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:100:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:100:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:100:15: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:100:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:101:9: note: (40) inlined call to ‘io_uring_prep_bind’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:702:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_bind’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_bind’ at ../src/include/liburing.h:702:2, inlined from ‘setup_srv’ at bind-listen.c:101:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_listen’ at ../src/include/liburing.h:708:2, inlined from ‘setup_srv’ at bind-listen.c:106:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:358:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:363:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:371:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:372:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:14: note: (5) inlined call to ‘io_uring_opcode_supported’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_opcode_supported’, inlined from ‘main’ at bind-listen.c:374:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:156:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:158:27: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:374:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:377:15: note: (11) calling ‘test_good_server’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:133:12: note: (12) entry to ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:147:12: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:152:15: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:153:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:158:15: note: (17) calling ‘setup_srv’ from ‘test_good_server’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:77:12: note: (18) entry to ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:90:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:90:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:94:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:94:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:94:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:94:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:100:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:100:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:100:15: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:100:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:105:15: note: (40) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:105:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (41) calling ‘_io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (42) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (44) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:105:15: note: (45) inlined call to ‘io_uring_get_sqe’ from ‘setup_srv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘setup_srv’ at bind-listen.c:105:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (46) returning to ‘setup_srv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c: In function ‘setup_srv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/bind-listen.c:106:9: note: (47) inlined call to ‘io_uring_prep_listen’ from ‘setup_srv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:708:9: note: (48) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_listen’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_listen’ at ../src/include/liburing.h:708:2, inlined from ‘setup_srv’ at bind-listen.c:106:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (49) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_file’ at defer-tw-timeout.c:122:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c: In function ‘test_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:154:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:161:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:164:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:164:12: note: (4) following ‘true’ branch (when ‘argc > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:165:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:167:15: note: (6) calling ‘test_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:83:12: note: (7) entry to ‘test_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:101:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:113:12: note: (9) ...to here <--[csmock-gcc-wrapper] cc1: note: (10) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:121:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_file’ at defer-tw-timeout.c:121:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:121:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_file’ at defer-tw-timeout.c:121:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c: In function ‘test_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-tw-timeout.c:122:9: note: (19) inlined call to ‘io_uring_prep_read’ from ‘test_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_file’ at defer-tw-timeout.c:122:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/defer-taskrun.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:342:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:342:12: note: (4) following ‘true’ branch (when ‘argc == 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:348:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:351:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (8) calling ‘test_thread_shutdown’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:137:12: note: (9) entry to ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (18) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (19) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (20) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (21) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (22) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (24) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (26) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (29) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:164:9: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (32) returning to ‘main’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:355:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:360:15: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:360:15: note: (35) calling ‘test_exec’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:169:12: note: (36) entry to ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (37) following ‘false’ branch (when ‘fork_pid >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:181:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:181:12: note: (39) following ‘false’ branch (when ‘fork_pid == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:192:15: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:194:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:197:12: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:197:12: note: (43) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:198:22: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:199:20: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:211:15: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] cc1: note: (47) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:212:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:212:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:214:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (51) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:214:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:215:9: note: (52) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (54) calling ‘_io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (55) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (57) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:215:9: note: (58) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (59) returning to ‘test_exec’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:215:9: note: (60) inlined call to ‘io_uring_prep_read’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (61) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_exec’ at defer-taskrun.c:215:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (62) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:342:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:351:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (6) calling ‘test_thread_shutdown’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:137:12: note: (7) entry to ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:148:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:151:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:151:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:153:18: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:154:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:15: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (22) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (23) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (24) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (25) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (26) following ‘true’ branch (when ‘available == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1460:18: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (28) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (30) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:55: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (35) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (36) returning to ‘main’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:355:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:360:15: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:361:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:366:15: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:366:15: note: (41) calling ‘test_eventfd’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:68:12: note: (42) entry to ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:77:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:80:15: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:83:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:85:15: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:86:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:89:16: note: (48) inlined call to ‘can_read’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:89:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:37:16: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:89:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:90:16: note: (51) inlined call to ‘can_read’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:90:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:37:16: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:90:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:92:9: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:92:9: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (61) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:92:9: note: (62) inlined call to ‘io_uring_prep_poll_add’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (63) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (64) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:342:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:351:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (6) calling ‘test_thread_shutdown’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:137:12: note: (7) entry to ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:148:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:151:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:151:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:153:18: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:154:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:15: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (22) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (23) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (24) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (25) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (26) following ‘true’ branch (when ‘available == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1460:18: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (28) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (30) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:55: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (35) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (36) returning to ‘main’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:355:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:360:15: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:361:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:366:15: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:366:15: note: (41) calling ‘test_eventfd’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:68:12: note: (42) entry to ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:77:12: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:80:15: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:83:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:85:15: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:86:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:89:16: note: (48) inlined call to ‘can_read’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:89:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:37:16: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (50) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:89:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:90:16: note: (51) inlined call to ‘can_read’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] In function ‘can_read’, inlined from ‘test_eventfd’ at defer-taskrun.c:90:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:37:16: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:90:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:92:9: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (58) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:92:9: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:92:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (61) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:94:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:96:9: note: (63) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (64) ...tomake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (65) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (66) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (68) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:96:9: note: (69) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (70) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:96:9: note: (71) inlined call to ‘io_uring_prep_nop’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (72) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_eventfd’ at defer-taskrun.c:96:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (73) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:63:24: warning: leak of file descriptor ‘fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:335:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:340:12: note: (2) following ‘false’ branch (when ‘argc <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:342:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:342:12: note: (4) following ‘true’ branch (when ‘argc == 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:348:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:351:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (8) calling ‘test_thread_shutdown’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:137:12: note: (9) entry to ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:156:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:157:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:159:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:161:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (18) calling ‘io_uring_wait_cqe’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (19) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (20) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (21) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (22) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (24) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (26) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:15: note: (29) returning to ‘test_thread_shutdown’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:162:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:164:9: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:354:15: note: (32) returning to ‘main’ from ‘test_thread_shutdown’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:355:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:360:15: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:360:15: note: (35) calling ‘test_exec’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:169:12: note: (36) entry to ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:12: note: (37) following ‘false’ branch (when ‘fork_pid >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:181:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:181:12: note: (39) following ‘false’ branch (when ‘fork_pid == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:192:15: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:194:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:197:12: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:197:12: note: (43) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:198:22: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:198:22: note: (45) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:199:20: note: (46) assuming ‘open(filename, 16384)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:199:20: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:211:15: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:61:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:63:24: note: (49) ‘fd’ leaks here; was opened at (45) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/defer-taskrun.c:180:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/eploop.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:561:2, inlined from ‘main’ at eploop.c:49:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:17:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:28:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:29:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:34:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:35:12: note: (6) following ‘false’ branch (when ‘epollfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:40:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:43:12: note: (8) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:48:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:48:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:49:9: note: (17) inlined call to ‘io_uring_prep_poll_multishot’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:561:9: note: (18) inlined call to ‘io_uring_prep_poll_add’ from ‘io_uring_prep_poll_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:561:2, inlined from ‘main’ at eploop.c:49:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (20) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:54:24: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:17:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:28:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:29:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:34:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:35:12: note: (6) following ‘false’ branch (when ‘epollfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:40:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:43:12: note: (8) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:48:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:48:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:53:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:53:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:53:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eploop.c:53:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eploop.c:54:24: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-reg.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/eventfd-ring.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at eventfd-ring.c:68:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:28:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:29:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:33:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:33:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:37:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:38:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:43:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:44:12: note: (10) following ‘false’ branch (when ‘evfd1 >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:49:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:50:12: note: (12) following ‘false’ branch (when ‘evfd2 >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:55:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:56:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:61:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:62:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:67:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:67:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:68:9: note: (25) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at eventfd-ring.c:68:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(&ring1)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at eventfd-ring.c:72:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:28:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:29:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:33:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:33:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:37:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:38:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:43:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:44:12: note: (10) following ‘false’ branch (when ‘evfd1 >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:49:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:50:12: note: (12) following ‘false’ branch (when ‘evfd2 >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:55:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:56:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:61:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:62:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:67:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:67:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:71:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:71:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:72:9: note: (32) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at eventfd-ring.c:72:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(&ring2)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘main’ at eventfd-ring.c:88:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:25:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:28:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:29:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:33:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:33:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:37:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:38:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:43:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:44:12: note: (10) following ‘false’ branch (when ‘evfd1 >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:49:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:50:12: note: (12) following ‘false’ branch (when ‘evfd2 >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:55:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:56:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:61:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:62:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:67:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:67:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:67:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:71:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:71:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:76:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:81:15: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:82:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:87:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:87:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (40) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:87:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd-ring.c:87:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-ring.c:88:9: note: (43) inlined call to ‘io_uring_prep_nop’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (44) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘main’ at eventfd-ring.c:88:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (45) dereference of NULL ‘_io_uring_get_sqe(&ring1)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/eventfd.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at eventfd.c:57:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:34:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:35:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:39:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:39:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:44:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:45:12: note: (8) following ‘false’ branch (when ‘evfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:50:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:51:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:56:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:56:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:57:9: note: (19) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at eventfd.c:57:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at eventfd.c:62:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:34:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:35:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:39:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:39:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:44:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:45:12: note: (8) following ‘false’ branch (when ‘evfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:50:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:51:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:56:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:56:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:61:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:61:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:62:9: note: (26) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at eventfd.c:62:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘main’ at eventfd.c:72:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:34:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:35:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:39:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:39:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:44:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:45:12: note: (8) following ‘false’ branch (when ‘evfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:50:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:51:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:56:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:56:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:56:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:61:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:61:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:61:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:66:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:71:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:71:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at eventfd.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd.c:72:9: note: (35) inlined call to ‘io_uring_prep_nop’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (36) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘main’ at eventfd.c:72:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (37) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 fifo-nonblock-read.t fifo-nonblock-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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/eventfd-disable.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘test’ at eventfd-disable.c:65:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:157:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:161:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:164:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:164:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:18:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:31:12: note: (6) following ‘false’ branch (when ‘defer == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:35:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:36:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:41:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:42:12: note: (10) following ‘false’ branch (when ‘evfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:47:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:48:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:53:14: note: (13) inlined call to ‘io_uring_cq_eventfd_enabled’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_eventfd_enabled’, inlined from ‘test’ at eventfd-disable.c:53:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1374:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:59:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:64:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:64:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:65:9: note: (24) inlined call to ‘io_uring_prep_readv’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘test’ at eventfd-disable.c:65:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test’ at eventfd-disable.c:76:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:157:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:161:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:164:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:164:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:18:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:31:12: note: (6) following ‘false’ branch (when ‘defer == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:35:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:36:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:41:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:42:12: note: (10) following ‘false’ branch (when ‘evfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:47:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:48:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:53:14: note: (13) inlined call to ‘io_uring_cq_eventfd_enabled’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_eventfd_enabled’, inlined from ‘test’ at eventfd-disable.c:53:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1374:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:59:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:64:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:64:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:69:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:74:23: note: (26) following ‘true’ branch (when ‘i != 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:75:23: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:75:23: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:76:17: note: (35) inlined call to ‘io_uring_prep_nop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (36) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test’ at eventfd-disable.c:76:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (37) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test’ at eventfd-disable.c:114:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:157:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:161:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:164:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:164:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:18:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:31:12: note: (6) following ‘false’ branch (when ‘defer == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:35:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:36:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:41:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:42:12: note: (10) following ‘false’ branch (when ‘evfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:47:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:48:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:53:14: note: (13) inlined call to ‘io_uring_cq_eventfd_enabled’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_eventfd_enabled’, inlined from ‘test’ at eventfd-disable.c:53:7: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1374:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:59:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:64:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:64:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:64:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:69:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:74:23: note: (26) following ‘true’ branch (when ‘i != 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:75:23: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:75:23: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:75:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:81:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:86:23: note: (37) following ‘true’ branch (when ‘i != 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:87:23: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:87:23: note: (39) calling ‘io_uring_wait_cqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (40) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (41) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (42) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (43) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (45) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (47) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:87:23: note: (50) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:88:20: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:93:28: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:108:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:113:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:113:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:113:15: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at eventfd-disable.c:113:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (61) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/eventfd-disable.c:114:9: note: (62) inlined call to ‘io_uring_prep_nop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (63) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test’ at eventfd-disable.c:114:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (64) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/evloop.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:561:2, inlined from ‘main’ at evloop.c:48:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:19:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:29:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:30:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:35:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:36:12: note: (6) following ‘false’ branch (when ‘efd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:41:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:42:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:47:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:47:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:48:9: note: (17) inlined call to ‘io_uring_prep_poll_multishot’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:561:9: note: (18) inlined call to ‘io_uring_prep_poll_add’ from ‘io_uring_prep_poll_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:561:2, inlined from ‘main’ at evloop.c:48:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (20) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:53:24: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:19:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:29:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:30:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:35:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:36:12: note: (6) following ‘false’ branch (when ‘efd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:41:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:42:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:47:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:47:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:52:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:52:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:52:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at evloop.c:52:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/evloop.c:53:24: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/fallocate.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c: In function ‘inject_fault’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:51:3: warning: leak of file descriptor ‘open("/proc/thread-self/fail-nth", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:47:8: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:48:6: note: (2) assuming ‘open("/proc/thread-self/fail-nth", 2)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:48:6: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:51:3: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:51:3: note: (5) ‘open("/proc/thread-self/fail-nth", 2)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:54:10: warning: leak of file descriptor ‘’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:84:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:86:6: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:88:3: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:89:7: note: (4) calling ‘setup_fault’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:57:12: note: (5) entry to ‘setup_fault’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:73:17: note: (6) following ‘true’ branch (when ‘i != 7’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:74:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:89:7: note: (8) returning to ‘main’ from ‘setup_fault’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:89:6: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:94:26: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:125:9: note: (11) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:126:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:128:29: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:129:3: note: (14) calling ‘inject_fault’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:44:12: note: (15) entry to ‘inject_fault’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:47:8: note: (16) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:48:6: note: (17) assuming ‘open("/proc/thread-self/fail-nth", 2)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:48:6: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:51:3: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:52:6: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:54:10: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fc2a85cb02ef.c:54:10: note: (22) ‘’ leaks here; was opened at (16) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-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.8-build/liburing-2.8/test/fifo-nonblock-read.c:11: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: 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:777:2, inlined from ‘main’ at fifo-nonblock-read.c:44:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:14:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:26:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:26:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:31:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:32:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:36:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:38:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:43:15: note: (8) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fifo-nonblock-read.c:43:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (11) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:43:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fifo-nonblock-read.c:43:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fifo-nonblock-read.c:44:9: note: (16) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (17) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at fifo-nonblock-read.c:44:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (18) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/files-exit-hang-poll.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘add_poll’ at files-exit-hang-poll.c:29:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘add_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:24:13: note: (1) entry to ‘add_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:28:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:28:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘add_poll’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘add_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:29:9: note: (9) inlined call to ‘io_uring_prep_poll_add’ from ‘add_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘add_poll’ at files-exit-hang-poll.c:29:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘add_accept’ at files-exit-hang-poll.c:38:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘add_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:33:13: note: (1) entry to ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:37:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:37:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘add_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:38:9: note: (9) inlined call to ‘io_uring_prep_accept’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘add_accept’ at files-exit-hang-poll.c:38:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:59:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:66:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:69:26: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:69:26: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:70:12: note: (5) following ‘false’ branch (when ‘sock_listen_fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:75:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:81:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:86:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:86:13: note: (9) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:86:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:91:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:91:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:94:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:94:9: note: (14) calling ‘add_poll’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:24:13: note: (15) entry to ‘add_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:28:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘add_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:28:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘add_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_poll’ at files-exit-hang-poll.c:28:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘add_poll’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:94:9: note: (23) returning to ‘main’ from ‘add_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:95:9: note: (24) calling ‘add_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:33:13: note: (25) entry to ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:37:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:37:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-poll.c:37:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:95:9: note: (33) returning to ‘main’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:98:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:103:9: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:103:9: note: (36) registering ‘alarm_sig’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (37) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:54:13: note: (38) entry to ‘alarm_sig’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: note: (39) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-poll.c:56:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:23: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘queue_accept_conn’ at accept.c:131:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_accept_conn’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:759:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:763:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (4) calling ‘test_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:596:12: note: (5) entry to ‘test_accept’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:9: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:606:9: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (8) calling ‘test’ from ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:385:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:181:12: note: (13) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:186:14: note: (14) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:191:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:192:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:193:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:200:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:203:9: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (23) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:205:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:207:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:392:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:394:29: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (31) calling ‘test_loop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:267:12: note: (32) entry to ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:278:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:284:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:23: note: (37) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:210:12: note: (40) entry to ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:215:14: note: (41) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:219:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:221:25: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:222:9: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:224:15: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:226:9: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:228:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:229:9: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:231:17: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:232:9: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:234:15: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:236:9: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:238:16: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:289:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:34: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:293:12: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:115:13: note: (60) entry to ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:120:40: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:123:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_accept_conn’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (70) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (71) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_accept_conn’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:130:20: note: (74) following ‘true’ branch (when ‘fixed_idx == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:131:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘queue_accept_conn’ at accept.c:131:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (78) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘io_uring_prep_multishot_accept’ at ../src/include/liburing.h:647:2, inlined from ‘queue_accept_multishot’ at accept.c:108:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_accept_multishot’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:759:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:763:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (4) calling ‘test_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:596:12: note: (5) entry to ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:606:9: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (8) calling ‘test’ from ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:385:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:181:12: note: (13) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:186:14: note: (14) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:191:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:192:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:193:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:200:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:203:9: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (23) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:205:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:207:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:392:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:394:29: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (31) calling ‘test_loop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:267:12: note: (32) entry to ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:278:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:284:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:23: note: (37) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:210:12: note: (40) entry to ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:215:14: note: (41) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:219:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:221:25: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:222:9: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:224:15: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:226:9: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:228:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:229:9: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:231:17: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:232:9: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:234:15: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:236:9: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:238:16: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:289:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:34: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:293:12: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:115:13: note: (60) entry to ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:120:40: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:123:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_accept_multishot’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (70) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (71) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_accept_multishot’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:130:20: note: (74) following ‘true’ branch (when ‘fixed_idx == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:131:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘queue_accept_conn’ at accept.c:131:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_accept_multishot’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:137:17: note: (78) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (80) following ‘false’ branch (when ‘count == 0’)... <--[csmock-gcc-wrapper] cc1: note: (81) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (82) returning to ‘test_loop’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:23: note: (83) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (84) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (85) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] cc1: note: (86) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (87) calling ‘accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:141:12: note: (88) entry to ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:148:23: note: (89) calling ‘io_uring_wait_cqe’ from ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (90) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (91) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (92) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (93) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (94) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (95) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (96) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (97) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (98) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (99) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:148:23: note: (100) returning to ‘accept_conn’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:149:17: note: (101) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:150:23: note: (102) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:154:12: note: (103) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:155:26: note: (104) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:155:20: note: (105) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:156:37: note: (106) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:157:25: note: (107) calling ‘queue_accept_multishot’ from ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:97:13: note: (108) entry to ‘queue_accept_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:100:36: note: (109) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_multishot’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_multishot’ at accept.c:100:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (110) calling ‘_io_uring_get_sqe’ from ‘queue_accept_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_accept_multishot’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (111) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (112) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (113) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:100:36: note: (114) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_multishot’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_multishot’ at accept.c:100:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (115) returning to ‘queue_accept_multishot’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_accept_multishot’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:103:12: note: (116) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:108:17: note: (117) inlined call to ‘io_uring_prep_multishot_accept’ from ‘queue_accept_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:647:9: note: (118) inlined call to ‘io_uring_prep_accept’ from ‘io_uring_prep_multishot_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (119) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘io_uring_prep_multishot_accept’ at ../src/include/liburing.h:647:2, inlined from ‘queue_accept_multishot’ at accept.c:108:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (120) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (121) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘queue_send’ at accept.c:73:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:759:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:763:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (4) calling ‘test_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:596:12: note: (5) entry to ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:606:9: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (8) calling ‘test’ from ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:385:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:181:12: note: (13) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:186:14: note: (14) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:191:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:192:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:193:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:200:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:203:9: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (23) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:205:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:207:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:392:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:394:29: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (31) calling ‘test_loop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:267:12: note: (32) entry to ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:278:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:284:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:23: note: (37) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:210:12: note: (40) entry to ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:215:14: note: (41) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:219:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:221:25: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:222:9: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:224:15: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:226:9: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:228:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:229:9: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:231:17: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:232:9: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:234:15: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:236:9: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:238:16: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:289:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:34: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:293:12: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:115:13: note: (60) entry to ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:120:40: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:123:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (70) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (71) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:130:20: note: (74) following ‘true’ branch (when ‘fixed_idx == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:131:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘queue_accept_conn’ at accept.c:131:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:137:17: note: (78) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (80) following ‘false’ branch (when ‘count == 0’)... <--[csmock-gcc-wrapper] cc1: note: (81) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (82) returning to ‘test_loop’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:23: note: (83) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (84) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (85) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] cc1: note: (86) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (87) calling ‘accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:141:12: note: (88) entry to ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:148:23: note: (89) calling ‘io_uring_wait_cqe’ from ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (90) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (91) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (92) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (93) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (94) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (95) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (96) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (97) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (98) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (99) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:148:23: note: (100) returning to ‘accept_conn’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:149:17: note: (101) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:150:23: note: (102) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:168:12: note: (103) following ‘false’ branch (when ‘fixed_idx < 0’)... <--[csmock-gcc-wrapper] cc1: note: (104) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (105) returning to ‘test_loop’ from ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:298:20: note: (106) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:311:27: note: (107) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:311:27: note: (108) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:320:27: note: (109) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:325:20: note: (110) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:34: note: (111) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:23: note: (112) following ‘false’ branch (when ‘i >= nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:341:12: note: (113) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:341:12: note: (114) following ‘false’ branch (when ‘multishot == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:349:18: note: (115) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:349:18: note: (116) calling ‘queue_send’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:63:14: note: (117) entry to ‘queue_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:72:15: note: (118) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (119) calling ‘_io_uring_get_sqe’ from ‘queue_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (120) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (121) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (122) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:72:15: note: (123) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (124) returning to ‘queue_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:73:9: note: (125) inlined call to ‘io_uring_prep_writev’ from ‘queue_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:500:9: note: (126) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘queue_send’ at accept.c:73:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (127) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘queue_recv’ at accept.c:89:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:759:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:763:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (4) calling ‘test_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:596:12: note: (5) entry to ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:606:9: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (8) calling ‘test’ from ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:385:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:181:12: note: (13) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:186:14: note: (14) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:191:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:192:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:193:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:200:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:203:9: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (23) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:205:9: note: (24) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:207:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (26) returning to ‘test’ from ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:392:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:394:29: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:395:23: note: (31) calling ‘test_loop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:267:12: note: (32) entry to ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:278:42: note: (33) following ‘false’ branch (when ‘multishot == 0’)... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:284:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:23: note: (37) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (39) calling ‘set_client_fd’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:210:12: note: (40) entry to ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:215:14: note: (41) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:219:9: note: (42) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:221:25: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:222:9: note: (44) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:224:15: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:226:9: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:228:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:229:9: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:231:17: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:232:9: note: (50) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:234:15: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:236:9: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:238:16: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:288:27: note: (54) returning to ‘test_loop’ from ‘set_client_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:289:20: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:287:34: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:293:12: note: (57) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (59) calling ‘queue_accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:115:13: note: (60) entry to ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:120:40: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (62) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:123:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (65) following ‘true’ branch (when ‘count != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (66) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (68) calling ‘_io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (69) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (70) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (71) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:129:23: note: (72) inlined call to ‘io_uring_get_sqe’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_accept_conn’ at accept.c:129:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (73) returning to ‘queue_accept_conn’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:130:20: note: (74) following ‘true’ branch (when ‘fixed_idx == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:131:25: note: (75) inlined call to ‘io_uring_prep_accept’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘queue_accept_conn’ at accept.c:131:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:137:17: note: (78) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:128:16: note: (80) following ‘false’ branch (when ‘count == 0’)... <--[csmock-gcc-wrapper] cc1: note: (81) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:294:17: note: (82) returning to ‘test_loop’ from ‘queue_accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:23: note: (83) following ‘true’ branch (when ‘i < nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (84) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (85) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] cc1: note: (86) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (87) calling ‘accept_conn’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:141:12: note: (88) entry to ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:148:23: note: (89) calling ‘io_uring_wait_cqe’ from ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (90) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (91) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (92) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (93) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (94) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (95) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (96) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (97) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (98) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (99) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:148:23: note: (100) returning to ‘accept_conn’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:149:17: note: (101) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:150:23: note: (102) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:168:12: note: (103) following ‘false’ branch (when ‘fixed_idx < 0’)... <--[csmock-gcc-wrapper] cc1: note: (104) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:297:27: note: (105) returning to ‘test_loop’ from ‘accept_conn’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:298:20: note: (106) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:311:27: note: (107) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:311:27: note: (108) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:320:27: note: (109) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:325:20: note: (110) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:34: note: (111) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:296:23: note: (112) following ‘false’ branch (when ‘i >= nr_fds’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:341:12: note: (113) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:341:12: note: (114) following ‘false’ branch (when ‘multishot == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:349:18: note: (115) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:349:18: note: (116) calling ‘queue_send’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:63:14: note: (117) entry to ‘queue_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:72:15: note: (118) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (119) calling ‘_io_uring_get_sqe’ from ‘queue_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (120) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (121) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (122) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:72:15: note: (123) inlined call to ‘io_uring_get_sqe’ from ‘queue_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_send’ at accept.c:72:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (124) returning to ‘queue_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:349:18: note: (125) returning to ‘test_loop’ from ‘queue_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:350:18: note: (126) calling ‘queue_recv’ from ‘test_loop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:79:14: note: (127) entry to ‘queue_recv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:88:15: note: (128) inlined call to ‘io_uring_get_sqe’ from ‘queue_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_recv’ at accept.c:88:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (129) calling ‘_io_uring_get_sqe’ from ‘queue_recv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (130) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (131) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (132) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:88:15: note: (133) inlined call to ‘io_uring_get_sqe’ from ‘queue_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_recv’ at accept.c:88:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (134) returning to ‘queue_recv’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘queue_recv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:89:9: note: (135) inlined call to ‘io_uring_prep_readv’ from ‘queue_recv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (136) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘queue_recv’ at accept.c:89:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (137) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c: In function ‘start_accept_listen’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: warning: ‘listen’ on possibly invalid file descriptor ‘fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:759:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:763:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:766:15: note: (4) calling ‘test_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:596:12: note: (5) entry to ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:606:9: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:607:15: note: (8) calling ‘test’ from ‘test_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:385:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:390:27: note: (12) calling ‘start_accept_listen’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:181:12: note: (13) entry to ‘start_accept_listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:186:14: note: (14) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:191:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:192:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:193:9: note: (17) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:197:12: note: (19) following ‘false’ branch (when ‘addr’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:200:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:203:9: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/accept.c:204:15: note: (23) ‘fd’ could be invalid <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/fd-install.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_working’ at fd-install.c:239:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:428:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:217:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:224:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:7: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:13: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:239:9: note: (24) inlined call to ‘io_uring_prep_read’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_working’ at fd-install.c:239:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_fixed_fd_install’ at ../src/include/liburing.h:1282:2, inlined from ‘test_working’ at fd-install.c:266:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:428:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:217:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:224:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:13: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:245:12: note: (24) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:248:19: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:248:19: note: (26) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (28) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (29) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (30) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (31) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (32) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (34) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (36) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (39) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:254:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:258:16: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:258:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:265:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:265:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:266:9: note: (51) inlined call to ‘io_uring_prep_fixed_fd_install’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1282:9: note: (52) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_fixed_fd_install’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_fixed_fd_install’ at ../src/include/liburing.h:1282:2, inlined from ‘test_working’ at fd-install.c:266:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (53) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:770:2, inlined from ‘test_working’ at fd-install.c:304:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:428:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:217:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:224:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:13: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:245:12: note: (24) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:248:19: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:248:19: note: (26) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (28) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (29) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (30) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (31) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (32) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (34) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (36) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (39) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:254:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:258:16: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:258:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:265:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:265:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:269:15: note: (51) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (52) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (53) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (54) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (55) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (57) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (59) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (60) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:269:15: note: (62) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:270:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:274:16: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:274:12: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:278:12: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:278:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:283:16: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:287:12: note: (69) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:290:19: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:290:19: note: (71) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:296:15: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:297:12: note: (73) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:303:15: note: (74) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (75) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (76) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (77) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (78) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (79) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:303:15: note: (80) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (81) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:304:9: note: (82) inlined call to ‘io_uring_prep_close_direct’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:770:9: note: (83) inlined call to ‘io_uring_prep_close’ from ‘io_uring_prep_close_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:764:9: note: (84) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:770:2, inlined from ‘test_working’ at fd-install.c:304:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (85) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_working’ at fd-install.c:336:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:428:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:217:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:218:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:224:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:228:12: note: (13) following ‘false’ branch (when ‘ret == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:13: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:232:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:238:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:238:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:245:12: note: (24) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:248:19: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:248:19: note: (26) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (28) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (29) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (30) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (31) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (32) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (34) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (36) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:253:15: note: (39) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:254:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:258:16: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:258:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:265:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:265:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:265:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:269:15: note: (51) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (52) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (53) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (54) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (55) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (57) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (59) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (60) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:269:15: note: (62) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:270:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:274:16: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:274:12: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:278:12: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:278:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:283:16: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:287:12: note: (69) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:290:19: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:290:19: note: (71) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:296:15: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:297:12: note: (73) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:303:15: note: (74) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (75) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (76) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (77) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (78) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (79) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:303:15: note: (80) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:303:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (81) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:307:15: note: (82) calling ‘io_uring_wait_cqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (83) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (84) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (85) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (86) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (87) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (88) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (89) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (90) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (91) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (92) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:307:15: note: (93) returning to ‘test_working’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:308:12: note: (94) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:312:16: note: (95) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:312:12: note: (96) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (97) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:319:12: note: (98) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:322:19: note: (99) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:322:19: note: (100) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:328:15: note: (101) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:329:12: note: (102) following ‘false’ branch (when ‘ret == 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:335:15: note: (103) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:335:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (104) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (105) calling ‘_io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (106) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (107) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (108) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:335:15: note: (109) inlined call to ‘io_uring_get_sqe’ from ‘test_working’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_working’ at fd-install.c:335:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (110) returning to ‘test_working’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:336:9: note: (111) inlined call to ‘io_uring_prep_read’ from ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (112) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_working’ at fd-install.c:336:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (113) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c: In function ‘test_working’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:227:15: warning: ‘read’ on closed file descriptor ‘fds[0]’ [-Wanalyzer-fd-use-after-close] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:420:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:425:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:428:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:429:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:434:15: note: (6) calling ‘test_working’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:204:12: note: (7) entry to ‘test_working’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:13: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:13: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:211:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:217:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:218:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:224:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:224:9: note: (14) closed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-install.c:227:15: note: (15) ‘read’ on closed file descriptor ‘fds[0]’; ‘close’ was at (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/fd-pass.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at fd-pass.c:94:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:194:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:199:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:202:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:205:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:53:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:61:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:65:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:66:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:71:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:72:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:78:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:79:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:83:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:83:12: note: (14) following ‘false’ branch (when ‘target_fd != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:93:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:93:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:94:9: note: (23) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:741:9: note: (24) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at fd-pass.c:94:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&sring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘verify_fixed_read’ at fd-pass.c:30:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c: In function ‘verify_fixed_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:194:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:199:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:202:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:205:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:53:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:61:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:65:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:66:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:71:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:72:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:78:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:79:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:83:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:83:12: note: (14) following ‘false’ branch (when ‘target_fd != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:93:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘verify_fixed_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:93:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fd-pass.c:93:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c: In function ‘verify_fixed_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:96:15: note: (23) calling ‘io_uring_wait_cqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (24) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (25) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (26) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (27) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (29) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (31) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:96:15: note: (34) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:97:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:101:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:101:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (38) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:108:13: note: (39) calling ‘verify_fixed_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:22:12: note: (40) entry to ‘verify_fixed_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:29:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘verify_fixed_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘verify_fixed_read’ at fd-pass.c:29:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) calling ‘_io_uring_get_sqe’ from ‘verify_fixed_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘verify_fixed_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (43) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (45) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:29:15: note: (46) inlined call to ‘io_uring_get_sqe’ from ‘verify_fixed_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘verify_fixed_read’ at fd-pass.c:29:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (47) returning to ‘verify_fixed_read’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c: In function ‘verify_fixed_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fd-pass.c:30:9: note: (48) inlined call to ‘io_uring_prep_read’ from ‘verify_fixed_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (49) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘verify_fixed_read’ at fd-pass.c:30:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (50) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 fdinfo.t fdinfo.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:39: error: memleak(CWE-401): Memory leak: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c: In function ‘fdinfo_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:39:17: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:361:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:382:14: note: (2) calling ‘has_nonvec_read’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:277:12: note: (3) entry to ‘has_nonvec_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:284:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:289:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:382:14: note: (6) returning to ‘main’ from ‘has_nonvec_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:384:23: note: (7) following ‘true’ branch (when ‘i < nr’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:385:21: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:391:23: note: (9) calling ‘test_io’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:254:12: note: (10) entry to ‘test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:260:12: note: (11) following ‘false’ branch (when ‘sqthread == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:263:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:264:12: note: (13) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:266:12: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:266:12: note: (15) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:271:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:271:15: note: (17) calling ‘__test_io’ from ‘test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:58:12: note: (18) entry to ‘__test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:73:12: note: (19) following ‘false’ branch (when ‘write == 0’)... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:77:12: note: (21) following ‘true’ branch (when ‘buffered == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:78:28: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:80:12: note: (23) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:90:14: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:91:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:100:12: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:100:12: note: (27) following ‘false’ branch (when ‘sqthread == 0’)... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:109:23: note: (29) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:110:23: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘__test_io’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_io’ at fdinfo.c:110:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) calling ‘_io_uring_get_sqe’ from ‘__test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘fdinfo_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (33) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:110:23: note: (36) inlined call to ‘io_uring_get_sqe’ from ‘__test_io’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_io’ at fdinfo.c:110:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) returning to ‘__test_io’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c: In function ‘fdinfo_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:111:20: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:115:20: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:115:20: note: (40) following ‘true’ branch (when ‘seq == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:116:40: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:117:20: note: (42) following ‘false’ branch (when ‘write == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:138:29: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:140:28: note: (44) following ‘false’ branch (when ‘sqthread == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:142:28: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:142:28: note: (46) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:148:35: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:148:35: note: (48) following ‘false’ branch (when ‘nonvec == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:152:33: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:158:20: note: (50) following ‘false’ branch (when ‘sqthread == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:160:20: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:160:20: note: (52) following ‘false’ branch (when ‘buf_select == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:166:20: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:166:20: note: (54) following ‘false’ branch (when ‘seq == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:109:35: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:109:23: note: (56) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:110:23: note: (57) inlined call to ‘io_uring_get_sqe’ from ‘__test_io’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_io’ at fdinfo.c:110:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (59) calling ‘_io_uring_get_sqe’ from ‘__test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘fdinfo_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (60) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (61) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:110:23: note: (63) inlined call to ‘io_uring_get_sqe’ from ‘__test_io’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_io’ at fdinfo.c:110:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (64) returning to ‘__test_io’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c: In function ‘fdinfo_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:111:20: note: (65) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:115:20: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:115:20: note: (67) following ‘true’ branch (when ‘seq == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:116:40: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:117:20: note: (69) following ‘false’ branch (when ‘write == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:138:29: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:140:28: note: (71) following ‘false’ branch (when ‘sqthread == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:142:28: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:142:28: note: (73) following ‘false’ branch (when ‘fixed == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:148:35: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:148:35: note: (75) following ‘false’ branch (when ‘nonvec == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:152:33: note: (76) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:158:20: note: (77) following ‘false’ branch (when ‘sqthread == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:160:20: note: (78) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:160:20: note: (79) following ‘false’ branch (when ‘buf_select == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:166:20: note: (80) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:166:20: note: (81) following ‘false’ branch (when ‘seq == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:109:35: note: (82) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:170:9: note: (83) calling ‘fdinfo_read’ from ‘__test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:27:13: note: (84) entry to ‘fdinfo_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:33:15: note: (85) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:37:12: note: (86) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:38:17: note: (87) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fdinfo.c:39:17: note: (88) ‘buf’ leaks here; was allocated at (85) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/file-register.c:726: error: uninitvar(CWE-457): Uninitialized variable: buffer <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/files-exit-hang-timeout.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:599:2, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:36:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘add_timeout’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:31:13: note: (1) entry to ‘add_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:35:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_timeout’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:35:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘add_timeout’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘add_timeout’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:36:9: note: (9) inlined call to ‘io_uring_prep_timeout’ from ‘add_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:599:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:599:2, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:36:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘add_accept’ at files-exit-hang-timeout.c:45:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘add_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:40:13: note: (1) entry to ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:44:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:44:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘add_accept’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:45:9: note: (9) inlined call to ‘io_uring_prep_accept’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘add_accept’ at files-exit-hang-timeout.c:45:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:66:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:74:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:77:26: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:77:26: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:78:12: note: (5) following ‘false’ branch (when ‘sock_listen_fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:83:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:105:13: note: (7) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:105:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:110:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:110:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:113:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:113:9: note: (12) calling ‘add_timeout’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:31:13: note: (13) entry to ‘add_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:35:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘add_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:35:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘add_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_timeout’ at files-exit-hang-timeout.c:35:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘add_timeout’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:113:9: note: (21) returning to ‘main’ from ‘add_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:114:9: note: (22) calling ‘add_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:40:13: note: (23) entry to ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:44:15: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:44:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘add_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_accept’ at files-exit-hang-timeout.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (30) returning to ‘add_accept’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c: In function ‘alarm_sig’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:114:9: note: (31) returning to ‘main’ from ‘add_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:117:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:122:9: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:122:9: note: (34) registering ‘alarm_sig’ as signal handler <--[csmock-gcc-wrapper] cc1: note: (35) later on, when the signal is delivered to the process /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:61:13: note: (36) entry to ‘alarm_sig’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: note: (37) call to ‘exit’ from within signal handler <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/files-exit-hang-timeout.c:63:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/fixed-buf-merge.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.8-build/liburing-2.8/test/fixed-buf-merge.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:492:2, inlined from ‘main’ at fixed-buf-merge.c:67:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:17:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:29:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:34:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:38:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:47:28: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:48:12: note: (6) following ‘false’ branch (when ‘buffer’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:54:22: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:58:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:64:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:65:23: note: (10) following ‘true’ branch (when ‘i != 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:66:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-buf-merge.c:66:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:66:23: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-buf-merge.c:66:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-merge.c:67:17: note: (19) inlined call to ‘io_uring_prep_read_fixed’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:492:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_fixed’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:492:2, inlined from ‘main’ at fixed-buf-merge.c:67:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:10: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:492:2, inlined from ‘main’ at fixed-link.c:52:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:15:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:21:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:24:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:25:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:30:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:30:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:36:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:37:38: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:42:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:47:23: note: (12) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:48:44: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-link.c:48:30: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:48:44: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fixed-link.c:48:30: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:52:17: note: (21) inlined call to ‘io_uring_prep_read_fixed’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:492:9: note: (22) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_fixed’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_fixed’ at ../src/include/liburing.h:492:2, inlined from ‘main’ at fixed-link.c:52:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (23) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:42:12: warning: leak of file descriptor ‘open("/dev/zero", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:21:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:24:14: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:24:14: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:25:12: note: (4) assuming ‘open("/dev/zero", 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:25:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:30:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:30:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:36:23: note: (9) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:37:38: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-link.c:42:12: note: (11) ‘open("/dev/zero", 0)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/fixed-buf-iter.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:42:17: warning: use of possibly-NULL ‘malloc(4096)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:95:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:100:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:103:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:104:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:106:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:106:17: note: (6) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:109:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:109:15: note: (8) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:20:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:28:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:33:18: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:34:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:39:23: note: (14) following ‘true’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:40:35: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:40:35: note: (16) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-buf-iter.c:42:17: note: (17) argument 1 (‘malloc(4096)’) from (16) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memset’ must be non-null /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:6: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at fsnotify.c:83:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:19:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:30:12: note: (2) following ‘false’ branch (when ‘fan >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:40:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:43:20: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:60:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:60:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:64:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:64:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:70:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:71:12: note: (10) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:76:13: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:76:12: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:79:17: note: (13) ...to here <--[csmock-gcc-wrapper] cc1: note: (14) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:82:23: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fsnotify.c:82:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:82:23: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at fsnotify.c:82:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fsnotify.c:83:17: note: (23) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (24) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at fsnotify.c:83:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (25) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/fixed-reuse.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at fixed-reuse.c:34:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:129:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:137:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:144:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:34:9: note: (19) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:741:9: note: (20) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at fixed-reuse.c:34:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at fixed-reuse.c:59:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:129:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:137:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:144:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:38:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (21) calling ‘io_uring_wait_cqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (22) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (29) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (32) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:44:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:48:16: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:48:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:58:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (41) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:58:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (43) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:59:9: note: (44) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:741:9: note: (45) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (46) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at fixed-reuse.c:59:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (47) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at fixed-reuse.c:64:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:129:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:137:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:144:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburingmake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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-hugepage.t fixed-hugepage.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 ignore-single-mmap.t ignore-single-mmap.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 .h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:38:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (21) calling ‘io_uring_wait_cqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (22) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (29) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (32) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:44:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:48:16: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:48:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:58:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (40) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:58:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (43) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:63:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:63:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:64:9: note: (51) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (52) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at fixed-reuse.c:64:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (53) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:770:2, inlined from ‘test’ at fixed-reuse.c:70:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:120:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:129:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:130:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:134:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:137:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:139:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:144:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:25:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:33:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:38:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (21) calling ‘io_uring_wait_cqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (22) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (29) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:43:15: note: (32) returning to ‘test’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:44:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:48:16: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:48:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:58:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (40) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:58:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:58:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (43) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:63:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:63:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:63:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:69:15: note: (51) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:69:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (55) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:69:15: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at fixed-reuse.c:69:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-reuse.c:70:9: note: (58) inlined call to ‘io_uring_prep_close_direct’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:770:9: note: (59) inlined call to ‘io_uring_prep_close’ from ‘io_uring_prep_close_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:764:9: note: (60) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:770:2, inlined from ‘test’ at fixed-reuse.c:70:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (61) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/file-verify.c: In function ‘fill_pattern’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:532:20: warning: leak of file descriptor ‘open(fname, 1)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:543:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:561:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:566:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:566:15: note: (4) calling ‘fill_pattern’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:503:12: note: (5) entry to ‘fill_pattern’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:510:14: note: (6) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:511:12: note: (7) assuming ‘open(fname, 1)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:511:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:519:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:520:16: note: (10) following ‘true’ branch (when ‘left != 0’)... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:527:31: note: (12) following ‘true’ branch (when ‘i != 1024’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:528:30: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/file-verify.c:532:20: note: (14) ‘open(fname, 1)’ leaks here; was opened at (6) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fixed-hugepage.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:14: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: warning: leak of file descriptor ‘open(".test_fpos_read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:225:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:230:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:233:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:234:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:239:33: note: (6) following ‘true’ branch (when ‘test != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:240:21: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:242:49: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:246:25: note: (10) following ‘false’ branch (when ‘write == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:246:27: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:246:27: note: (12) calling ‘test_read’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:43:12: note: (13) entry to ‘test_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:58:9: note: (14) calling ‘create_file’ from ‘test_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:20:13: note: (15) entry to ‘create_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:28:27: note: (16) following ‘true’ branch (when ‘idx < size’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:30:28: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:28:27: note: (18) following ‘true’ branch (when ‘idx < size’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:30:28: note: (19) ...to here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:12: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:34:9: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:36:15: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:40:9: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:41:1: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:58:9: note: (24) returning to ‘test_read’ from ‘create_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:59:14: note: (25) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:61:9: note: (26) assuming ‘open(".test_fpos_read", 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:61:9: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:63:16: note: (29) following ‘false’ branch (when ‘done == 0’)... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:64:31: note: (31) following ‘true’ branch (when ‘i != 2048’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:65:31: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_read’ at fpos.c:65:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘test_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/fpos.c:65:31: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_read’ at fpos.c:65:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘test_read’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: note: (40) ‘open(".test_fpos_read", 0)’ leaks here; was opened at (25) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/futex.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1263:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:477:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:481:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:142:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:148:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:151:23: note: (8) following ‘true’ branch (when ‘i != 500’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:152:40: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:154:23: note: (10) calling ‘__test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:68:12: note: (11) entry to ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:80:12: note: (12) following ‘true’ branch (when ‘vectored == 0’)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:84:23: note: (14) following ‘true’ branch (when ‘i < nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:85:27: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:92:12: note: (23) following ‘false’ branch (when ‘vectored == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:95:17: note: (24) inlined call to ‘io_uring_prep_futex_wait’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1263:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_wait’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1263:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_cancel64’ at ../src/include/liburing.h:665:2, inlined from ‘__test’ at futex.c:107:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:477:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:481:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:142:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:148:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:151:23: note: (8) following ‘true’ branch (when ‘i != 500’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:152:40: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:154:23: note: (10) calling ‘__test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:68:12: note: (11) entry to ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:80:12: note: (12) following ‘true’ branch (when ‘vectored == 0’)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:84:23: note: (14) following ‘true’ branch (when ‘i < nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:85:27: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:92:12: note: (23) following ‘false’ branch (when ‘vectored == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:95:17: note: (24) inlined call to ‘io_uring_prep_futex_wait’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1263:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_wait’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1263:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:97:12: note: (27) following ‘true’ branch (when ‘async != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:98:20: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:103:23: note: (29) following ‘true’ branch (when ‘i < nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:104:64: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:103:23: note: (31) following ‘false’ branch (when ‘i >= nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:106:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:106:15: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:107:9: note: (40) inlined call to ‘io_uring_prep_cancel64’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:665:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_cancel64’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_cancel64’ at ../src/include/liburing.h:665:2, inlined from ‘__test’ at futex.c:107:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_waitv’ at ../src/include/liburing.h:1274:2, inlined from ‘__test’ at futex.c:93:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:477:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:481:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:142:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:151:23: note: (6) following ‘true’ branch (when ‘i != 500’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:152:40: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:154:23: note: (8) calling ‘__test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:68:12: note: (9) entry to ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:80:12: note: (10) following ‘true’ branch (when ‘vectored == 0’)... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:84:23: note: (12) following ‘true’ branch (when ‘i < nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:85:27: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:92:12: note: (21) following ‘false’ branch (when ‘vectored == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:95:17: note: (22) inlined call to ‘io_uring_prep_futex_wait’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1263:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_wait’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_wait’ at ../src/include/liburing.h:1263:2, inlined from ‘__test’ at futex.c:95:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:97:12: note: (25) following ‘true’ branch (when ‘async != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:98:20: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:103:23: note: (27) following ‘true’ branch (when ‘i < nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:104:64: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:103:23: note: (29) following ‘false’ branch (when ‘i >= nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:106:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (33) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:106:15: note: (36) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:106:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:108:12: note: (38) following ‘true’ branch (when ‘async_cancel != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:109:20: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:114:23: note: (40) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:115:23: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:115:23: note: (42) calling ‘io_uring_wait_cqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (43) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (44) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (45) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (46) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (48) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (50) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (51) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:115:23: note: (53) returning to ‘__test’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:116:20: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:121:24: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:154:23: note: (56) returning to ‘test’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:484:15: note: (57) returning to ‘main’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:485:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:489:13: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:489:12: note: (60) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:492:15: note: (61) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:492:15: note: (62) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:142:12: note: (63) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:148:12: note: (64) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (65) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:151:23: note: (66) following ‘true’ branch (when ‘i != 500’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:152:40: note: (67) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:154:23: note: (68) calling ‘__test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:68:12: note: (69) entry to ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:80:12: note: (70) following ‘false’ branch (when ‘vectored != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:83:17: note: (71) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:84:23: note: (72) following ‘true’ branch (when ‘i < nfutex’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:85:27: note: (73) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (74) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (75) calling ‘_io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (76) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (77) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (78) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:91:15: note: (79) inlined call to ‘io_uring_get_sqe’ from ‘__test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test’ at futex.c:91:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (80) returning to ‘__test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c: In function ‘__test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:92:12: note: (81) following ‘true’ branch (when ‘vectored != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:93:17: note: (82) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/futex.c:93:17: note: (83) inlined call to ‘io_uring_prep_futex_waitv’ from ‘__test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1274:9: note: (84) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_futex_waitv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_futex_waitv’ at ../src/include/liburing.h:1274:2, inlined from ‘__test’ at futex.c:93:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (85) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘do_iopoll’ at iopoll-leak.c:40:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c: In function ‘do_iopoll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:20:12: note: (1) entry to ‘do_iopoll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:28:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:35:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:39:15: note: (4) inlined call to ‘io_uring_get_sqe’ from ‘do_iopoll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_iopoll’ at iopoll-leak.c:39:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (5) calling ‘_io_uring_get_sqe’ from ‘do_iopoll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_iopoll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (6) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:39:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘do_iopoll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_iopoll’ at iopoll-leak.c:39:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) returning to ‘do_iopoll’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c: In function ‘do_iopoll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-leak.c:40:9: note: (11) inlined call to ‘io_uring_prep_read’ from ‘do_iopoll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (12) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘do_iopoll’ at iopoll-leak.c:40:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at iopoll-overflow.c:35:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:25:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:32:23: note: (2) following ‘true’ branch (when ‘j != 8’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:33:31: note: (4) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:34:31: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at iopoll-overflow.c:34:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:34:31: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at iopoll-overflow.c:34:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll-overflow.c:35:25: note: (13) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at iopoll-overflow.c:35:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 init-mem.t init-mem.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 kallsyms.t kallsyms.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 linked-defer-close.t linked-defer-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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/init-mem.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.8-build/liburing-2.8/test/init-mem.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test’ at init-mem.c:114:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:139:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:151:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:154:23: note: (4) following ‘true’ branch (when ‘i != 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:155:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:155:23: note: (6) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:88:12: note: (7) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:97:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:100:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:100:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:105:22: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:109:18: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:110:21: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:110:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:112:31: note: (16) following ‘true’ branch (when ‘j < batch’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:113:31: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at init-mem.c:113:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:113:31: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at init-mem.c:113:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/init-mem.c:114:25: note: (25) inlined call to ‘io_uring_prep_nop’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test’ at init-mem.c:114:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(&ctx.ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c: In function ‘test_dont_cancel_another_ring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:487:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:492:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:495:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:495:13: note: (4) calling ‘test_dont_cancel_another_ring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:182:12: note: (5) entry to ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:192:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:196:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:197:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:13: note: (10) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:13: note: (11) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:206:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:206:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_dont_cancel_another_ring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:206:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:206:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘test_dont_cancel_another_ring’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c: In function ‘test_dont_cancel_another_ring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:207:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:208:17: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: note: (23) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:487:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:492:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:495:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:495:13: note: (4) calling ‘test_dont_cancel_another_ring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:182:12: note: (5) entry to ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:192:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:196:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:197:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:13: note: (10) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:13: note: (11) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:201:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:206:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:206:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_dont_cancel_another_ring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:206:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test_dont_cancel_another_ring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_dont_cancel_another_ring’ at io-cancel.c:206:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘test_dont_cancel_another_ring’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c: In function ‘test_dont_cancel_another_ring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:207:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:208:17: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io-cancel.c:194:24: note: (23) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘provide_buffers’ at iopoll.c:35:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c: In function ‘provide_buffers’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:400:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:406:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:409:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:426:23: note: (4) following ‘true’ branch (when ‘i < nr’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:427:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:433:23: note: (6) calling ‘test_io’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:353:12: note: (7) entry to ‘test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:359:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:362:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:362:12: note: (10) following ‘false’ branch (when ‘defer == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:366:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:433:23: note: (12) returning to ‘main’ from ‘test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:434:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:439:21: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:439:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:426:30: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:426:23: note: (17) following ‘true’ branch (when ‘i < nr’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:427:21: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:433:23: note: (19) calling ‘test_io’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:353:12: note: (20) entry to ‘test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:359:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:362:12: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:367:12: note: (23) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:369:12: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:369:12: note: (25) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:373:15: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:373:15: note: (27) calling ‘__test_io’ from ‘test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:57:12: note: (28) entry to ‘__test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:70:27: note: (29) calling ‘provide_buffers’ from ‘__test_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:27:12: note: (30) entry to ‘provide_buffers’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:33:23: note: (31) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:34:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers’ at iopoll.c:34:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘provide_buffers’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘provide_buffers’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:34:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers’ at iopoll.c:34:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘provide_buffers’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c: In function ‘provide_buffers’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/iopoll.c:35:17: note: (40) inlined call to ‘io_uring_prep_provide_buffers’ from ‘provide_buffers’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘provide_buffers’ at iopoll.c:35:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:27: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘io_prep_read’ at io_uring_enter.c:114:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘sqe’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c: In function ‘io_prep_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:151:13: note: (1) entry to ‘submit_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:160:14: note: (2) calling ‘setup_file’ from ‘submit_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:77:12: note: (3) entry to ‘setup_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:83:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:87:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:88:12: note: (6) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:93:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:94:12: note: (8) following ‘false’ branch (when ‘ret == 4096’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:99:16: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:160:14: note: (10) returning to ‘submit_io’ from ‘setup_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:161:23: note: (11) following ‘true’ branch (when ‘i < nr’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:163:23: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘submit_io’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit_io’ at io_uring_enter.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘submit_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘io_prep_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:163:23: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘submit_io’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit_io’ at io_uring_enter.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘submit_io’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c: In function ‘io_prep_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:165:17: note: (20) calling ‘io_prep_read’ from ‘submit_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:102:13: note: (21) entry to ‘io_prep_read’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:18: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:108:9: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:110:25: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:111:9: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:112:22: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_enter.c:114:9: note: (26) inlined call to ‘io_uring_prep_readv’ from ‘io_prep_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘io_prep_read’ at io_uring_enter.c:114:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (28) dereference of NULL ‘sqe’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:11: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:387:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:421:17: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c: In function ‘test_io_uring_submit_enters’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:355:12: note: (1) entry to ‘test_io_uring_submit_enters’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:369:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:375:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:376:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:381:23: note: (6) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:382:38: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:386:23: note: (8) inlined call to ‘io_uring_get_sqe’ from ‘test_io_uring_submit_enters’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:386:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘test_io_uring_submit_enters’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_io_uring_submit_enters’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:386:23: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test_io_uring_submit_enters’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:386:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) returning to ‘test_io_uring_submit_enters’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c: In function ‘test_io_uring_submit_enters’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_passthrough.c:387:17: note: (15) inlined call to ‘io_uring_prep_readv’ from ‘test_io_uring_submit_enters’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘test_io_uring_submit_enters’ at io_uring_passthrough.c:387:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:421:17: note: (17) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c: In function ‘test_max_fds’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:178:12: warning: leak of file descriptor ‘open("/dev/null", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:480:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:487:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:491:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:493:12: note: (4) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:497:27: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:499:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:505:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:511:14: note: (8) calling ‘new_io_uring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:66:12: note: (9) entry to ‘new_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:71:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:75:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:511:14: note: (12) returning to ‘main’ from ‘new_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:521:19: note: (13) calling ‘test_iovec_size’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:317:12: note: (14) entry to ‘test_iovec_size’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:18: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:338:9: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:339:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:340:9: note: (17) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:341:22: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:383:9: note: (19) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:386:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:387:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:397:13: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:521:19: note: (23) returning to ‘main’ from ‘test_iovec_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:524:19: note: (24) calling ‘test_max_fds’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:133:12: note: (25) entry to ‘test_max_fds’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:152:12: note: (26) following ‘false’ branch (when ‘fd_as != 18446744073709551615’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:159:22: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:160:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:164:9: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:166:12: note: (30) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:171:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:171:17: note: (32) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:172:12: note: (33) assuming ‘open("/dev/null", 2)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:172:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:176:15: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:178:12: note: (36) ‘open("/dev/null", 2)’ leaks here; was opened at (32) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: warning: leak of file descriptor ‘open("/dev/null", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:480:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:487:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:491:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:493:12: note: (4) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:497:27: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:499:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:505:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:511:14: note: (8) calling ‘new_io_uring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:66:12: note: (9) entry to ‘new_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:71:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:75:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:511:14: note: (12) returning to ‘main’ from ‘new_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:521:19: note: (13) calling ‘test_iovec_size’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:317:12: note: (14) entry to ‘test_iovec_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:338:9: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:339:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:340:9: note: (17) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:341:22: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:383:9: note: (19) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:386:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:387:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:397:13: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:521:19: note: (23) returning to ‘main’ from ‘test_iovec_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:524:19: note: (24) calling ‘test_max_fds’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:133:12: note: (25) entry to ‘test_max_fds’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:152:12: note: (26) following ‘false’ branch (when ‘fd_as != 18446744073709551615’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:159:22: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:160:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:164:9: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:166:12: note: (30) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:171:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:171:17: note: (32) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:172:12: note: (33) assuming ‘open("/dev/null", 2)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:172:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:176:15: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:178:12: note: (36) following ‘false’ branch (when ‘fds != 18446744073709551615’)... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:185:23: note: (38) following ‘true’ branch (when ‘i != 33554432’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:185:23: note: (40) following ‘false’ branch (when ‘i == 33554432’)... <--[csmock-gcc-wrapper] cc1: note: (41) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:190:23: note: (42) following ‘true’ branch (when ‘i != 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:191:21: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: note: (44) ‘open("/dev/null", 2)’ leaks here; was opened at (32) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: warning: leak of file descriptor ‘open("/dev/null", 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:480:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:487:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:491:20: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:493:12: note: (4) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:497:27: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:499:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:505:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:511:14: note: (8) calling ‘new_io_uring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:66:12: note: (9) entry to ‘new_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:71:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:75:16: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:511:14: note: (12) returning to ‘main’ from ‘new_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:521:19: note: (13) calling ‘test_iovec_size’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:317:12: note: (14) entry to ‘test_iovec_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:338:9: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:339:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:340:9: note: (17) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:341:22: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:383:9: note: (19) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:386:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:387:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:397:13: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:521:19: note: (23) returning to ‘main’ from ‘test_iovec_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:524:19: note: (24) calling ‘test_max_fds’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:133:12: note: (25) entry to ‘test_max_fds’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:152:12: note: (26) following ‘false’ branch (when ‘fd_as != 18446744073709551615’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:159:22: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:160:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:164:9: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:166:12: note: (30) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:171:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:171:17: note: (32) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:172:12: note: (33) assuming ‘open("/dev/null", 2)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:172:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:176:15: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:178:12: note: (36) following ‘false’ branch (when ‘fds != 18446744073709551615’)... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:185:23: note: (38) following ‘true’ branch (when ‘i != 33554432’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:185:23: note: (40) following ‘false’ branch (when ‘i == 33554432’)... <--[csmock-gcc-wrapper] cc1: note: (41) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:190:23: note: (42) following ‘true’ branch (when ‘i != 127’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:191:21: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:194:20: note: (44) following ‘false’ branch (when ‘fds != 18446744073709551615’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:190:35: note: (45) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:207:16: note: (46) following ‘true’ branch (when ‘nr_fds != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:208:23: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:186:20: note: (48) ‘open("/dev/null", 2)’ leaks here; was opened at (32) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c: In function ‘ioring_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:411:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:439:12: note: (1) entry to ‘__test_poll_ringfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:447:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:451:18: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:454:18: note: (4) calling ‘ioring_poll’ from ‘__test_poll_ringfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:403:12: note: (5) entry to ‘ioring_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:409:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘ioring_poll’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:27: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘ioring_poll’ at io_uring_register.c:409:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘ioring_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘ioring_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:409:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘ioring_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘ioring_poll’ at io_uring_register.c:409:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘ioring_poll’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c: In function ‘ioring_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:411:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘ioring_poll’, inlined from ‘__test_poll_ringfd’ at io_uring_register.c:454:11: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/io_uring_register.c:410:9: warning: ‘memset’ writing 63 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] <--[csmock-gcc-wrapper] In function ‘__test_poll_ringfd’: cc1: note: destination object is likely at address zero /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/lfs-openat-write.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:110:12: warning: leak of file descriptor ‘open("/tmp", 65536)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:102:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:105:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:105:15: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:106:12: note: (4) assuming ‘open("/tmp", 65536)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:106:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:109:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat-write.c:110:12: note: (7) ‘open("/tmp", 65536)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/kallsyms.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.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.8-build/liburing-2.8/test/linked-defer-close.c:21: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘io_uring_prep_multishot_accept’ at ../src/include/liburing.h:647:2, inlined from ‘main’ at linked-defer-close.c:138:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:84:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:98:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:101:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:106:18: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:107:12: note: (5) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:112:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:117:12: note: (7) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:123:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:123:15: note: (9) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:124:12: note: (10) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:130:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:132:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:137:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:137:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:137:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:137:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:138:9: note: (21) inlined call to ‘io_uring_prep_multishot_accept’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:647:9: note: (22) inlined call to ‘io_uring_prep_accept’ from ‘io_uring_prep_multishot_accept’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:625:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_accept’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_accept’ at ../src/include/liburing.h:625:2, inlined from ‘io_uring_prep_multishot_accept’ at ../src/include/liburing.h:647:2, inlined from ‘main’ at linked-defer-close.c:138:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘main’ at linked-defer-close.c:188:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:84:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:98:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:101:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:106:18: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:107:12: note: (5) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:112:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:117:12: note: (7) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:123:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:123:15: note: (9) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:124:12: note: (10) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:130:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:132:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:137:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:137:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/incmake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 min-timeout.t min-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 lude/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:137:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:137:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:143:15: note: (21) calling ‘io_uring_peek_cqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1470:19: note: (22) entry to ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (29) returning to ‘io_uring_peek_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:58: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:143:15: note: (32) returning to ‘main’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:144:18: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:150:27: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:164:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:168:23: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:168:23: note: (37) calling ‘io_uring_peek_cqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1470:19: note: (38) entry to ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (39) calling ‘__io_uring_peek_cqe’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (40) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (41) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (43) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (45) returning to ‘io_uring_peek_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:12: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:58: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:168:23: note: (48) returning to ‘main’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:169:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:174:28: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:174:17: note: (51) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:175:17: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:187:31: note: (53) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:187:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (54) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (55) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (57) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:187:31: note: (58) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:187:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (59) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:188:25: note: (60) inlined call to ‘io_uring_prep_send’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (61) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘main’ at linked-defer-close.c:188:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (62) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘main’ at linked-defer-close.c:193:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:84:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:98:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:101:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:106:18: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:107:12: note: (5) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:112:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:117:12: note: (7) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:123:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:123:15: note: (9) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:124:12: note: (10) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:130:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:132:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:137:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:137:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:137:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:137:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:143:15: note: (21) calling ‘io_uring_peek_cqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1470:19: note: (22) entry to ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (23) calling ‘__io_uring_peek_cqe’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (24) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (25) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (27) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (29) returning to ‘io_uring_peek_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:58: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:143:15: note: (32) returning to ‘main’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:144:18: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:150:27: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:164:20: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:168:23: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:168:23: note: (37) calling ‘io_uring_peek_cqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1470:19: note: (38) entry to ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (39) calling ‘__io_uring_peek_cqe’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (40) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (41) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (43) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:14: note: (45) returning to ‘io_uring_peek_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:12: note: (46) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1473:58: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:168:23: note: (48) returning to ‘main’ from ‘io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:169:20: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:174:28: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:174:17: note: (51) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:175:17: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:187:31: note: (53) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:187:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (54) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (55) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (56) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:187:31: note: (58) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:187:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (59) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:192:31: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:192:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (61) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (62) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (63) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (64) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:192:31: note: (65) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at linked-defer-close.c:192:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (66) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/linked-defer-close.c:193:25: note: (67) inlined call to ‘io_uring_prep_send’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (68) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘main’ at linked-defer-close.c:193:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (69) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:213:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:219:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:222:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:223:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:226:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:227:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:230:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:230:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:233:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:233:15: note: (10) calling ‘open_io_uring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:25:12: note: (11) entry to ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:31:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:31:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘open_io_uring’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:32:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:36:9: note: (20) inlined call to ‘io_uring_prep_openat’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘open_io_uring’ at lfs-openat.c:36:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:39:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:44:15: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:44:15: note: (25) calling ‘io_uring_wait_cqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (26) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (27) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (28) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (29) following ‘true’ branch (when ‘available == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1460:18: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (31) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (33) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:55: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1489:16: note: (37) inlined call to ‘io_uring_wait_cqe_nr’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] In function ‘io_uring_wait_cqe_nr’, inlined from ‘io_uring_wait_cqe’ at ../src/include/liburing.h:1489:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1416:16: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:44:15: note: (39) returning to ‘open_io_uring’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:47:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:50:19: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:50:19: note: (42) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:55:9: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:233:15: note: (44) returning to ‘main’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:234:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:239:15: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:239:15: note: (47) calling ‘test_linked_files’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:78:12: note: (48) entry to ‘test_linked_files’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:88:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:13: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:13: note: (51) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:13: note: (52) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:96:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_linked_files’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:96:15: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (61) returning to ‘test_linked_files’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:97:12: note: (62) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:98:17: note: (63) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: note: (64) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:213:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:219:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:222:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:223:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:226:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:227:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:230:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:230:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:233:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:233:15: note: (10) calling ‘open_io_uring’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:25:12: note: (11) entry to ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:31:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:31:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_io_uring’ at lfs-openat.c:31:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘open_io_uring’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:32:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:36:9: note: (20) inlined call to ‘io_uring_prep_openat’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘open_io_uring’ at lfs-openat.c:36:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:39:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:44:15: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:44:15: note: (25) calling ‘io_uring_wait_cqe’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (26) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (27) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (28) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (29) following ‘true’ branch (when ‘available == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1460:18: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (31) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (33) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:55: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1489:16: note: (37) inlined call to ‘io_uring_wait_cqe_nr’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] In function ‘io_uring_wait_cqe_nr’, inlined from ‘io_uring_wait_cqe’ at ../src/include/liburing.h:1489:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1416:16: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:44:15: note: (39) returning to ‘open_io_uring’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:47:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:50:19: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:50:19: note: (42) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:55:9: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:233:15: note: (44) returning to ‘main’ from ‘open_io_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:234:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:239:15: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:239:15: note: (47) calling ‘test_linked_files’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:78:12: note: (48) entry to ‘test_linked_files’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:88:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:13: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:13: note: (51) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:13: note: (52) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:91:12: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:96:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (56) calling ‘_io_uring_get_sqe’ from ‘test_linked_files’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (57) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (59) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:96:15: note: (60) inlined call to ‘io_uring_get_sqe’ from ‘test_linked_files’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_linked_files’ at lfs-openat.c:96:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (61) returning to ‘test_linked_files’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘test_linked_files’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:97:12: note: (62) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:98:17: note: (63) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:93:24: note: (64) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:227:12: warning: leak of file descriptor ‘open("/tmp", 2097152)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:219:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:222:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:222:15: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:223:12: note: (4) assuming ‘open("/tmp", 2097152)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:223:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:226:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/lfs-openat.c:227:12: note: (7) ‘open("/tmp", 2097152)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/link-timeout.c: In function ‘test_timeout_link_chain1’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1143:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1148:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1151:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1152:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1157:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1157:15: note: (6) calling ‘test_timeout_link_chain1’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:674:12: note: (7) entry to ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:683:13: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:683:13: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:683:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:688:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:688:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_timeout_link_chain1’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:688:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:688:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test_timeout_link_chain1’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c: In function ‘test_timeout_link_chain1’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:689:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:690:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: note: (21) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1143:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1148:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1151:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1152:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1157:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:1157:15: note: (6) calling ‘test_timeout_link_chain1’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:674:12: note: (7) entry to ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:683:13: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:683:13: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:683:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:688:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:688:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_timeout_link_chain1’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:688:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_timeout_link_chain1’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_timeout_link_chain1’ at link-timeout.c:688:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test_timeout_link_chain1’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c: In function ‘test_timeout_link_chain1’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:689:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:690:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/link-timeout.c:685:24: note: (21) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/min-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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning: leak of file descriptor ‘fds[0][1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:82:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:16: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (5) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (7) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (11) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (13) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:91:25: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: note: (16) ‘fds[0][1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning: leak of file descriptor ‘fds[0][0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:82:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:16: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (5) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (7) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (11) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (13) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:91:25: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: note: (16) ‘fds[0][0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning: leak of file descriptor ‘fds[1][0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:82:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:16: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (5) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (10) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (12) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (13) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (16) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (18) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:91:25: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: note: (21) ‘fds[1][0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/tmake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 min-timeout-wait.t min-timeout-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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 napi-test.t napi-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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 ooo-file-unreg.t ooo-file-unreg.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 est/min-timeout.c:83:24: warning: leak of file descriptor ‘fds[1][1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:82:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:16: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (5) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (10) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (12) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (13) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (16) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (18) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:91:25: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: note: (21) ‘fds[1][1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning: leak of file descriptor ‘fds[2][0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:82:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:16: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (5) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (10) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (12) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (15) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (17) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (18) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (21) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (23) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:91:25: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: note: (26) ‘fds[2][0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: warning: leak of file descriptor ‘fds[2][1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:82:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:16: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:84:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (5) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (10) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (12) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (15) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (17) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (18) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:94:33: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:89:23: note: (21) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:29: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:21: note: (23) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:90:20: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:91:25: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout.c:83:24: note: (26) ‘fds[2][1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘__test_nop’ at min-timeout-wait.c:164:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_nop’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:238:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:244:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:247:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:248:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:250:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:250:17: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:252:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:252:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:255:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:257:12: note: (10) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:259:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:259:17: note: (12) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:262:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:262:15: note: (14) calling ‘test_already’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:204:12: note: (15) entry to ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:206:16: note: (16) calling ‘__test_nop’ from ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:152:12: note: (17) entry to ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:160:23: note: (18) following ‘true’ branch (when ‘i < nr_nops’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_nop’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) returning to ‘__test_nop’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_nop’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:164:17: note: (27) inlined call to ‘io_uring_prep_nop’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (28) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘__test_nop’ at min-timeout-wait.c:164:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (29) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘__test_writes’ at min-timeout-wait.c:96:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:238:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:244:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:247:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:248:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:250:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:250:17: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:252:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:252:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:255:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:257:12: note: (10) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:259:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:259:17: note: (12) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:262:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:262:15: note: (14) calling ‘test_already’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:204:12: note: (15) entry to ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:206:16: note: (16) calling ‘__test_nop’ from ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:152:12: note: (17) entry to ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:160:23: note: (18) following ‘true’ branch (when ‘i < nr_nops’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) returning to ‘__test_nop’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:167:12: note: (27) following ‘true’ branch (when ‘nr_nops != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:168:17: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:174:9: note: (29) inlined call to ‘io_uring_cq_advance’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_advance’, inlined from ‘__test_nop’ at min-timeout-wait.c:174:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:330:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] In function ‘__test_writes’: cc1: note: (31) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:206:16: note: (32) returning to ‘test_already’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:262:15: note: (33) returning to ‘main’ from ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:263:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:266:15: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:266:15: note: (36) calling ‘test_already’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:204:12: note: (37) entry to ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:206:16: note: (38) calling ‘__test_nop’ from ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:152:12: note: (39) entry to ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:160:23: note: (40) following ‘true’ branch (when ‘i < nr_nops’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (43) calling ‘_io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (44) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (47) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (48) returning to ‘__test_nop’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:167:12: note: (49) following ‘true’ branch (when ‘nr_nops != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:168:17: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:174:9: note: (51) inlined call to ‘io_uring_cq_advance’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_advance’, inlined from ‘__test_nop’ at min-timeout-wait.c:174:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:330:12: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] In function ‘__test_writes’: cc1: note: (53) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:206:16: note: (54) returning to ‘test_already’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:266:15: note: (55) returning to ‘main’ from ‘test_already’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:267:12: note: (56) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:270:15: note: (57) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:270:15: note: (58) calling ‘test_some’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:195:12: note: (59) entry to ‘test_some’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:197:16: note: (60) calling ‘__test_nop’ from ‘test_some’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:152:12: note: (61) entry to ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:160:23: note: (62) following ‘true’ branch (when ‘i < nr_nops’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (63) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (64) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (65) calling ‘_io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (66) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (67) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (69) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (70) returning to ‘__test_nop’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:167:12: note: (71) following ‘true’ branch (when ‘nr_nops != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:168:17: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:174:9: note: (73) inlined call to ‘io_uring_cq_advance’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_advance’, inlined from ‘__test_nop’ at min-timeout-wait.c:174:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:330:12: note: (74) following ‘true’ branch... <--[csmock-gcc-wrapper] In function ‘__test_writes’: cc1: note: (75) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:197:16: note: (76) returning to ‘test_some’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:270:15: note: (77) returning to ‘main’ from ‘test_some’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:271:12: note: (78) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:274:15: note: (79) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:274:15: note: (80) calling ‘test_some’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:195:12: note: (81) entry to ‘test_some’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:197:16: note: (82) calling ‘__test_nop’ from ‘test_some’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:152:12: note: (83) entry to ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:160:23: note: (84) following ‘true’ branch (when ‘i < nr_nops’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (85) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (86) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (87) calling ‘_io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (88) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (89) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (90) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:163:23: note: (91) inlined call to ‘io_uring_get_sqe’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_nop’ at min-timeout-wait.c:163:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (92) returning to ‘__test_nop’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:167:12: note: (93) following ‘true’ branch (when ‘nr_nops != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:168:17: note: (94) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:174:9: note: (95) inlined call to ‘io_uring_cq_advance’ from ‘__test_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_cq_advance’, inlined from ‘__test_nop’ at min-timeout-wait.c:174:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:330:12: note: (96) following ‘true’ branch... <--[csmock-gcc-wrapper] In function ‘__test_writes’: cc1: note: (97) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:197:16: note: (98) returning to ‘test_some’ from ‘__test_nop’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:274:15: note: (99) returning to ‘main’ from ‘test_some’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:275:12: note: (100) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:278:15: note: (101) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:278:15: note: (102) calling ‘test_late’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:147:12: note: (103) entry to ‘test_late’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:149:16: note: (104) calling ‘__test_writes’ from ‘test_late’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:66:12: note: (105) entry to ‘__test_writes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:79:23: note: (106) following ‘true’ branch (when ‘i < npipes’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:80:29: note: (107) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:80:21: note: (108) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:80:20: note: (109) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:84:38: note: (110) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:79:23: note: (111) following ‘false’ branch (when ‘i >= npipes’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:86:18: note: (112) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:94:23: note: (113) following ‘true’ branch (when ‘i < npipes’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:95:23: note: (114) inlined call to ‘io_uring_get_sqe’ from ‘__test_writes’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_writes’ at min-timeout-wait.c:95:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (115) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (116) calling ‘_io_uring_get_sqe’ from ‘__test_writes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (117) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (118) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (119) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:95:23: note: (120) inlined call to ‘io_uring_get_sqe’ from ‘__test_writes’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_writes’ at min-timeout-wait.c:95:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (121) returning to ‘__test_writes’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c: In function ‘__test_writes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/min-timeout-wait.c:96:17: note: (122) inlined call to ‘io_uring_prep_read’ from ‘__test_writes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (123) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘__test_writes’ at min-timeout-wait.c:96:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (124) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/napi-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.8-build/liburing-2.8/test/napi-test.c:23: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘receiver’ at napi-test.c:147:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c: In function ‘receiver’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:102:12: note: (1) entry to ‘receiver’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:113:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:120:31: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:129:21: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:12: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:130:9: note: (5) following ‘true’ branch (when ‘listen_fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:132:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:132:9: note: (7) calling ‘do_setsockopt’ from ‘receiver’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:33:13: note: (8) entry to ‘do_setsockopt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:37:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:38:1: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:132:9: note: (11) returning to ‘receiver’ from ‘do_setsockopt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:134:12: note: (12) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:139:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:139:15: note: (14) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:140:9: note: (15) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:142:14: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:143:9: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:146:23: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘receiver’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘receiver’ at napi-test.c:146:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘receiver’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘receiver’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:146:23: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘receiver’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘receiver’ at napi-test.c:146:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘receiver’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c: In function ‘receiver’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/napi-test.c:147:17: note: (26) inlined call to ‘io_uring_prep_recv’ from ‘receiver’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘receiver’ at napi-test.c:147:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/ooo-file-unreg.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.8-build/liburing-2.8/test/ooo-file-unreg.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at ooo-file-unreg.c:58:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:17:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:23:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:26:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:27:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:32:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:33:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:40:18: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:40:18: note: (8) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:41:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:45:18: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:45:18: note: (11) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:46:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:51:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:52:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:57:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at ooo-file-unreg.c:57:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (18) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:57:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at ooo-file-unreg.c:57:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ooo-file-unreg.c:58:9: note: (23) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (24) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at ooo-file-unreg.c:58:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (25) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/msg-ring-fd.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:794:2, inlined from ‘test_local’ at msg-ring-fd.c:196:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:309:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:313:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:272:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:278:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:284:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:285:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (10) calling ‘test_local’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:159:12: note: (11) entry to ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:167:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:170:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:172:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (16) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:184:17: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:186:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:191:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:192:23: note: (21) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:193:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:195:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:195:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (25) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:195:15: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:195:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:196:9: note: (30) inlined call to ‘io_uring_prep_write’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:794:9: note: (31) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_write’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:794:2, inlined from ‘test_local’ at msg-ring-fd.c:196:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (32) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:794:2, inlined from ‘test_remote’ at msg-ring-fd.c:120:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:309:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:313:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:272:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:278:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:284:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:285:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (10) calling ‘test_local’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:159:12: note: (11) entry to ‘test_local’ <--[csmock-gcc-wrapper] /builddir/buimake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 ld/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:167:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:170:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (14) returning to ‘test’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:291:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:295:13: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:295:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:298:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:298:15: note: (19) calling ‘test_remote’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:82:12: note: (20) entry to ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:92:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:95:9: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:101:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:104:13: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:104:13: note: (25) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:104:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:109:17: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:111:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:116:23: note: (30) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:117:26: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:119:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:119:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) calling ‘_io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (34) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:119:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:119:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) returning to ‘test_remote’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:120:9: note: (39) inlined call to ‘io_uring_prep_write’ from ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:794:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_write’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_write’ at ../src/include/liburing.h:794:2, inlined from ‘test_remote’ at msg-ring-fd.c:120:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (41) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1128:2, inlined from ‘test_local’ at msg-ring-fd.c:200:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:309:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:313:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:272:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:278:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:284:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:285:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (10) calling ‘test_local’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:159:12: note: (11) entry to ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:167:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:170:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:172:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (16) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:184:17: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:186:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:191:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:192:23: note: (21) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:193:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:195:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:195:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (25) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:195:15: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:195:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:199:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:199:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (32) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:199:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:199:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:200:9: note: (37) inlined call to ‘io_uring_prep_msg_ring_fd’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1128:9: note: (38) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_msg_ring_fd’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1128:2, inlined from ‘test_local’ at msg-ring-fd.c:200:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (39) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1128:2, inlined from ‘test_remote’ at msg-ring-fd.c:124:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:309:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:313:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:272:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:278:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:284:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:285:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (10) calling ‘test_local’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:159:12: note: (11) entry to ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:167:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:170:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (14) returning to ‘test’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:291:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:295:13: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:295:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:298:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:298:15: note: (19) calling ‘test_remote’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:82:12: note: (20) entry to ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:92:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:95:9: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:101:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:104:13: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:104:13: note: (25) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:104:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:109:17: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:111:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:116:23: note: (30) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:117:26: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:119:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:119:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) calling ‘_io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (34) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:119:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:119:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) returning to ‘test_remote’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:123:15: note: (39) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:123:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (40) calling ‘_io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (41) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:123:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘test_remote’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_remote’ at msg-ring-fd.c:123:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) returning to ‘test_remote’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_remote’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:124:9: note: (46) inlined call to ‘io_uring_prep_msg_ring_fd’ from ‘test_remote’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1128:9: note: (47) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_msg_ring_fd’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_msg_ring_fd’ at ../src/include/liburing.h:1128:2, inlined from ‘test_remote’ at msg-ring-fd.c:124:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (48) dereference of NULL ‘_io_uring_get_sqe(src)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_local’ at msg-ring-fd.c:241:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:309:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:313:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:272:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:278:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:284:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:285:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (10) calling ‘test_local’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:159:12: note: (11) entry to ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:167:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:170:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:172:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (16) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:184:17: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:186:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:191:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:192:23: note: (21) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:193:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:195:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:195:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (25) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:195:15: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:195:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:199:15: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:199:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (32) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:199:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:199:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:206:23: note: (37) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:207:23: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:207:23: note: (39) calling ‘io_uring_wait_cqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (40) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (41) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (42) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (43) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (45) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (47) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (48) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (49) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:207:23: note: (50) returning to ‘test_local’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:208:20: note: (51) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:212:24: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:214:27: note: (53) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:218:20: note: (54) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:225:12: note: (55) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:228:15: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:228:15: note: (57) calling ‘io_uring_wait_cqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (58) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (59) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (60) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (61) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (63) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (64) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (65) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:228:15: note: (66) returning to ‘test_local’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:229:12: note: (67) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:233:16: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:233:12: note: (69) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:238:12: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:240:15: note: (71) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:240:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (72) calling ‘_io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (73) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (74) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (75) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:240:15: note: (76) inlined call to ‘io_uring_get_sqe’ from ‘test_local’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_local’ at msg-ring-fd.c:240:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (77) returning to ‘test_local’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:241:9: note: (78) inlined call to ‘io_uring_prep_read’ from ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (79) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_local’ at msg-ring-fd.c:241:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (80) dereference of NULL ‘_io_uring_get_sqe(dst)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c: In function ‘test_local’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:168:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:309:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:313:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:316:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:272:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:278:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:284:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:285:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:290:15: note: (10) calling ‘test_local’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:159:12: note: (11) entry to ‘test_local’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:167:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:170:12: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:172:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (16) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:13: note: (17) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:179:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:184:17: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:186:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:187:17: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/msg-ring-fd.c:168:24: note: (22) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/multicqes_drain.c: In function ‘test_simple_drain’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:13: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:13: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:30: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:287:17: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: note: (15) ‘pipe1[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe1[i]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:13: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:13: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:30: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:287:17: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: note: (15) ‘pipe1[i]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe2[i]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (11) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:30: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:291:23: note: (15) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:292:26: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:19: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_simple_drain’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_simple_drain’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:292:26: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_simple_drain’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: In function ‘test_simple_drain’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:293:20: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:294:25: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: note: (26) ‘pipe2[i]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: warning: leak of file descriptor ‘pipe2[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:370:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:381:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:386:23: note: (4) following ‘true’ branch (when ‘i != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:387:23: note: (6) calling ‘test_simple_drain’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:279:12: note: (7) entry to ‘test_simple_drain’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:13: note: (8) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (11) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:33: note: (12) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:286:30: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:291:23: note: (15) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:292:26: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_simple_drain’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_simple_drain’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:292:26: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_simple_drain’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_simple_drain’ at multicqes_drain.c:292:12: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_simple_drain’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c: In function ‘test_simple_drain’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:293:20: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:294:25: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/multicqes_drain.c:288:24: note: (26) ‘pipe2[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at open-direct-link.c:31:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:121:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:127:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:131:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:135:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:135:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:138:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:140:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:145:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:19:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:27:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:30:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:30:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:31:9: note: (21) inlined call to ‘io_uring_prep_openat_direct’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:741:9: note: (22) inlined call to ‘io_uring_prep_openat’ from ‘io_uring_prep_openat_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘io_uring_prep_openat_direct’ at ../src/include/liburing.h:741:2, inlined from ‘test’ at open-direct-link.c:31:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at open-direct-link.c:41:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:121:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:127:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:131:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:135:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:135:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:138:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:140:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:145:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:19:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:27:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:30:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:30:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:32:12: note: (21) following ‘true’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:33:20: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:34:12: note: (23) following ‘false’ branch (when ‘skip_success == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:36:12: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:36:12: note: (25) following ‘false’ branch (when ‘async == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:38:24: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:40:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (29) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (31) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:40:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:41:9: note: (34) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (35) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at open-direct-link.c:41:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (36) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:770:2, inlined from ‘test’ at open-direct-link.c:52:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:121:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:127:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:130:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:131:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:135:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:135:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:138:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:140:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:145:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:147:15: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:19:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:27:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:30:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:30:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:30:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:32:12: note: (21) following ‘true’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:33:20: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:34:12: note: (23) following ‘false’ branch (when ‘skip_success == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:36:12: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:36:12: note: (25) following ‘false’ branch (when ‘async == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:38:24: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:40:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (29) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:40:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:40:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:43:12: note: (34) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:46:28: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:47:12: note: (36) following ‘false’ branch (when ‘async == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:49:24: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:51:15: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:51:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (40) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (41) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (42) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:51:15: note: (43) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at open-direct-link.c:51:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (44) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/open-direct-link.c:52:9: note: (45) inlined call to ‘io_uring_prep_close_direct’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:770:9: note: (46) inlined call to ‘io_uring_prep_close’ from ‘io_uring_prep_close_direct’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:764:9: note: (47) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘io_uring_prep_close_direct’ at ../src/include/liburing.h:770:2, inlined from ‘test’ at open-direct-link.c:52:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (48) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/personality.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘open_file’ at personality.c:35:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:164:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:169:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:172:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:172:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:177:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:178:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:183:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:183:15: note: (8) calling ‘test_personality’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:61:12: note: (9) entry to ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:66:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:78:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:79:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:83:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:86:15: note: (14) calling ‘open_file’ from ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:20:12: note: (15) entry to ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:26:12: note: (16) following ‘false’ branch (when ‘with_link == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:35:9: note: (25) inlined call to ‘io_uring_prep_openat’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘open_file’ at personality.c:35:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘open_file’ at personality.c:28:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:164:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:169:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:172:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:172:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:177:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:178:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:183:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:183:15: note: (8) calling ‘test_personality’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:61:12: note: (9) entry to ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:66:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:78:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:79:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:83:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:86:15: note: (14) calling ‘open_file’ from ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:20:12: note: (15) entry to ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:26:12: note: (16) following ‘false’ branch (when ‘with_link == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:38:12: note: (25) following ‘false’ branch (when ‘cred_id == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:41:15: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:86:15: note: (27) returning to ‘test_personality’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:87:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:92:13: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:92:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:98:15: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:98:15: note: (32) calling ‘open_file’ from ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:20:12: note: (33) entry to ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:26:12: note: (34) following ‘false’ branch (when ‘with_link == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:38:12: note: (43) following ‘false’ branch (when ‘cred_id == -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:41:15: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:98:15: note: (45) returning to ‘test_personality’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:99:12: note: (46) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:105:15: note: (47) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:105:15: note: (48) calling ‘open_file’ from ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:20:12: note: (49) entry to ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:26:12: note: (50) following ‘false’ branch (when ‘with_link == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (51) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (53) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (54) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (55) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:34:15: note: (57) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (58) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:38:12: note: (59) following ‘true’ branch (when ‘cred_id != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:39:34: note: (60) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:105:15: note: (61) returning to ‘test_personality’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:106:12: note: (62) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:110:9: note: (63) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:113:15: note: (64) calling ‘open_file’ from ‘test_personality’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:20:12: note: (65) entry to ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:26:12: note: (66) following ‘true’ branch (when ‘with_link != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:27:23: note: (67) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:27:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (68) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (69) calling ‘_io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (70) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (71) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (72) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:27:23: note: (73) inlined call to ‘io_uring_get_sqe’ from ‘open_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘open_file’ at personality.c:27:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (74) returning to ‘open_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c: In function ‘open_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/personality.c:28:17: note: (75) inlined call to ‘io_uring_prep_nop’ from ‘open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘open_file’ at personality.c:28:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c: In function ‘pipe_bug’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:82:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:86:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:89:23: note: (4) following ‘true’ branch (when ‘i != 10000’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:90:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:90:21: note: (6) calling ‘pipe_bug’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:25:12: note: (7) entry to ‘pipe_bug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:15: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:15: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:39:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: note: (12) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: warning: leak of file descriptor ‘fds[i]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:82:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:86:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:89:23: note: (4) following ‘true’ branch (when ‘i != 10000’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:90:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:90:21: note: (6) calling ‘pipe_bug’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:25:12: note: (7) entry to ‘pipe_bug’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:15: note: (8) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:15: note: (9) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:15: note: in definition of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:19:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:39:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:21:24: note: (12) ‘fds[i]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-bug.c:37:9: note: in expansion of macro ‘CHECK’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/pipe-eof.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at pipe-eof.c:59:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:36:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:44:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:44:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:48:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:58:23: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-eof.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (7) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:58:23: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-eof.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-eof.c:59:17: note: (12) inlined call to ‘io_uring_prep_read’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (13) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘main’ at pipe-eof.c:59:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (14) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/pipe-reuse.c:11: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at pipe-reuse.c:64:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:16:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:27:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:27:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:33:23: note: (5) following ‘true’ branch (when ‘i != 16’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:36:33: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:42:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:46:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:46:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:52:9: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:57:12: note: (11) following ‘false’ branch (when ‘ret == 8192’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:63:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-reuse.c:63:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:63:15: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at pipe-reuse.c:63:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pipe-reuse.c:64:9: note: (20) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at pipe-reuse.c:64:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/poll-cancel-ton.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘add_polls’ at poll-cancel-ton.c:85:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c: In function ‘add_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:101:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:108:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:111:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:111:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:111:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:116:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:130:9: note: (7) calling ‘add_polls’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:72:12: note: (8) entry to ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:78:16: note: (9) following ‘true’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:80:20: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:83:31: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:84:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:84:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘add_polls’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c: In function ‘add_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:85:25: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘add_polls’ at poll-cancel-ton.c:85:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_remove’ at ../src/include/liburing.h:568:2, inlined from ‘del_polls’ at poll-cancel-ton.c:58:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:101:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:108:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:111:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:111:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:111:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:116:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:130:9: note: (7) calling ‘add_polls’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:72:12: note: (8) entry to ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:78:16: note: (9) following ‘true’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:80:20: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:83:31: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:84:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:84:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘add_polls’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:83:31: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:84:31: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:84:31: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘add_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_polls’ at poll-cancel-ton.c:84:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) returning to ‘add_polls’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:130:9: note: (29) returning to ‘main’ from ‘add_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:131:9: note: (30) calling ‘del_polls’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:43:12: note: (31) entry to ‘del_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:48:16: note: (32) following ‘true’ branch (when ‘nr != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:50:20: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:53:31: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:56:31: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘del_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘del_polls’ at poll-cancel-ton.c:56:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘del_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (40) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:56:31: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘del_polls’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘del_polls’ at poll-cancel-ton.c:56:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘del_polls’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c: In function ‘del_polls’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel-ton.c:58:25: note: (43) inlined call to ‘io_uring_prep_poll_remove’ from ‘del_polls’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:568:9: note: (44) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_remove’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_remove’ at ../src/include/liburing.h:568:2, inlined from ‘del_polls’ at poll-cancel-ton.c:58:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (45) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:561:2, inlined from ‘test_missing_events’ at poll.c:141:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c: In function ‘test_missing_events’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:286:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:290:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (4) calling ‘test_basic’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:34:12: note: (5) entry to ‘test_basic’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:13: note: (6) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:48:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:49:12: note: (9) following ‘false’ branch (when ‘p != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:52:19: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (11) returning to ‘main’ from ‘test_basic’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:294:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:300:13: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:300:12: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:301:23: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:301:23: note: (16) calling ‘test_missing_events’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:113:12: note: (17) entry to ‘test_missing_events’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:124:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:129:13: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:129:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:133:9: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:135:12: note: (22) following ‘false’ branch (when ‘ret == 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:140:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test_missing_events’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_missing_events’ at poll.c:140:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘test_missing_events’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_missing_events’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:140:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘test_missing_events’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_missing_events’ at poll.c:140:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (30) returning to ‘test_missing_events’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c: In function ‘test_missing_events’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:141:9: note: (31) inlined call to ‘io_uring_prep_poll_multishot’ from ‘test_missing_events’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:561:9: note: (32) inlined call to ‘io_uring_prep_poll_add’ from ‘io_uring_prep_poll_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘io_uring_prep_poll_multishot’ at ../src/include/liburing.h:561:2, inlined from ‘test_missing_events’ at poll.c:141:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c: In function ‘test_basic’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:45:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:286:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:290:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (4) calling ‘test_basic’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:34:12: note: (5) entry to ‘test_basic’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pomake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 ll.c:48:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:49:12: note: (10) following ‘false’ branch (when ‘p != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:52:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:45:24: note: (12) ‘pipe1[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:45:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:286:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:290:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:293:15: note: (4) calling ‘test_basic’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:34:12: note: (5) entry to ‘test_basic’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:43:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:48:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:49:12: note: (10) following ‘false’ branch (when ‘p != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:52:19: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll.c:45:24: note: (12) ‘pipe1[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/poll-cancel.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:599:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:159:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:138:12: note: (1) entry to ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:146:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:151:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:152:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:158:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:158:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:159:9: note: (13) inlined call to ‘io_uring_prep_timeout’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:599:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_timeout’ at ../src/include/liburing.h:599:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:159:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:163:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:138:12: note: (1) entry to ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:146:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:151:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:152:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:158:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:158:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:162:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:162:15: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:163:9: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:163:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_link_timeout’ at ../src/include/liburing.h:687:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:167:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:138:12: note: (1) entry to ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:146:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:151:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:152:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:158:15: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:158:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:158:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:162:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:162:15: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:162:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:166:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:166:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:166:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:166:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) returning to ‘__test_poll_cancel_with_timeouts’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘__test_poll_cancel_with_timeouts’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:167:9: note: (27) inlined call to ‘io_uring_prep_link_timeout’ from ‘__test_poll_cancel_with_timeouts’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:687:9: note: (28) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_link_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_link_timeout’ at ../src/include/liburing.h:687:2, inlined from ‘__test_poll_cancel_with_timeouts’ at poll-cancel.c:167:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (29) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c: In function ‘test_poll_cancel’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:208:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:212:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:215:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:215:15: note: (4) calling ‘test_poll_cancel’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:29:12: note: (5) entry to ‘test_poll_cancel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:39:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:39:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:39:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:44:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: note: (10) ‘pipe1[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:208:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:212:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:215:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:215:15: note: (4) calling ‘test_poll_cancel’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:29:12: note: (5) entry to ‘test_poll_cancel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:39:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:39:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:39:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:44:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-cancel.c:41:24: note: (10) ‘pipe1[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/poll-mshot-overflow.c: In function ‘test_downgrade’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:233:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:238:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:241:25: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:242:15: note: (4) calling ‘test_downgrade’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:140:12: note: (5) entry to ‘test_downgrade’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:149:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:149:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:149:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:154:32: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: note: (10) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:233:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:238:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:241:25: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:242:15: note: (4) calling ‘test_downgrade’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:140:12: note: (5) entry to ‘test_downgrade’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:149:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:149:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:149:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:154:32: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-overflow.c:151:24: note: (10) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/poll-mshot-update.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_update’ at ../src/include/liburing.h:577:2, inlined from ‘has_poll_update’ at poll-mshot-update.c:48:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: In function ‘has_poll_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:273:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:278:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:281:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:281:15: note: (4) calling ‘has_poll_update’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:35:12: note: (5) entry to ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:44:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:47:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘has_poll_update’ at poll-mshot-update.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘has_poll_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:47:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘has_poll_update’ at poll-mshot-update.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) returning to ‘has_poll_update’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: In function ‘has_poll_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:48:9: note: (15) inlined call to ‘io_uring_prep_poll_update’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:577:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_update’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_update’ at ../src/include/liburing.h:577:2, inlined from ‘has_poll_update’ at poll-mshot-update.c:48:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: In function ‘run’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:20: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:273:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:278:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:281:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:281:15: note: (4) calling ‘has_poll_update’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:35:12: note: (5) entry to ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:44:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:47:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘has_poll_update’ at poll-mshot-update.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘run’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:47:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘has_poll_update’ at poll-mshot-update.c:47:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) returning to ‘has_poll_update’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c: In function ‘run’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:51:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:54:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:54:15: note: (17) calling ‘io_uring_wait_cqe’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (18) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (19) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (20) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (21) following ‘true’ branch (when ‘available == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1460:18: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (23) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (25) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:55: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:54:15: note: (30) returning to ‘has_poll_update’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:281:15: note: (31) returning to ‘main’ from ‘has_poll_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:282:12: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:285:19: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:285:19: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:290:13: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:290:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:295:17: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:310:15: note: (38) calling ‘run’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:219:12: note: (39) entry to ‘run’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:226:23: note: (40) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:30: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:21: note: (42) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:231:17: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:226:23: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:30: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-mshot-update.c:227:20: note: (47) leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:898: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:12: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘test’ at poll-race.c:57:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:37:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:46:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:51:19: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:55:23: note: (4) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:56:23: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race.c:56:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:56:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race.c:56:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race.c:57:17: note: (13) inlined call to ‘io_uring_prep_recv’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘test’ at poll-race.c:57:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/poll-race-mshot.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘test’ at poll-race-mshot.c:92:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:239:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:245:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:248:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:250:23: note: (4) following ‘true’ branch (when ‘i != 1000’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:251:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:252:23: note: (6) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:50:12: note: (7) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:60:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:65:19: note: (9) ...to here <--[csmock-gcc-wrapper] cc1: note: (10) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:70:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:71:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:81:23: note: (14) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:82:60: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:90:23: note: (16) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:91:23: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race-mshot.c:91:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (20) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:91:23: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at poll-race-mshot.c:91:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-race-mshot.c:92:17: note: (25) inlined call to ‘io_uring_prep_recv’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (26) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘test’ at poll-race-mshot.c:92:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (27) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/poll-v-poll.c:19: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘iou_poll’ at poll-v-poll.c:53:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: In function ‘iou_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:45:14: note: (1) entry to ‘iou_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:52:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘iou_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘iou_poll’ at poll-v-poll.c:52:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘iou_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘iou_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:52:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘iou_poll’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘iou_poll’ at poll-v-poll.c:52:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘iou_poll’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: In function ‘iou_poll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:53:9: note: (9) inlined call to ‘io_uring_prep_poll_add’ from ‘iou_poll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘iou_poll’ at poll-v-poll.c:53:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(*(struct thread_data *)data.ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: In function ‘do_pipe_pollin_test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:100:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:98:13: note: (1) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:98:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:98:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:103:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:100:24: note: (5) ‘pipe1[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: In function ‘do_pipe_pollout_test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:139:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:137:13: note: (1) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:137:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:137:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:142:17: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:139:24: note: (5) ‘pipe1[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: In function ‘do_test_epoll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:246:12: note: (1) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:13: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:13: note: (3) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:256:19: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:259:12: note: (7) following ‘true’ branch (when ‘iou_epoll_add == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:260:21: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: note: (9) ‘pipe1[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:236:12: note: (1) entry to ‘do_test_epoll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:246:12: note: (2) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:13: note: (4) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:13: note: (5) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:251:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:256:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:259:12: note: (8) following ‘false’ branch (when ‘iou_epoll_add != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:265:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:265:23: note: (10) calling ‘iou_epoll_ctl’ from ‘do_test_epoll’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:204:12: note: (11) entry to ‘iou_epoll_ctl’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:211:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘iou_epoll_ctl’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘iou_epoll_ctl’ at poll-v-poll.c:211:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘iou_epoll_ctl’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_test_epoll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:211:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘iou_epoll_ctl’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘iou_epoll_ctl’ at poll-v-poll.c:211:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘iou_epoll_ctl’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c: In function ‘do_test_epoll’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:212:12: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:213:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:265:23: note: (21) returning to ‘do_test_epoll’ from ‘iou_epoll_ctl’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:266:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:269:27: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:269:27: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:274:17: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/poll-v-poll.c:248:24: note: (26) ‘pipe1[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/probe.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 pollfree.t pollfree.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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-stdin.t read-mshot-stdin.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/read-before-exit.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘submit’ at read-before-exit.c:34:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:27:14: note: (1) entry to ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:33:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:33:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘submit’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:34:9: note: (9) inlined call to ‘io_uring_prep_read’ from ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘submit’ at read-before-exit.c:34:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(*(struct data *)data.ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘submit’ at read-before-exit.c:37:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:27:14: note: (1) entry to ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:33:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:33:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:33:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘submit’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:36:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:36:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) calling ‘_io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (11) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:36:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit’ at read-before-exit.c:36:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) returning to ‘submit’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c: In function ‘submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-before-exit.c:37:9: note: (16) inlined call to ‘io_uring_prep_read’ from ‘submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (17) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘submit’ at read-before-exit.c:37:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (18) dereference of NULL ‘_io_uring_get_sqe(*(struct data *)data.ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘child’ at pollfree.c:47:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:113:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:117:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:120:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:120:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:94:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:101:23: note: (6) calling ‘run_test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:68:12: note: (7) entry to ‘run_test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:78:23: note: (8) calling ‘child’ from ‘run_test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:19:12: note: (9) entry to ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:29:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:36:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:40:12: note: (12) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:46:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:46:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:46:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:46:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘child’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:47:9: note: (21) inlined call to ‘io_uring_prep_read’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (22) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘child’ at pollfree.c:47:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (23) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘child’ at pollfree.c:52:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:113:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:117:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:120:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:120:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:94:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:101:23: note: (6) calling ‘run_test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:68:12: note: (7) entry to ‘run_test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:78:23: note: (8) calling ‘child’ from ‘run_test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:19:12: note: (9) entry to ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:29:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:36:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:40:12: note: (12) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:46:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:46:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:46:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:46:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘child’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:51:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:51:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:51:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:51:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) returning to ‘child’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:52:9: note: (28) inlined call to ‘io_uring_prep_read’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (29) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘child’ at pollfree.c:52:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (30) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘child’ at pollfree.c:58:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:113:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:117:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:120:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:120:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:94:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:101:23: note: (6) calling ‘run_test’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:68:12: note: (7) entry to ‘run_test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:78:23: note: (8) calling ‘child’ from ‘run_test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:19:12: note: (9) entry to ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:29:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:36:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:40:12: note: (12) following ‘false’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:46:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:46:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) calling ‘_io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (16) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:46:15: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:46:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) returning to ‘child’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:51:15: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:51:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:51:15: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:51:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) returning to ‘child’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:57:15: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:57:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:57:15: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘child’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘child’ at pollfree.c:57:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) returning to ‘child’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c: In function ‘child’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/pollfree.c:58:9: note: (35) inlined call to ‘io_uring_prep_read’ from ‘child’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (36) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘child’ at pollfree.c:58:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (37) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/read-mshot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:497:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:501:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:504:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:504:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:265:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:279:12: note: (6) following ‘true’ branch (when ‘overflow == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:280:30: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:284:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:289:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:289:12: note: (10) following ‘false’ branch (when ‘incremental == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:295:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:296:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:13: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:13: note: (14) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:13: note: (15) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:314:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:314:12: note: (18) following ‘true’ branch (when ‘incremental == 0’)... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:315:31: note: (20) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:316:65: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:316:65: note: (22) following ‘true’ branch (when ‘i <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:317:34: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:318:28: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: note: (26) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:497:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:501:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:504:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:504:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:265:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:279:12: note: (6) following ‘true’ branch (when ‘overflow == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:280:30: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:284:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:289:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:289:12: note: (10) following ‘false’ branch (when ‘incremental == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:295:14: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:296:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:13: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:13: note: (14) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:13: note: (15) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:309:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:314:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:314:12: note: (18) following ‘true’ branch (when ‘incremental == 0’)... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:315:31: note: (20) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:316:65: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:316:65: note: (22) following ‘true’ branch (when ‘i <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:317:34: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:318:28: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot.c:286:24: note: (26) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/read-mshot-empty.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_multishot’ at ../src/include/liburing.h:784:2, inlined from ‘main’ at read-mshot-empty.c:105:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:64:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:74:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:77:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:77:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:77:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:82:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:83:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:88:14: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:89:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:96:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:97:23: note: (11) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:98:42: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:97:23: note: (13) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:98:42: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:104:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at read-mshot-empty.c:104:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:104:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at read-mshot-empty.c:104:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-empty.c:105:9: note: (22) inlined call to ‘io_uring_prep_read_multishot’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:784:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_multishot’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_multishot’ at ../src/include/liburing.h:784:2, inlined from ‘main’ at read-mshot-empty.c:105:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.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.8-build/liburing-2.8/test/read-mshot-stdin.c:22: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_multishot’ at ../src/include/liburing.h:784:2, inlined from ‘test_stdin’ at read-mshot-stdin.c:70:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c: In function ‘test_stdin’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:31:12: note: (1) entry to ‘test_stdin’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:44:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:51:13: note: (3) ...to here <--[csmock-gcc-wrapper] cc1: note: (4) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:54:14: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:55:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:63:23: note: (8) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:64:60: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:69:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘test_stdin’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_stdin’ at read-mshot-stdin.c:69:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘test_stdin’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_stdin’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:69:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test_stdin’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_stdin’ at read-mshot-stdin.c:69:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘test_stdin’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c: In function ‘test_stdin’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-mshot-stdin.c:70:9: note: (17) inlined call to ‘io_uring_prep_read_multishot’ from ‘test_stdin’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:784:9: note: (18) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read_multishot’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read_multishot’ at ../src/include/liburing.h:784:2, inlined from ‘test_stdin’ at read-mshot-stdin.c:70:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (19) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test_buf_select_short.part.0’ at read-write.c:463:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c: In function ‘test_buf_select_short.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:444:12: note: (1) entry to ‘test_buf_select_short.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:455:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:461:23: note: (4) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:462:23: note: (5) inlined call to ‘io_uring_get_sqe’ from ‘test_buf_select_short.part.0’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_buf_select_short.part.0’ at read-write.c:462:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test_buf_select_short.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_buf_select_short.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:462:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_buf_select_short.part.0’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_buf_select_short.part.0’ at read-write.c:462:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘test_buf_select_short.part.0’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c: In function ‘test_buf_select_short.part.0’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:463:17: note: (13) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test_buf_select_short.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test_buf_select_short.part.0’ at read-write.c:463:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘provide_buffers_iovec’ at read-write.c:498:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c: In function ‘provide_buffers_iovec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:641:12: note: (1) entry to ‘test_rem_buf.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:653:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:658:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:658:15: note: (4) calling ‘provide_buffers_iovec’ from ‘test_rem_buf.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:490:12: note: (5) entry to ‘provide_buffers_iovec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:496:23: note: (6) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:497:23: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers_iovec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers_iovec’ at read-write.c:497:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘provide_buffers_iovec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘provide_buffers_iovec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:497:23: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘provide_buffers_iovec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘provide_buffers_iovec’ at read-write.c:497:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) returning to ‘provide_buffers_iovec’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c: In function ‘provide_buffers_iovec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/read-write.c:498:17: note: (15) inlined call to ‘io_uring_prep_provide_buffers’ from ‘provide_buffers_iovec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘provide_buffers_iovec’ at read-write.c:498:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.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.8-build/liburing-2.8/test/recv-msgall.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_send’ at recv-msgall.c:189:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:248:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:252:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:255:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:255:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:225:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:236:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:241:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:242:9: note: (8) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:146:12: note: (9) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:157:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:162:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:163:23: note: (12) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:163:23: note: (14) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:20: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:171:18: note: (16) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:172:12: note: (17) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:178:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:179:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (20) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:187:23: note: (21) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:188:23: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall.c:188:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (25) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:188:23: note: (28) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall.c:188:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:189:17: note: (30) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (31) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_send’ at recv-msgall.c:189:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (32) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:24: warning: dereference of possibly-NULL ‘buf’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:248:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:252:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:255:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:255:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:225:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:236:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:241:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:242:9: note: (8) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:146:12: note: (9) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:157:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:162:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:162:15: note: (12) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:163:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall.c:164:24: note: (15) ‘buf + (long unsigned int)i * 4’ could be NULL: unchecked value from (12) <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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-clone.t regbuf-clone.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.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.8-build/liburing-2.8/test/recv-msgall-stream.c:18: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_send’ at recv-msgall-stream.c:303:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:369:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:373:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:376:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:376:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:341:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:358:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:364:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:364:9: note: (8) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:260:12: note: (9) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:271:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:276:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:277:23: note: (12) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:20: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:277:23: note: (14) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:20: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:280:18: note: (16) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:281:12: note: (17) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:286:9: note: (18) ...to here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:6: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:287:9: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:288:9: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:294:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (22) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:301:23: note: (23) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:302:23: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall-stream.c:302:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (27) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:302:23: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at recv-msgall-stream.c:302:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:303:17: note: (32) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (33) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_send’ at recv-msgall-stream.c:303:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (34) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:273:24: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:369:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:373:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:376:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:376:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:341:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:358:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:364:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:364:9: note: (8) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:260:12: note: (9) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:271:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:276:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:276:15: note: (12) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:277:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:24: note: (15) assuming ‘buf’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:277:23: note: (16) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:20: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:280:18: note: (18) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:281:12: note: (19) following ‘true’ branch (when ‘sockfd < 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:282:17: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:273:24: note: (21) ‘buf’ leaks here; was allocated at (12) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:24: warning: dereference of possibly-NULL ‘buf’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:369:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:373:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:376:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:376:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:341:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:358:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:364:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:364:9: note: (8) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:260:12: note: (9) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:271:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:276:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:276:15: note: (12) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:277:23: note: (13) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-msgall-stream.c:278:24: note: (15) ‘buf + (long unsigned int)i * 4’ could be NULL: unchecked value from (12) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/reg-hint.c:9: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct_alloc’ at ../src/include/liburing.h:1212:2, inlined from ‘main’ at reg-hint.c:35:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:12:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:19:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:22:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:25:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:32:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:34:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at reg-hint.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:34:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at reg-hint.c:34:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-hint.c:35:9: note: (13) inlined call to ‘io_uring_prep_socket_direct_alloc’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1212:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket_direct_alloc’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct_alloc’ at ../src/include/liburing.h:1212:2, inlined from ‘main’ at reg-hint.c:35:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/regbuf-clone.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:8: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_nops’ at reg-fd-only.c:29:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c: In function ‘test_nops’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:106:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:110:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:114:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:114:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:52:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:61:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:64:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:64:19: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:67:19: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:67:19: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:72:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:73:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:78:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:79:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:87:31: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:89:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:89:27: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:94:15: note: (18) calling ‘test_nops’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:15:12: note: (19) entry to ‘test_nops’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:27:31: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:28:31: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘test_nops’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_nops’ at reg-fd-only.c:28:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘test_nops’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_nops’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:28:31: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test_nops’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_nops’ at reg-fd-only.c:28:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) returning to ‘test_nops’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c: In function ‘test_nops’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/reg-fd-only.c:29:25: note: (29) inlined call to ‘io_uring_prep_nop’ from ‘test_nops’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_nops’ at reg-fd-only.c:29:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/ring-leak.c: In function ‘test_scm_cycles’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:163:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:167:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:168:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:13: note: (5) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:13: note: (6) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:176:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: note: (9) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:163:12: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:167:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:168:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:13: note: (5) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:13: note: (6) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:172:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:176:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak.c:165:24: note: (9) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:23: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:72:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c: In function ‘add_socket_eventfd_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:156:14: note: (1) entry to ‘client_thread’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:166:9: note: (2) calling ‘add_socket_eventfd_read’ from ‘client_thread’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:63:13: note: (3) entry to ‘add_socket_eventfd_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:71:15: note: (4) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_eventfd_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (5) calling ‘_io_uring_get_sqe’ from ‘add_socket_eventfd_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_socket_eventfd_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (6) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:71:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_eventfd_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:71:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) returning to ‘add_socket_eventfd_read’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c: In function ‘add_socket_eventfd_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:72:9: note: (11) inlined call to ‘io_uring_prep_read’ from ‘add_socket_eventfd_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (12) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘add_socket_eventfd_read’ at ring-leak2.c:72:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘add_socket_pollin’ at ring-leak2.c:87:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c: In function ‘add_socket_pollin’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:78:13: note: (1) entry to ‘add_socket_pollin’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:86:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_pollin’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_pollin’ at ring-leak2.c:86:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘add_socket_pollin’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘add_socket_pollin’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:86:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘add_socket_pollin’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘add_socket_pollin’ at ring-leak2.c:86:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘add_socket_pollin’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c: In function ‘add_socket_pollin’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:87:9: note: (9) inlined call to ‘io_uring_prep_poll_add’ from ‘add_socket_pollin’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘add_socket_pollin’ at ring-leak2.c:87:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c: In function ‘server_thread’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:115:13: warning: ‘listen’ on possibly invalid file descriptor ‘sock_listen_fd’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:100:26: note: (1) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:111:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:115:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ring-leak2.c:115:13: note: (4) ‘sock_listen_fd’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/rw_merge_test.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at rw_merge_test.c:51:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:34:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:34:15: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:11: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:35:9: note: (5) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:37:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:38:9: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:39:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:41:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:43:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:44:12: note: (11) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:46:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:46:17: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:50:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:50:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:51:9: note: (22) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at rw_merge_test.c:51:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at rw_merge_test.c:56:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:34:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:34:15: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:35:9: note: (5) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:37:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:38:9: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:39:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:41:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:43:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:44:12: note: (11) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:46:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:46:17: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:50:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:50:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:55:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:55:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:56:9: note: (29) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at rw_merge_test.c:56:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at rw_merge_test.c:75:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:34:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:34:15: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:35:9: note: (5) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:37:14: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:38:9: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:39:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:41:9: note: (9) following ‘true’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:43:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:44:12: note: (11) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:46:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:46:17: note: (13) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:50:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:50:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:50:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:55:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:55:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:55:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:60:9: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:62:15: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:62:15: note: (31) calling ‘io_uring_wait_cqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (32) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (33) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (34) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (35) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (37) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (39) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (40) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:62:15: note: (42) returning to ‘main’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:63:9: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:64:19: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:64:9: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:65:19: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:65:9: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:74:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:74:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (51) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (52) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (53) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:74:15: note: (54) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rw_merge_test.c:74:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (55) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/rw_merge_test.c:75:9: note: (56) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (57) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at rw_merge_test.c:75:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (58) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/ringbuf-read.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at ringbuf-read.c:92:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:133:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:149:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:155:23: note: (4) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:156:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:158:20: note: (6) following ‘false’ branch (when ‘ret == 4096’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:166:15: note: (8) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:38:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:49:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:54:12: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:54:12: note: (12) following ‘true’ branch (when ‘dio != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:55:22: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:56:20: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:68:9: note: (15) ...to here <--[csmock-gcc-wrapper] cc1: note: (16) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:73:14: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:74:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:84:23: note: (20) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:85:60: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:90:23: note: (22) following ‘true’ branch (when ‘i != 64’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:91:23: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-read.c:91:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:91:23: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-read.c:91:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (30) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-read.c:92:17: note: (31) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (32) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at ringbuf-read.c:92:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (33) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:1008: warning: uninitvar(CWE-457): Uninitialized variable: addr <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:14: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test’ at recv-multishot.c:141:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:565:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:568:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:577:41: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:96:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:102:45: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:18: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:109:22: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:121:30: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:64: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:135:33: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (40) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:141:17: note: (43) inlined call to ‘io_uring_prep_provide_buffers’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1008:9: note: (44) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_provide_buffers’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_provide_buffers’ at ../src/include/liburing.h:1008:2, inlined from ‘test’ at recv-multishot.c:141:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (45) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘io_uring_prep_recv_multishot’ at ../src/include/liburing.h:906:2, inlined from ‘test’ at recv-multishot.c:165:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:565:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:568:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:577:41: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:96:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:102:45: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:18: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:109:22: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:121:30: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:64: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:135:33: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:145:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (45) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (49) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (50) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:145:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (60) inlined call to ‘io_uring_cqe_seen’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_cqe_seen’, inlined from ‘test’ at recv-multishot.c:150:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:348:12: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:50: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (63) following ‘false’ branch (when ‘i == 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:153:15: note: (64) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (65) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (66) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (67) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (69) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:153:15: note: (70) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (71) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:154:12: note: (72) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:165:17: note: (73) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:165:17: note: (74) inlined call to ‘io_uring_prep_recv_multishot’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:906:9: note: (75) inlined call to ‘io_uring_prep_recv’ from ‘io_uring_prep_recv_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘io_uring_prep_recv_multishot’ at ../src/include/liburing.h:906:2, inlined from ‘test’ at recv-multishot.c:165:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:523:2, inlined from ‘io_uring_prep_recvmsg_multishot’ at ../src/include/liburing.h:531:2, inlined from ‘test’ at recv-multishot.c:163:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:565:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:568:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:577:41: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:96:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:102:45: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:18: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:109:22: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:121:30: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:64: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:135:33: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:145:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (45) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (49) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (50) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:145:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (60) inlined call to ‘io_uring_cqe_seen’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_cqe_seen’, inlined from ‘test’ at recv-multishot.c:150:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:348:12: note: (61) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:50: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (63) following ‘false’ branch (when ‘i == 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:153:15: note: (64) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (65) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (66) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (67) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (68) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (69) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:153:15: note: (70) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (71) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:154:12: note: (72) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:157:26: note: (73) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:163:17: note: (74) inlined call to ‘io_uring_prep_recvmsg_multishot’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:531:9: note: (75) inlined call to ‘io_uring_prep_recvmsg’ from ‘io_uring_prep_recvmsg_multishot’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:523:9: note: (76) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recvmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:523:2, inlined from ‘io_uring_prep_recvmsg_multishot’ at ../src/include/liburing.h:531:2, inlined from ‘test’ at recv-multishot.c:163:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (77) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘test’ at recv-multishot.c:194:5: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:424:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:555:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:562:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:565:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:567:29: note: (4) following ‘true’ branch (when ‘loop != 16’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:568:29: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:574:20: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:576:51: note: (8) following ‘true’ branch (when ‘early_error != 5’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:577:41: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:578:31: note: (10) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:55:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:60:52: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:86:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:17: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:90:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:96:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:97:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:102:45: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:103:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:18: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:108:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:109:22: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:114:20: note: (24) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:120:23: note: (26) following ‘true’ branch (when ‘i != 256’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:121:30: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (28) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:64: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:128:20: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:135:33: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (34) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (38) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (39) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (40) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:145:20: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (45) following ‘true’ branch (when ‘i != 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:125:87: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:137:20: note: (49) following ‘false’ branch (when ‘i <= 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (50) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (51) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (52) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (53) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (54) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:140:23: note: (56) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:140:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (57) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:145:20: note: (58) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:150:17: note: (59) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:123:23: note: (60) following ‘false’ branch (when ‘i == 512’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:153:15: note: (61) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (62) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (63) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (64) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (65) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (66) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:153:15: note: (67) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:153:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (68) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:174:23: note: (69) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:175:47: note: (70) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:179:20: note: (71) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:187:20: note: (72) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:187:20: note: (73) following ‘false’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:211:20: note: (74) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:174:23: note: (75) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:175:47: note: (76) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:179:20: note: (77) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:187:20: note: (78) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:187:20: note: (79) following ‘true’ branch (when ‘i == 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:188:33: note: (80) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:188:28: note: (81) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:190:33: note: (82) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:193:39: note: (83) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:193:11: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (84) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (85) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (86) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (87) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:193:39: note: (88) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at recv-multishot.c:193:11: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (89) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recv-multishot.c:194:33: note: (90) inlined call to ‘io_uring_prep_recv’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (91) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘test’ at recv-multishot.c:194:5: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:424:18: note: (92) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/register-restrictions.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:67:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:563:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:567:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:18:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:13: note: (6) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:37:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:38:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:45:23: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:52:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:60:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:61:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:66:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:66:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘test_restrictions_sqe_op’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:67:9: note: (22) inlined call to ‘io_uring_prep_writev’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:500:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:67:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:71:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:563:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:567:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:18:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:13: note: (6) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:37:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:38:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:45:23: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:52:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:60:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:61:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:66:15: note: (14) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) calling ‘_io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (17) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:66:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) returning to ‘test_restrictions_sqe_op’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:70:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:70:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) calling ‘_io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (24) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:70:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:70:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) returning to ‘test_restrictions_sqe_op’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:71:9: note: (29) inlined call to ‘io_uring_prep_readv’ from ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘test_restrictions_sqe_op’ at register-restrictions.c:71:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c: In function ‘test_restrictions_sqe_op’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: warning: leak of file descriptor ‘pipe1[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:563:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:567:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:18:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:37:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: note: (10) ‘pipe1[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: warning: leak of file descriptor ‘pipe1[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:563:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:567:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:570:15: note: (4) calling ‘test_restrictions_sqe_op’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:18:12: note: (5) entry to ‘test_restrictions_sqe_op’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:32:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:37:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/register-restrictions.c:34:24: note: (10) ‘pipe1[0]’ leaks here <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 recvsend_bundle.t recvsend_bundle.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 recvsend_bundle-inc.t recvsend_bundle-inc.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/ringbuf-status.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at ringbuf-status.c:161:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:80:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:95:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:105:13: note: (6) ...to here <--[csmock-gcc-wrapper] cc1: note: (7) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:108:14: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:109:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:120:23: note: (11) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:121:60: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:120:23: note: (13) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:121:60: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:132:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:145:12: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:145:12: note: (17) following ‘false’ branch (when ‘invalid == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:149:18: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:149:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:154:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:154:15: note: (21) calling ‘io_uring_buf_ring_available’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1587:19: note: (22) entry to ‘io_uring_buf_ring_available’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1595:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1596:24: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:154:15: note: (25) returning to ‘test’ from ‘io_uring_buf_ring_available’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:155:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:160:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-status.c:160:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (29) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (30) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1505:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1507:27: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:160:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at ringbuf-status.c:160:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:161:9: note: (37) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (38) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at ringbuf-status.c:161:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (39) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:221:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:225:15: note: (2) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:80:12: note: (3) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:95:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:105:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: note: (10) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:221:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:225:15: note: (2) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:80:12: note: (3) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:95:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (6) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:13: note: (7) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:100:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:105:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/ringbuf-status.c:97:24: note: (10) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/recvsend_bundle.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.8-build/liburing-2.8/test/recvsend_bundle.c:27: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘io_uring_prep_send_bundle’ at ../src/include/liburing.h:846:2, inlined from ‘__do_send_bundle’ at recvsend_bundle.c:344:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c: In function ‘__do_send_bundle’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:728:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:732:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:735:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:735:15: note: (4) calling ‘test_tcp’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:705:12: note: (5) entry to ‘test_tcp’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:710:15: note: (6) calling ‘run_tests’ from ‘test_tcp’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:618:12: note: (7) entry to ‘run_tests’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:625:15: note: (8) calling ‘test’ from ‘run_tests’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:571:12: note: (9) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:580:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:583:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:589:12: note: (12) following ‘false’ branch (when ‘to_eagain’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:592:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:596:12: note: (14) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:601:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:601:15: note: (16) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:433:12: note: (17) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:445:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:449:16: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:449:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:456:49: note: (21) ...to here <--[csmock-gcc-wrapper] cc1: note: (22) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:459:13: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:459:12: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:460:22: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:461:20: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:492:26: note: (28) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:493:12: note: (29) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:498:9: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:501:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:506:9: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:515:30: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:537:23: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:547:11: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:548:12: note: (37) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:549:23: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:549:23: note: (39) calling ‘__do_send_bundle’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:336:12: note: (40) entry to ‘__do_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:343:15: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__do_send_bundle’ at recvsend_bundle.c:343:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) calling ‘_io_uring_get_sqe’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__do_send_bundle’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (43) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (45) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:343:15: note: (46) inlined call to ‘io_uring_get_sqe’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__do_send_bundle’ at recvsend_bundle.c:343:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (47) returning to ‘__do_send_bundle’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c: In function ‘__do_send_bundle’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle.c:344:9: note: (48) inlined call to ‘io_uring_prep_send_bundle’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:846:9: note: (49) inlined call to ‘io_uring_prep_send’ from ‘io_uring_prep_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (50) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘io_uring_prep_send_bundle’ at ../src/include/liburing.h:846:2, inlined from ‘__do_send_bundle’ at recvsend_bundle.c:344:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (51) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.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.8-build/liburing-2.8/test/recvsend_bundle-inc.c:26: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘io_uring_prep_send_bundle’ at ../src/include/liburing.h:846:2, inlined from ‘__do_send_bundle’ at recvsend_bundle-inc.c:295:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c: In function ‘__do_send_bundle’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:666:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:670:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:672:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:672:12: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:675:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:675:15: note: (6) calling ‘test_tcp’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:631:12: note: (7) entry to ‘test_tcp’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:635:15: note: (8) calling ‘run_tests’ from ‘test_tcp’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:547:12: note: (9) entry to ‘run_tests’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:554:15: note: (10) calling ‘test’ from ‘run_tests’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:508:12: note: (11) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:522:12: note: (12) following ‘false’ branch (when ‘to_eagain’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:525:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:529:12: note: (14) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:534:15: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:534:15: note: (16) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:384:12: note: (17) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:396:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:400:16: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:400:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:405:49: note: (21) ...to here <--[csmock-gcc-wrapper] cc1: note: (22) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:408:14: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:409:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:430:18: note: (26) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:431:12: note: (27) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:436:9: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:439:12: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:444:9: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:453:30: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (32) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:475:23: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:485:11: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:486:12: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:487:23: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:487:23: note: (37) calling ‘__do_send_bundle’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:287:12: note: (38) entry to ‘__do_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:294:15: note: (39) inlined call to ‘io_uring_get_sqe’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__do_send_bundle’ at recvsend_bundle-inc.c:294:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (40) calling ‘_io_uring_get_sqe’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘__do_send_bundle’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (41) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (43) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:294:15: note: (44) inlined call to ‘io_uring_get_sqe’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘__do_send_bundle’ at recvsend_bundle-inc.c:294:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) returning to ‘__do_send_bundle’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c: In function ‘__do_send_bundle’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/recvsend_bundle-inc.c:295:9: note: (46) inlined call to ‘io_uring_prep_send_bundle’ from ‘__do_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:846:9: note: (47) inlined call to ‘io_uring_prep_send’ from ‘io_uring_prep_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (48) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘io_uring_prep_send_bundle’ at ../src/include/liburing.h:846:2, inlined from ‘__do_send_bundle’ at recvsend_bundle-inc.c:295:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (49) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:12: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at short-read.c:54:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:422:18: warning: leak of file descriptor ‘open(".short-read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:29:24: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:34:14: note: (4) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:38:12: note: (5) assuming ‘open(".short-read", 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:38:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:43:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:44:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:49:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:49:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:50:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:54:9: note: (18) inlined call to ‘io_uring_prep_readv’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘main’ at short-read.c:54:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:422:18: note: (21) ‘open(".short-read", 0)’ leaks here; was opened at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: warning: leak of file descriptor ‘open(".short-read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:18:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:26:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:29:24: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:34:14: note: (4) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:38:12: note: (5) assuming ‘open(".short-read", 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:38:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:43:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:44:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:49:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:49:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at short-read.c:49:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1502:37: note: (17) ‘open(".short-read", 0)’ leaks here; was opened at (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:44:12: warning: leak of file descriptor ‘open(".short-read", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:26:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:29:24: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:34:14: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:38:12: note: (4) assuming ‘open(".short-read", 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:38:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:43:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/short-read.c:44:12: note: (7) ‘open(".short-read", 0)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/send_recvmsg.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:539:2, inlined from ‘do_sendmsg’ at send_recvmsg.c:291:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c: In function ‘do_sendmsg’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:352:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:356:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:359:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:359:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:313:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:323:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:326:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:338:12: note: (8) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:344:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:345:9: note: (10) calling ‘do_sendmsg’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:252:12: note: (11) entry to ‘do_sendmsg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:266:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:271:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:282:18: note: (14) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:283:12: note: (15) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:288:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:290:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘do_sendmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_sendmsg’ at send_recvmsg.c:290:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘do_sendmsg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_sendmsg’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:290:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘do_sendmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_sendmsg’ at send_recvmsg.c:290:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘do_sendmsg’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c: In function ‘do_sendmsg’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recvmsg.c:291:9: note: (24) inlined call to ‘io_uring_prep_sendmsg’ from ‘do_sendmsg’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:539:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sendmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:539:2, inlined from ‘do_sendmsg’ at send_recvmsg.c:291:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/send_recv.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:539:2, inlined from ‘test_invalid’ at send_recv.c:302:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:326:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:330:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (4) calling ‘test_invalid’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:282:12: note: (5) entry to ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:291:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:297:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:298:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:301:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:301:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:301:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:301:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘test_invalid’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:302:9: note: (17) inlined call to ‘io_uring_prep_sendmsg’ from ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:539:9: note: (18) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sendmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:539:2, inlined from ‘test_invalid’ at send_recv.c:302:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (19) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:523:2, inlined from ‘test_invalid’ at send_recv.c:306:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:326:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:330:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (4) calling ‘test_invalid’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:282:12: note: (5) entry to ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:291:12: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:297:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:298:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:301:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:301:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:301:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:301:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘test_invalid’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:305:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:305:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:305:15: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_invalid’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_invalid’ at send_recv.c:305:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_invalid’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘test_invalid’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:306:9: note: (24) inlined call to ‘io_uring_prep_recvmsg’ from ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:523:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recvmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:523:2, inlined from ‘test_invalid’ at send_recv.c:306:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_send’ at send_recv.c:222:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:326:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:330:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (4) calling ‘test_invalid’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:282:12: note: (5) entry to ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:292:20: note: (6) following ‘true’ branch (when ‘ret == -22’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:333:15: note: (8) returning to ‘main’ from ‘test_invalid’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:334:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:339:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:339:15: note: (11) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:252:12: note: (12) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:270:12: note: (13) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:276:9: note: (14make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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-exec.t sqpoll-exec.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 ) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:277:9: note: (15) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:186:12: note: (16) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:199:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:204:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:209:18: note: (19) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:210:12: note: (20) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:215:15: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:216:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:221:15: note: (23) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at send_recv.c:221:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (26) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:221:15: note: (29) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at send_recv.c:221:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (30) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send_recv.c:222:9: note: (31) inlined call to ‘io_uring_prep_send’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (32) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_send’ at send_recv.c:222:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (33) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/send-zerocopy.c: In function ‘create_socketpair_ip’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:293:24: warning: leak of file descriptor ‘sock’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:903:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:908:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:911:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:912:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:916:13: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:916:12: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:921:19: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:941:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:946:25: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:958:12: note: (10) following ‘true’ branch (when ‘len == 33554432’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:960:35: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:966:20: note: (12) following ‘false’ branch (when ‘huge_page == 18446744073709551615’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:972:15: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:972:15: note: (14) calling ‘run_basic_tests’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:838:12: note: (15) entry to ‘run_basic_tests’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:844:15: note: (16) calling ‘create_socketpair_ip’ from ‘run_basic_tests’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:258:12: note: (17) entry to ‘create_socketpair_ip’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:268:12: note: (18) following ‘true’ branch (when ‘ipv6 != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:272:36: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:286:12: note: (20) following ‘true’ branch (when ‘tcp != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:287:38: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:287:38: note: (22) stream socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:287:38: note: (23) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:291:12: note: (24) following ‘false’ branch (when ‘sock >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:296:15: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:297:12: note: (26) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:302:15: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:303:12: note: (28) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:308:12: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:308:12: note: (30) following ‘true’ branch (when ‘tcp != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:309:23: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:309:23: note: (32) stream socket marked as passive here via ‘listen’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:309:23: note: (33) when ‘listen’ succeeds <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:5: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:310:17: note: (34) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:313:12: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:313:12: note: (36) following ‘true’ branch (when ‘ipv6 != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:316:45: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:324:12: note: (38) following ‘true’ branch (when ‘tcp != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:325:32: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:325:32: note: (40) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:326:17: note: (41) following ‘true’ branch (when ‘client_connect != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:330:13: note: (42) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:330:12: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:331:17: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/send-zerocopy.c:293:24: note: (45) ‘sock’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/shutdown.c:21: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_shutdown’ at ../src/include/liburing.h:1023:2, inlined from ‘main’ at shutdown.c:105:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:28:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:35:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:38:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:40:19: note: (4) when ‘socket’ succeeds <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:10: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:43:9: note: (5) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:44:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:45:9: note: (7) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:47:25: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:51:9: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: note: (11) when ‘listen’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:53:9: note: (12) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:55:19: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:55:19: note: (14) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:59:9: note: (15) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:61:25: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:62:9: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:64:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:66:9: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:68:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:69:9: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:71:17: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:72:9: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:74:15: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:76:9: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:78:19: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:79:9: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:81:9: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:88:17: note: (29) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:90:21: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:97:9: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:104:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at shutdown.c:104:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:104:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at shutdown.c:104:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:105:17: note: (40) inlined call to ‘io_uring_prep_shutdown’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1023:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_shutdown’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_shutdown’ at ../src/include/liburing.h:1023:2, inlined from ‘main’ at shutdown.c:105:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(&m_io_uring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:35:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:38:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:40:19: note: (3) when ‘socket’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:43:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:44:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:45:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:47:25: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:51:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/shutdown.c:52:15: note: (10) ‘recv_s0’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/sigfd-deadlock.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_uring’ at sigfd-deadlock.c:43:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c: In function ‘test_uring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c:31:12: note: (1) entry to ‘test_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c:39:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c:42:15: note: (3) inlined call to ‘io_uring_get_sqe’ from ‘test_uring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_uring’ at sigfd-deadlock.c:42:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (5) calling ‘_io_uring_get_sqe’ from ‘test_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_uring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (6) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c:42:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_uring’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_uring’ at sigfd-deadlock.c:42:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) returning to ‘test_uring’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c: In function ‘test_uring’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sigfd-deadlock.c:43:9: note: (11) inlined call to ‘io_uring_prep_poll_add’ from ‘test_uring’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (12) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_uring’ at sigfd-deadlock.c:43:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/single-issuer.c:11: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘try_submit’ at single-issuer.c:50:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c: In function ‘try_submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:70:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:75:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:78:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:79:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:81:19: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:81:19: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:87:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:87:15: note: (8) calling ‘try_submit’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:43:12: note: (9) entry to ‘try_submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:49:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘try_submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘try_submit’ at single-issuer.c:49:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘try_submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘try_submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:49:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘try_submit’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘try_submit’ at single-issuer.c:49:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘try_submit’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c: In function ‘try_submit’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/single-issuer.c:50:9: note: (17) inlined call to ‘io_uring_prep_nop’ from ‘try_submit’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (18) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘try_submit’ at single-issuer.c:50:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (19) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/socket-rw-eagain.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:47:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:31:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:34:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:36:19: note: (3) when ‘socket’ fails <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:9: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:39:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:40:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:41:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:43:25: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:46:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:47:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-eagain.c:47:15: note: (10) ‘recv_s0’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/socket-rw-offset.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:49:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:33:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:36:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:38:19: note: (3) when ‘socket’ fails <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:11: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:41:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:42:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:43:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:45:25: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:48:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:49:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw-offset.c:49:15: note: (10) ‘recv_s0’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/socket-rw.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:49:15: warning: ‘listen’ on possibly invalid file descriptor ‘recv_s0’ [-Wanalyzer-fd-use-without-check] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:33:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:36:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:38:19: note: (3) when ‘socket’ fails <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:11: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:41:9: note: (4) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:42:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:43:9: note: (6) following ‘true’ branch (when ‘ret != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:45:25: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:48:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:49:15: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket-rw.c:49:15: note: (10) ‘recv_s0’ could be invalid <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/sqpoll-exec.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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:20: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘test_exec’ at sqpoll-exec.c:49:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:108:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:114:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:117:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:118:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:120:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:120:17: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:123:23: note: (8) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:124:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:124:23: note: (10) calling ‘test_exec’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:34:12: note: (11) entry to ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:48:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at sqpoll-exec.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:48:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at sqpoll-exec.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test_exec’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:49:9: note: (19) inlined call to ‘io_uring_prep_openat’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:731:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_openat’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_openat’ at ../src/include/liburing.h:731:2, inlined from ‘test_exec’ at sqpoll-exec.c:49:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘test_exec’ at sqpoll-exec.c:67:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:108:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:114:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:117:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:118:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:120:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:120:17: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:123:23: note: (8) following ‘true’ branch (when ‘i != 20’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:124:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:124:23: note: (10) calling ‘test_exec’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:34:12: note: (11) entry to ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:48:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at sqpoll-exec.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:48:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at sqpoll-exec.c:48:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘test_exec’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:54:15: note: (19) calling ‘io_uring_wait_cqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (20) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (21) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (22) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (23) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (25) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (27) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:54:15: note: (30) returning to ‘test_exec’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:55:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:59:16: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:59:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (34) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:66:15: note: (35) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at sqpoll-exec.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (36) calling ‘_io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (37) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (39) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:66:15: note: (40) inlined call to ‘io_uring_get_sqe’ from ‘test_exec’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_exec’ at sqpoll-exec.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (41) returning to ‘test_exec’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c: In function ‘test_exec’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exec.c:67:9: note: (42) inlined call to ‘io_uring_prep_close’ from ‘test_exec’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:764:9: note: (43) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_close’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_close’ at ../src/include/liburing.h:764:2, inlined from ‘test_exec’ at sqpoll-exec.c:67:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (44) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/socket.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket’ at ../src/include/liburing.h:1189:2, inlined from ‘do_send’ at socket.c:261:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:340:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:362:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:239:12: note: (7) ...to here <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:14: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:248:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:254:12: note: (17) following ‘false’ branch (when ‘socket_direct == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:261:17: note: (18) inlined call to ‘io_uring_prep_socket’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1189:9: note: (19) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sockmake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 sqwait.t sqwait.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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 et’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket’ at ../src/include/liburing.h:1189:2, inlined from ‘do_send’ at socket.c:261:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct’ at ../src/include/liburing.h:1199:2, inlined from ‘do_send’ at socket.c:258:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:340:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:362:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:239:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:241:20: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:247:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:247:9: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:248:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:254:12: note: (19) following ‘true’ branch (when ‘socket_direct != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:256:20: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:258:17: note: (21) inlined call to ‘io_uring_prep_socket_direct’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1199:9: note: (22) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket_direct’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket_direct’ at ../src/include/liburing.h:1199:2, inlined from ‘do_send’ at socket.c:258:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (23) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:695:2, inlined from ‘do_send’ at socket.c:290:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:340:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:362:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:239:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:248:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:264:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:268:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:268:15: note: (19) calling ‘io_uring_wait_cqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (20) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (21) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (22) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (23) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (25) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (27) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:268:15: note: (30) returning to ‘do_send’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:269:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:273:16: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:273:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:285:13: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:285:12: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (36) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:289:15: note: (37) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:289:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (38) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (39) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (40) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (41) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:289:15: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:289:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (43) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘do_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:290:9: note: (44) inlined call to ‘io_uring_prep_connect’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:695:9: note: (45) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_connect’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_connect’ at ../src/include/liburing.h:695:2, inlined from ‘do_send’ at socket.c:290:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (46) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘fallback_send’ at socket.c:194:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘fallback_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:340:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:356:12: note: (2) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:362:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:363:9: note: (4) calling ‘do_send’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:221:12: note: (5) entry to ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:234:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:239:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:247:9: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:248:9: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (10) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (11) calling ‘_io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘fallback_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (12) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:253:15: note: (15) inlined call to ‘io_uring_get_sqe’ from ‘do_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_send’ at socket.c:253:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (16) returning to ‘do_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘fallback_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:264:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:268:15: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:268:15: note: (19) calling ‘io_uring_wait_cqe’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1483:19: note: (20) entry to ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (21) calling ‘__io_uring_peek_cqe’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1424:19: note: (22) entry to ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1443:20: note: (23) following ‘false’ branch (when ‘available != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1446:32: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1461:12: note: (25) following ‘false’ branch (when ‘nr_available’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1463:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:14: note: (27) returning to ‘io_uring_wait_cqe’ from ‘__io_uring_peek_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:12: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1486:58: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:268:15: note: (30) returning to ‘do_send’ from ‘io_uring_wait_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:269:12: note: (31) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:273:16: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:273:12: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:274:20: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:274:20: note: (35) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:275:35: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:277:32: note: (37) calling ‘fallback_send’ from ‘do_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:171:12: note: (38) entry to ‘fallback_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:181:18: note: (39) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:182:12: note: (40) following ‘false’ branch (when ‘sockfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:187:15: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:188:12: note: (42) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:193:15: note: (43) inlined call to ‘io_uring_get_sqe’ from ‘fallback_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘fallback_send’ at socket.c:193:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (45) calling ‘_io_uring_get_sqe’ from ‘fallback_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘fallback_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (46) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (47) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (48) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:193:15: note: (49) inlined call to ‘io_uring_get_sqe’ from ‘fallback_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘fallback_send’ at socket.c:193:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (50) returning to ‘fallback_send’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘fallback_send’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:194:9: note: (51) inlined call to ‘io_uring_prep_send’ from ‘fallback_send’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (52) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘fallback_send’ at socket.c:194:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (53) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket’ at ../src/include/liburing.h:1189:2, inlined from ‘test_bad_socket’ at socket.c:382:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘test_bad_socket’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:368:12: note: (1) entry to ‘test_bad_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:376:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:381:15: note: (3) inlined call to ‘io_uring_get_sqe’ from ‘test_bad_socket’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_bad_socket’ at socket.c:381:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (5) calling ‘_io_uring_get_sqe’ from ‘test_bad_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_bad_socket’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (6) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (8) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:381:15: note: (9) inlined call to ‘io_uring_get_sqe’ from ‘test_bad_socket’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_bad_socket’ at socket.c:381:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (10) returning to ‘test_bad_socket’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c: In function ‘test_bad_socket’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/socket.c:382:9: note: (11) inlined call to ‘io_uring_prep_socket’ from ‘test_bad_socket’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1189:9: note: (12) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_socket’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_socket’ at ../src/include/liburing.h:1189:2, inlined from ‘test_bad_socket’ at socket.c:382:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (13) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:10: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_link_success’ at skip-cqe.c:32:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c: In function ‘test_link_success’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:307:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:314:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:317:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:317:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:317:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:321:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:322:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:327:19: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:327:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:330:23: note: (11) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:332:29: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:332:46: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:334:23: note: (15) calling ‘test_link_success’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:24:12: note: (16) entry to ‘test_link_success’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:30:23: note: (17) following ‘true’ branch (when ‘i < nr’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:31:23: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘test_link_success’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_link_success’ at skip-cqe.c:31:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘test_link_success’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_link_success’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:31:23: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘test_link_success’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_link_success’ at skip-cqe.c:31:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘test_link_success’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c: In function ‘test_link_success’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/skip-cqe.c:32:17: note: (26) inlined call to ‘io_uring_prep_nop’ from ‘test_link_success’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_link_success’ at skip-cqe.c:32:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/splice.c: In function ‘init_splice_ctx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:111:15: warning: leak of file descriptor ‘open("/dev/urandom", 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:444:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:452:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:455:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:456:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:460:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:460:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:465:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:465:15: note: (8) calling ‘init_splice_ctx’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:87:12: note: (9) entry to ‘init_splice_ctx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:95:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:100:23: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:101:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:107:18: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:107:18: note: (14) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:108:12: note: (15) assuming ‘open("/dev/urandom", 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:108:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:111:15: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:111:15: note: (18) calling ‘read_buf’ from ‘init_splice_ctx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:36:12: note: (19) entry to ‘read_buf’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:40:16: note: (20) following ‘true’ branch (when ‘len != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:41:23: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:111:15: note: (22) returning to ‘init_splice_ctx’ from ‘read_buf’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/splice.c:111:15: note: (23) ‘open("/dev/urandom", 0)’ leaks here; was opened at (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/sqpoll-exit-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.8-build/liburing-2.8/test/sqpoll-exit-hang.c:12: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at sqpoll-exit-hang.c:45:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:15:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:23:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:26:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:30:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:39:16: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:39:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:44:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at sqpoll-exit-hang.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:44:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at sqpoll-exit-hang.c:44:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-exit-hang.c:45:9: note: (15) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at sqpoll-exit-hang.c:45:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/sq-poll-share.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:91:14: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (2) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:102:23: note: (5) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:103:40: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:106:20: note: (7) following ‘false’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:110:23: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (9) ‘open(fname, 16384)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:91:14: note: (1) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (2) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:102:23: note: (5) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:103:40: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:106:20: note: (7) following ‘false’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:110:23: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:111:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:116:24: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (11) ‘open(fname, 16384)’ leaks here; was opened at (1) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:74:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:91:14: note: (2) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (3) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:102:23: note: (6) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:103:40: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:106:20: note: (8) following ‘false’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:110:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:111:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:116:24: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:116:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:102:36: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:123:20: note: (14) following ‘true’ branch (when ‘ios != 32768’)... <--[csmock-gcc-wrapper] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:124:31: note: (16) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:125:31: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:125:31: note: (18) calling ‘queue_io’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:51:12: note: (19) entry to ‘queue_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:58:16: note: (20) following ‘true’ branch (when ‘nr_ios != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:61:23: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘queue_io’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_io’ at sq-poll-share.c:61:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:62:20: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:70:9: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:125:31: note: (25) returning to ‘main’ from ‘queue_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:124:31: note: (26) following ‘false’ branch (when ‘i == 4’)... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:130:31: note: (28) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:131:29: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (30) ‘open(fname, 16384)’ leaks here; was opened at (2) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: warning: leak of file descriptor ‘open(fname, 16384)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:74:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:91:14: note: (2) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (3) assuming ‘open(fname, 16384)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:92:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:102:23: note: (6) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:103:40: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:106:20: note: (8) following ‘false’ branch (when ‘i == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:110:23: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:111:20: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:116:24: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:116:20: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:102:36: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:123:20: note: (14) following ‘true’ branch (when ‘ios != 32768’)... <--[csmock-gcc-wrapper] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:124:31: note: (16) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:125:31: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:125:31: note: (18) calling ‘queue_io’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:51:12: note: (19) entry to ‘queue_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:58:16: note: (20) following ‘true’ branch (when ‘nr_ios != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:61:23: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘queue_io’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_io’ at sq-poll-share.c:61:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:62:20: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:70:9: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:125:31: note: (25) returning to ‘main’ from ‘queue_io’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:124:31: note: (26) following ‘false’ branch (when ‘i == 4’)... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:130:31: note: (28) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:131:29: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:131:28: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:130:44: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sq-poll-share.c:99:26: note: (32) ‘open(fname, 16384)’ leaks here; was opened at (2) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sqpoll-sleep.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/sqwait.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/submit-link-fail.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:122:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:39: note: (4) following ‘true’ branch (when ‘link_size != 3’)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:135:45: note: (6) following ‘false’ branch (when ‘link_size <= fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:53: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:39: note: (8) following ‘true’ branch (when ‘link_size != 3’)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:135:45: note: (10) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:136:39: note: (12) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:138:49: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:141:39: note: (14) calling ‘test_underprep_fail’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:17:12: note: (15) entry to ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:29:12: note: (16) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:31:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:31:12: note: (18) following ‘false’ branch (when ‘hardlink == 0’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:11: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (20) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (22) following ‘true’ branch (when ‘link_size <= 39’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:38:15: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:39:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:13: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:13: note: (26) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (29) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:9: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:23: note: (31) following ‘true’ branch (when ‘i < link_size’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:59:20: note: (40) following ‘true’ branch (when ‘i == fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:60:25: note: (41) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (42) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (44) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 include/liburing.h:592:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:63:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:122:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:39: note: (4) following ‘true’ branch (when ‘link_size != 3’)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:135:45: note: (6) following ‘false’ branch (when ‘link_size <= fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:53: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:39: note: (8) following ‘true’ branch (when ‘link_size != 3’)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:135:45: note: (10) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:136:39: note: (12) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:138:49: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:141:39: note: (14) calling ‘test_underprep_fail’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:17:12: note: (15) entry to ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:29:12: note: (16) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:31:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:31:12: note: (18) following ‘false’ branch (when ‘hardlink == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (20) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (22) following ‘true’ branch (when ‘link_size <= 39’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:38:15: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:39:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:13: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:13: note: (26) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:12: note: (27) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (29) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:9: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:23: note: (31) following ‘true’ branch (when ‘i < link_size’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:59:20: note: (40) following ‘true’ branch (when ‘i == fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:60:25: note: (41) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (42) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (43) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:23: note: (44) following ‘true’ branch (when ‘i < link_size’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (45) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (47) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (48) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (50) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (51) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (52) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:59:20: note: (53) following ‘false’ branch (when ‘i != fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:63:25: note: (54) inlined call to ‘io_uring_prep_nop’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (55) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:63:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (56) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (57) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:51:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:122:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:126:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:39: note: (4) following ‘true’ branch (when ‘link_size != 3’)... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:135:45: note: (6) following ‘false’ branch (when ‘link_size <= fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:53: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:134:39: note: (8) following ‘true’ branch (when ‘link_size != 3’)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:135:45: note: (10) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:136:39: note: (12) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:138:49: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:141:39: note: (14) calling ‘test_underprep_fail’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:17:12: note: (15) entry to ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:29:12: note: (16) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:31:12: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:31:12: note: (18) following ‘false’ branch (when ‘hardlink == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (20) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (22) following ‘true’ branch (when ‘link_size <= 39’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:38:15: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:13: note: (24) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:12: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (27) following ‘false’ branch (when ‘drain == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:9: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:57:23: note: (29) following ‘true’ branch (when ‘i < link_size’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (30) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) calling ‘_io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (33) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (34) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:58:23: note: (36) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:58:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (37) returning to ‘test_underprep_fail’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:59:20: note: (38) following ‘true’ branch (when ‘i == fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:60:25: note: (39) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (40) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:60:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:141:39: note: (42) returning to ‘main’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:143:36: note: (43) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:143:36: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:136:39: note: (45) following ‘true’ branch (when ‘i != 8’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:138:49: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:141:39: note: (47) calling ‘test_underprep_fail’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:17:12: note: (48) entry to ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:34:9: note: (49) following ‘true’ branch (when ‘link_size > fail_idx’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:35:9: note: (51) following ‘true’ branch (when ‘link_size <= 39’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:38:15: note: (52) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:13: note: (53) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:43:12: note: (54) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (55) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:48:12: note: (56) following ‘true’ branch (when ‘drain != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:50:23: note: (57) inlined call to ‘io_uring_get_sqe’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_underprep_fail’ at submit-link-fail.c:50:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (58) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c: In function ‘test_underprep_fail’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-link-fail.c:51:17: note: (59) inlined call to ‘io_uring_prep_read’ from ‘test_underprep_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (60) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_underprep_fail’ at submit-link-fail.c:51:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (61) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/helpers.h:12, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:15: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘prep’ at submit-reuse.c:67:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c: In function ‘prep’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:193:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:197:23: note: (2) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:200:23: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:203:23: note: (4) calling ‘test_reuse’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:105:12: note: (5) entry to ‘test_reuse’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:117:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:122:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:122:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:129:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:139:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:146:9: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:149:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:154:18: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:161:23: note: (14) following ‘true’ branch (when ‘i != 1000’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:162:23: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:162:23: note: (16) calling ‘prep’ from ‘test_reuse’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:46:12: note: (17) entry to ‘prep’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:52:12: note: (18) following ‘false’ branch (when ‘split == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:62:34: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:66:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘prep’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘prep’ at submit-reuse.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘prep’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘prep’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:66:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘prep’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘prep’ at submit-reuse.c:66:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) returning to ‘prep’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c: In function ‘prep’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:67:9: note: (27) following ‘false’ branch (when ‘split == 0’)... <--[csmock-gcc-wrapper] cc1: note: (28) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:67:9: note: (29) inlined call to ‘io_uring_prep_readv’ from ‘prep’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (30) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘prep’ at submit-reuse.c:67:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (31) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c: In function ‘test_reuse’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:149:12: warning: leak of file descriptor ‘open(fname1, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:193:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:197:23: note: (2) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:200:23: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:203:23: note: (4) calling ‘test_reuse’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:105:12: note: (5) entry to ‘test_reuse’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:117:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:122:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:122:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:129:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:136:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:139:12: note: (11) assuming ‘open(fname1, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:139:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:146:9: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/submit-reuse.c:149:12: note: (14) ‘open(fname1, 0)’ leaks here; was opened at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:13: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_sync_cancel’ at sync-cancel.c:107:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c: In function ‘test_sync_cancel’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:163:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:168:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:171:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:172:12: note: (4) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:174:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:174:17: note: (6) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:177:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:177:15: note: (8) calling ‘test_sync_cancel’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:88:12: note: (9) entry to ‘test_sync_cancel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:97:13: note: (10) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:97:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:103:12: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:103:12: note: (13) following ‘false’ branch (when ‘nr_all == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:105:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:105:23: note: (15) following ‘true’ branch (when ‘to_prep > i’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:106:23: note: (16) inlined call to ‘io_uring_get_sqe’ from ‘test_sync_cancel’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_sync_cancel’ at sync-cancel.c:106:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) calling ‘_io_uring_get_sqe’ from ‘test_sync_cancel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_sync_cancel’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (19) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (21) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:106:23: note: (22) inlined call to ‘io_uring_get_sqe’ from ‘test_sync_cancel’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_sync_cancel’ at sync-cancel.c:106:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (23) returning to ‘test_sync_cancel’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c: In function ‘test_sync_cancel’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/sync-cancel.c:107:17: note: (24) inlined call to ‘io_uring_prep_read’ from ‘test_sync_cancel’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (25) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test_sync_cancel’ at sync-cancel.c:107:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (26) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/timeout-new.c:10: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_return_before_timeout’ at timeout-new.c:37:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/timeout-new.c: In function ‘test_return_before_timeout’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/timeout-new.c:26:12: note: (1) entry to ‘test_return_before_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/timeout-new.c:36:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘test_return_before_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_return_before_timeout’ at timeout-new.c:36:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘test_return_before_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_return_before_timeout’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/timeout-new.c:36:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘test_return_before_timeout’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_return_before_timeout’ at timeout-new.c:36:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘test_return_before_timeout’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/timeout-new.c: In function ‘test_return_before_timeout’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/timeout-new.c:37:9: note: (9) inlined call to ‘io_uring_prep_nop’ from ‘test_return_before_timeout’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:592:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_nop’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_nop’ at ../src/include/liburing.h:592:2, inlined from ‘test_return_before_timeout’ at timeout-new.c:37:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/tty-write-dpoll.c:18: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘main’ at tty-write-dpoll.c:50:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:24:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:31:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:34:14: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:35:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:38:15: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:39:12: note: (6) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: note: (8) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:44:23: note: (10) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:47:23: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at tty-write-dpoll.c:47:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (14) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (16) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:47:23: note: (17) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at tty-write-dpoll.c:47:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (18) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:50:17: note: (19) inlined call to ‘io_uring_prep_writev’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:500:9: note: (20) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘main’ at tty-write-dpoll.c:50:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (21) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:39:12: warning: leak of file descriptor ‘open("/dev/ttyS0", 2050)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:31:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:34:14: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:34:14: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:35:12: note: (4) assuming ‘open("/dev/ttyS0", 2050)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:35:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:38:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:39:12: note: (7) ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: warning: leak of file descriptor ‘open("/dev/ttyS0", 2050)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:31:12: note: (1) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:34:14: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:34:14: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:35:12: note: (4) assuming ‘open("/dev/ttyS0", 2050)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:35:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:38:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:39:12: note: (7) following ‘false’ branch (when ‘ret != 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/tty-write-dpoll.c:41:17: note: (9) ‘open("/dev/ttyS0", 2050)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/test/wakeup-hang.c:11: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_pipes’ at wakeup-hang.c:81:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: In function ‘test_pipes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:59:12: note: (1) entry to ‘test_pipes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:71:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:72:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:77:26: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:80:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘test_pipes’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_pipes’ at wakeup-hang.c:80:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) calling ‘_io_uring_get_sqe’ from ‘test_pipes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_pipes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (9) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:80:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test_pipes’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_pipes’ at wakeup-hang.c:80:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) returning to ‘test_pipes’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: In function ‘test_pipes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:81:9: note: (14) inlined call to ‘io_uring_prep_poll_add’ from ‘test_pipes’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (15) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_pipes’ at wakeup-hang.c:81:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (16) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_eventfd’ at wakeup-hang.c:123:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:100:12: note: (1) entry to ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:110:12: note: (2) following ‘false’ branch (when ‘efd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:113:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:114:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:119:21: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:122:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at wakeup-hang.c:122:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) calling ‘_io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (8) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:122:15: note: (11) inlined call to ‘io_uring_get_sqe’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test_eventfd’ at wakeup-hang.c:122:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (12) returning to ‘test_eventfd’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: In function ‘test_eventfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:123:9: note: (13) inlined call to ‘io_uring_prep_poll_add’ from ‘test_eventfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (14) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘test_eventfd’ at wakeup-hang.c:123:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (15) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c: In function ‘test_pipes’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: warning: leak of file descriptor ‘fds[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:13: note: (1) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:71:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:72:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:73:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: note: (7) ‘fds[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: warning: leak of file descriptor ‘fds[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:13: note: (1) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:68:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:71:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:72:12: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:73:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wakeup-hang.c:74:24: note: (7) ‘fds[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777: warning: uninitvar(CWE-457): Uninitialized variable: buf <--[cppcheck] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:11: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at wq-aff.c:118:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:87:12: note: (1) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:107:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:112:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:112:13: note: (4) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:112:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:117:15: note: (6) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at wq-aff.c:117:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (9) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:117:15: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at wq-aff.c:117:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/wq-aff.c:118:9: note: (14) inlined call to ‘io_uring_prep_read’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (15) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘test’ at wq-aff.c:118:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (16) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 wait-timeout.t wait-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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/test/waitid.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.8-build/liburing-2.8/test/waitid.c:10: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_waitid’ at ../src/include/liburing.h:1242:2, inlined from ‘test’ at waitid.c:335:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:363:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:368:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:371:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:373:15: note: (4) calling ‘test’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:320:12: note: (5) entry to ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:329:12: note: (6) following ‘false’ branch (when ‘pid != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:334:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at waitid.c:334:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (9) calling ‘_io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (10) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (12) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:334:15: note: (13) inlined call to ‘io_uring_get_sqe’ from ‘test’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘test’ at waitid.c:334:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) returning to ‘test’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c: In function ‘test’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/waitid.c:335:9: note: (15) inlined call to ‘io_uring_prep_waitid’ from ‘test’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1242:9: note: (16) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_waitid’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_waitid’ at ../src/include/liburing.h:1242:2, inlined from ‘test’ at waitid.c:335:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (17) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/xattr.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/statx.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.8-build/liburing-2.8/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 uring_cmd_ublk.t uring_cmd_ublk.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.8-build/liburing-2.8/test' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163: error: va_end_missing(CWE-664): va_list 'ap' was opened but not closed by va_end(). <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:171: error: va_end_missing(CWE-664): va_list 'ap' was opened but not closed by va_end(). <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c: In function ‘ublk_err’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163:1: warning: missing call to ‘va_end’ [-Wanalyzer-va-list-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1217:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1224:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1227:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1227:15: note: (4) calling ‘ublk_ctrl_init’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:350:25: note: (5) entry to ‘ublk_ctrl_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:357:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:362:32: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:366:12: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:367:17: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:367:17: note: (10) calling ‘ublk_err’ from ‘ublk_ctrl_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:157:13: note: (11) entry to ‘ublk_err’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:161:9: note: (12) ‘va_start’ called here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:163:1: note: (13) missing call to ‘va_end’ to match ‘va_start’ at (12) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c: In function ‘ublk_ctrl_init’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:356:22: warning: dereference of possibly-NULL ‘dev’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1217:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1224:12: note: (2) following ‘false’ branch (when ‘argc <= 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1227:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:1227:15: note: (4) calling ‘ublk_ctrl_init’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:350:25: note: (5) entry to ‘ublk_ctrl_init’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:352:51: note: (6) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/test/uring_cmd_ublk.c:356:22: note: (7) ‘dev’ could be NULL: unchecked value from (6) <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/helpers.c: In function ‘setup_listening_socket’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:29:24: warning: leak of file descriptor ‘fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:26:14: note: (1) stream socket created here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:26:14: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:27:12: note: (3) following ‘false’ branch (when ‘fd != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:32:16: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:34:12: note: (5) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:39:12: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:51:12: note: (7) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:56:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:56:13: note: (9) stream socket bound here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:56:13: note: (10) when ‘listen’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:56:12: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:57:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/helpers.c:29:24: note: (13) ‘fd’ leaks here <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/poll-bench.c:12: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at poll-bench.c:66:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:25:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:35:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:35:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:40:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:45:12: note: (5) following ‘false’ branch (when ‘ret == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:50:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:51:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:56:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:57:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:62:17: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:64:31: note: (11) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:65:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at poll-bench.c:65:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:65:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at poll-bench.c:65:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/poll-bench.c:66:25: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘main’ at poll-bench.c:66:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/io_uring-close-test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:69:36: warning: dereference of possibly-NULL ‘iovecs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:31:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:36:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:37:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:42:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:43:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:47:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:48:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:53:14: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:54:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:59:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:59:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:65:18: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:65:18: note: (13) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:66:23: note: (14) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:67:21: note: (15) ...to here <--[csmock-gcc-wrapper] cc1: note: (16) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:69:23: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-close-test.c:69:36: note: (18) ‘iovecs + (long unsigned int)i * 16’ could be NULL: unchecked value from (13) <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/io_uring-test.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:58:36: warning: dereference of possibly-NULL ‘iovecs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:31:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:36:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:37:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:42:14: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:43:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:48:13: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:48:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:54:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:54:18: note: (9) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:55:23: note: (10) following ‘true’ branch (when ‘i != 4’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:56:21: note: (11) ...to here <--[csmock-gcc-wrapper] cc1: note: (12) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:58:23: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-test.c:58:36: note: (14) ‘iovecs + (long unsigned int)i * 16’ could be NULL: unchecked value from (9) <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/io_uring-cp.c:16: <--[csmock-gcc-wrapper] In function ‘io_uring_sqe_set_data’, inlined from ‘queue_read’ at io_uring-cp.c:103:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:362:24: warning: leak of ‘data’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c: In function ‘queue_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:249:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:255:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:260:16: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:261:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:265:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:266:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:271:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:271:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:273:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:273:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:276:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:276:15: note: (12) calling ‘copy_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:119:12: note: (13) entry to ‘copy_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:129:23: note: (14) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (15) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:137:24: note: (16) following ‘true’ branch (when ‘insize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:140:35: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:140:28: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:142:28: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:147:29: note: (20) calling ‘queue_read’ from ‘copy_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:80:12: note: (21) entry to ‘queue_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:85:16: note: (22) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:86:12: note: (23) assuming ‘data’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:86:12: note: (24) following ‘false’ branch (when ‘data’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:89:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘queue_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_read’ at io_uring-cp.c:89:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) calling ‘_io_uring_get_sqe’ from ‘queue_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (28) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:89:15: note: (31) inlined call to ‘io_uring_get_sqe’ from ‘queue_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_read’ at io_uring-cp.c:89:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (32) returning to ‘queue_read’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c: In function ‘queue_read’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:90:12: note: (33) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:95:20: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/io_uring-cp.c:103:9: note: (35) inlined call to ‘io_uring_sqe_set_data’ from ‘queue_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_sqe_set_data’, inlined from ‘queue_read’ at io_uring-cp.c:103:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:362:24: note: (36) ‘data’ leaks here; was allocated at (22) <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/io_uring-udp.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.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/rsrc-update-bench.c:12: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_files_update’ at ../src/include/liburing.h:715:2, inlined from ‘main’ at rsrc-update-bench.c:74:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:24:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:35:13: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:35:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:40:15: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:42:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:46:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:47:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:51:15: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:52:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (10) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:57:23: note: (11) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:58:23: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:59:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:57:38: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:57:23: note: (15) following ‘true’ branch (when ‘i != 128’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:58:23: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:59:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:57:38: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:71:31: note: (19) following ‘true’ branch (when ‘i != 32’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:72:31: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rsrc-update-bench.c:72:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (25) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:72:31: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘main’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘main’ at rsrc-update-bench.c:72:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) returning to ‘main’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/rsrc-update-bench.c:74:25: note: (28) inlined call to ‘io_uring_prep_files_update’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:715:9: note: (29) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_files_update’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_files_update’ at ../src/include/liburing.h:715:2, inlined from ‘main’ at rsrc-update-bench.c:74:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (30) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/napi-busy-poll-client.c:19: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘sendPing’ at napi-busy-poll-client.c:198:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c: In function ‘sendPing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:292:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:356:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:362:16: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:376:12: note: (4) following ‘false’ branch (when ‘ret > 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:383:100: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:385:27: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:385:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:390:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:394:12: note: (9) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:400:9: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:415:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:421:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:432:12: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:438:9: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:450:12: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:456:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:456:9: note: (17) calling ‘sendPing’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:193:13: note: (18) entry to ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:195:36: note: (19) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (20) calling ‘_io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘sendPing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (21) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (23) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:195:36: note: (24) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (25) returning to ‘sendPing’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c: In function ‘sendPing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:198:9: note: (26) inlined call to ‘io_uring_prep_send’ from ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (27) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘sendPing’ at napi-busy-poll-client.c:198:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (28) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘receivePing’ at napi-busy-poll-client.c:206:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:292:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:356:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:362:16: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:376:12: note: (4) following ‘false’ branch (when ‘ret > 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:383:100: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:385:27: note: (6) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:385:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:390:16: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:394:12: note: (9) following ‘false’ branch (when ‘ret >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:400:9: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:415:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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 kdigest kdigest.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 .8-build/liburing-2.8/examples/napi-busy-poll-client.c:421:16: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:426:20: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:432:16: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:432:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:438:9: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:450:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:456:9: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:456:9: note: (19) calling ‘sendPing’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:193:13: note: (20) entry to ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:195:36: note: (21) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (22) calling ‘_io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (23) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:195:36: note: (26) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-client.c:195:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (27) returning to ‘sendPing’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:456:9: note: (28) returning to ‘main’ from ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:458:30: note: (29) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (30) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:322:89: note: (31) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:474:17: note: in expansion of macro ‘io_uring_for_each_cqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:475:25: note: (32) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:476:29: note: (33) calling ‘completion’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:249:12: note: (34) entry to ‘completion’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:256:12: note: (35) following ‘false’ branch (when ‘res >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:262:9: note: (36) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:262:9: note: (37) following ‘case 1:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:263:9: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:264:17: note: (39) calling ‘receivePing’ from ‘completion’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:202:13: note: (40) entry to ‘receivePing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:204:36: note: (41) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-client.c:204:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (42) calling ‘_io_uring_get_sqe’ from ‘receivePing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (43) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (44) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (45) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:204:36: note: (46) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-client.c:204:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (47) returning to ‘receivePing’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-client.c:206:9: note: (48) inlined call to ‘io_uring_prep_recv’ from ‘receivePing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (49) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘receivePing’ at napi-busy-poll-client.c:206:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (50) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/napi-busy-poll-server.c:18: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:523:2, inlined from ‘receivePing’ at napi-busy-poll-server.c:217:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:199:13: note: (1) entry to ‘receivePing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:216:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-server.c:216:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘receivePing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:216:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘receivePing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘receivePing’ at napi-busy-poll-server.c:216:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘receivePing’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c: In function ‘receivePing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:217:9: note: (9) inlined call to ‘io_uring_prep_recvmsg’ from ‘receivePing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:523:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recvmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recvmsg’ at ../src/include/liburing.h:523:2, inlined from ‘receivePing’ at napi-busy-poll-server.c:217:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:539:2, inlined from ‘sendPing’ at napi-busy-poll-server.c:195:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c: In function ‘sendPing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:191:13: note: (1) entry to ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:193:36: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-server.c:193:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘sendPing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:193:36: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘sendPing’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘sendPing’ at napi-busy-poll-server.c:193:29: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘sendPing’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c: In function ‘sendPing’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/napi-busy-poll-server.c:195:9: note: (9) inlined call to ‘io_uring_prep_sendmsg’ from ‘sendPing’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:539:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_sendmsg’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_sendmsg’ at ../src/include/liburing.h:539:2, inlined from ‘sendPing’ at napi-busy-poll-server.c:195:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(&*ctx.ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/link-cp.c:17: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘queue_rw_pair’ at link-cp.c:80:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:160:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:166:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:171:16: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:172:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:176:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:177:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:182:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:182:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:184:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:184:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:187:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:187:15: note: (12) calling ‘copy_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:115:12: note: (13) entry to ‘copy_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:122:16: note: (14) following ‘true’ branch (when ‘insize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:123:21: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:126:31: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:128:28: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:130:25: note: (18) calling ‘queue_rw_pair’ from ‘copy_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:66:13: note: (19) entry to ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:79:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:79:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) returning to ‘queue_rw_pair’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:80:9: note: (27) inlined call to ‘io_uring_prep_readv’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:476:9: note: (28) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_readv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_readv’ at ../src/include/liburing.h:476:2, inlined from ‘queue_rw_pair’ at link-cp.c:80:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (29) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘queue_rw_pair’ at link-cp.c:85:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:160:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:166:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:171:16: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:172:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:176:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:177:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:182:13: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:182:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:184:13: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:184:12: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:187:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:187:15: note: (12) calling ‘copy_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:115:12: note: (13) entry to ‘copy_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:122:16: note: (14) following ‘true’ branch (when ‘insize != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:123:21: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:126:31: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:128:28: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:130:25: note: (18) calling ‘queue_rw_pair’ from ‘copy_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:66:13: note: (19) entry to ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:79:15: note: (20) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (21) calling ‘_io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (22) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1515:26: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:79:15: note: (25) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:79:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (26) returning to ‘queue_rw_pair’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:84:15: note: (27) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:84:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (28) calling ‘_io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (29) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (30) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (31) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:84:15: note: (32) inlined call to ‘io_uring_get_sqe’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘queue_rw_pair’ at link-cp.c:84:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (33) returning to ‘queue_rw_pair’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c: In function ‘queue_rw_pair’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/link-cp.c:85:9: note: (34) inlined call to ‘io_uring_prep_writev’ from ‘queue_rw_pair’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:500:9: note: (35) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_writev’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_writev’ at ../src/include/liburing.h:500:2, inlined from ‘queue_rw_pair’ at link-cp.c:85:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (36) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/ucontext-cp.c: In function ‘main’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:207:34: warning: leak of file descriptor ‘open(*, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:174:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:180:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:185:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:186:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:191:27: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:194:23: note: (6) following ‘true’ branch (when ‘i < argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:197:39: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:20: note: (8) following ‘false’ branch (when ‘pctx’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:30: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:30: note: (10) calling ‘setup_context’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:93:12: note: (11) entry to ‘setup_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:99:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/signal.h:328, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:14: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:103:34: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:104:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:108:39: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:30: note: (16) returning to ‘main’ from ‘setup_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:27: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:202:33: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:202:24: note: (19) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:203:20: note: (20) assuming ‘open(*, 0)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:203:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:207:34: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:207:34: note: (23) ‘open(*, 0)’ leaks here; was opened at (19) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:214:31: warning: dereference of possibly-NULL ‘pbundle’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:174:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:180:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:185:15: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:186:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:191:27: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:194:23: note: (6) following ‘true’ branch (when ‘i < argc’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:197:39: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:20: note: (8) following ‘false’ branch (when ‘pctx’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:30: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:30: note: (10) calling ‘setup_context’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:93:12: note: (11) entry to ‘setup_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:99:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:103:34: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:104:12: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:108:39: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:30: note: (16) returning to ‘main’ from ‘setup_context’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:199:27: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:202:33: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:203:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:207:34: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:208:20: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:213:45: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:213:45: note: (23) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/ucontext-cp.c:214:31: note: (24) ‘pbundle’ could be NULL: unchecked value from (23) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.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.8-build/liburing-2.8/examples/kdigest.c:18: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘get_result’ at kdigest.c:265:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘get_result’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:256:12: note: (1) entry to ‘get_result’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:264:15: note: (2) inlined call to ‘io_uring_get_sqe’ from ‘get_result’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘get_result’ at kdigest.c:264:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (3) calling ‘_io_uring_get_sqe’ from ‘get_result’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘get_result’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (4) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:264:15: note: (7) inlined call to ‘io_uring_get_sqe’ from ‘get_result’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘get_result’ at kdigest.c:264:8: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (8) returning to ‘get_result’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘get_result’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:265:9: note: (9) inlined call to ‘io_uring_prep_recv’ from ‘get_result’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:898:9: note: (10) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_recv’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_recv’ at ../src/include/liburing.h:898:2, inlined from ‘get_result’ at kdigest.c:265:2: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (11) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘submit_sends_linked’ at kdigest.c:178:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘submit_sends_linked’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:292:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:305:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:310:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:313:12: note: (4) following ‘false’ branch (when ‘alg_len <= 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:318:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:321:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:326:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:326:15: note: (8) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:327:12: note: (9) following ‘false’ branch (when ‘sfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:336:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:336:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:347:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:348:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:353:13: note: (14) ...to here <--[csmock-gcc-wrapper] cc1: note: (15) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:358:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:371:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:13: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:13: note: (19) calling ‘get_file_size’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:51:12: note: (20) entry to ‘get_file_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:55:12: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:15: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:57:23: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:57:12: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:58:27: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:13: note: (25) returning to ‘main’ from ‘get_file_size’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:12: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:382:15: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:382:15: note: (28) calling ‘digest_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:195:12: note: (29) entry to ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:202:16: note: (30) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (32) calling ‘submit_sends’ from ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:187:13: note: (33) entry to ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:189:12: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:192:17: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:192:17: note: (36) calling ‘submit_sends_linked’ from ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:163:13: note: (37) entry to ‘submit_sends_linked’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:171:48: note: (38) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:172:20: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:172:20: note: (40) following ‘false’ branch (when ‘sqe’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:175:21: note: (41) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:177:23: note: (42) inlined call to ‘io_uring_get_sqe’ from ‘submit_sends_linked’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit_sends_linked’ at kdigest.c:177:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (43) calling ‘_io_uring_get_sqe’ from ‘submit_sends_linked’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘submit_sends_linked’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (44) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (46) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:177:23: note: (47) inlined call to ‘io_uring_get_sqe’ from ‘submit_sends_linked’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit_sends_linked’ at kdigest.c:177:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (48) returning to ‘submit_sends_linked’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘submit_sends_linked’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:178:17: note: (49) inlined call to ‘io_uring_prep_send’ from ‘submit_sends_linked’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (50) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘submit_sends_linked’ at kdigest.c:178:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (51) dereference of NULL ‘_io_uring_get_sqe(&*kdigest.ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘io_uring_prep_send_bundle’ at ../src/include/liburing.h:846:2, inlined from ‘submit_sends_br’ at kdigest.c:149:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘submit_sends_br’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:292:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:305:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:310:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:313:12: note: (4) following ‘false’ branch (when ‘alg_len <= 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:318:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:321:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:326:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:326:15: note: (8) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:327:12: note: (9) following ‘false’ branch (when ‘sfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:336:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:336:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:347:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:348:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:353:13: note: (14) ...to here <--[csmock-gcc-wrapper] cc1: note: (15) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:358:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:373:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:13: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:382:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:382:15: note: (21) calling ‘digest_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:195:12: note: (22) entry to ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:202:16: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (25) calling ‘submit_sends’ from ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:187:13: note: (26) entry to ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:190:17: note: (27) calling ‘submit_sends_br’ from ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:110:13: note: (28) entry to ‘submit_sends_br’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:132:20: note: (29) following ‘true’ branch (when ‘first_req’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:133:36: note: (30) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:145:12: note: (31) following ‘true’ branch (when ‘first_req’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:146:17: note: (32) inlined call to ‘io_uring_buf_ring_advance’ from ‘submit_sends_br’ <--[csmock-gcc-wrapper] In function ‘io_uring_buf_ring_advance’, inlined from ‘submit_sends_br’ at kdigest.c:146:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1560:37: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘submit_sends_br’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:148:23: note: (34) inlined call to ‘io_uring_get_sqe’ from ‘submit_sends_br’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit_sends_br’ at kdigest.c:148:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (35) calling ‘_io_uring_get_sqe’ from ‘submit_sends_br’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘submit_sends_br’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (36) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (37) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (38) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:148:23: note: (39) inlined call to ‘io_uring_get_sqe’ from ‘submit_sends_br’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘submit_sends_br’ at kdigest.c:148:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (40) returning to ‘submit_sends_br’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘submit_sends_br’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:149:17: note: (41) inlined call to ‘io_uring_prep_send_bundle’ from ‘submit_sends_br’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:846:9: note: (42) inlined call to ‘io_uring_prep_send’ from ‘io_uring_prep_send_bundle’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (43) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘io_uring_prep_send_bundle’ at ../src/include/liburing.h:846:2, inlined from ‘submit_sends_br’ at kdigest.c:149:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (44) dereference of NULL ‘_io_uring_get_sqe(&*kdigest.ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘digest_file’ at kdigest.c:221:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘digest_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:292:5: note: (1) entry to ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:305:12: note: (2) following ‘false’ branch (when ‘argc > 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:310:13: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:313:12: note: (4) following ‘false’ branch (when ‘alg_len <= 63’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:318:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:321:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:326:15: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:326:15: note: (8) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:327:12: note: (9) following ‘false’ branch (when ‘sfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:336:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:336:12: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:347:17: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:348:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:353:13: note: (14) ...to here <--[csmock-gcc-wrapper] cc1: note: (15) following ‘true’ branch... /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:358:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:373:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:13: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:379:12: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:382:15: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:382:15: note: (21) calling ‘digest_file’ from ‘main’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:195:12: note: (22) entry to ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:202:16: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (25) calling ‘submit_sends’ from ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:187:13: note: (26) entry to ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:192:17: note: (27) calling ‘submit_sends_linked’ from ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:163:13: note: (28) entry to ‘submit_sends_linked’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:171:48: note: (29) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:185:1: note: (30) ...to hemake[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples' make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples' re <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:192:17: note: (31) returning to ‘submit_sends’ from ‘submit_sends_linked’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:207:17: note: (32) returning to ‘digest_file’ from ‘submit_sends’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:220:31: note: (33) inlined call to ‘io_uring_get_sqe’ from ‘digest_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘digest_file’ at kdigest.c:220:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (34) calling ‘_io_uring_get_sqe’ from ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘digest_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (35) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (36) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:220:31: note: (38) inlined call to ‘io_uring_get_sqe’ from ‘digest_file’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘digest_file’ at kdigest.c:220:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (39) returning to ‘digest_file’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c: In function ‘digest_file’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/kdigest.c:221:25: note: (40) inlined call to ‘io_uring_prep_read’ from ‘digest_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:777:9: note: (41) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_read’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_read’ at ../src/include/liburing.h:777:2, inlined from ‘digest_file’ at kdigest.c:221:4: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (42) dereference of NULL ‘_io_uring_get_sqe(ring)’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples/send-zerocopy.c:44: <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘do_tx’ at send-zerocopy.c:378:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:328:13: note: (1) entry to ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:342:14: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:343:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:346:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:346:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:349:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:350:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:353:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:371:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:374:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:374:12: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:377:23: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:377:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:377:23: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:377:9: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘do_tx’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:378:17: note: (20) inlined call to ‘io_uring_prep_poll_add’ from ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:554:9: note: (21) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_poll_add’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_poll_add’ at ../src/include/liburing.h:554:2, inlined from ‘do_tx’ at send-zerocopy.c:378:3: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (22) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send_zc’ at ../src/include/liburing.h:871:2, inlined from ‘do_tx’ at send-zerocopy.c:401:5: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:328:13: note: (1) entry to ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:342:14: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:343:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:346:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:346:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:349:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:350:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:353:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:371:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:374:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:394:31: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:395:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:395:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘do_tx’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:397:28: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:401:33: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:401:33: note: (22) inlined call to ‘io_uring_prep_send_zc’ from ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:871:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send_zc’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send_zc’ at ../src/include/liburing.h:871:2, inlined from ‘do_tx’ at send-zerocopy.c:401:5: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_tx’ at send-zerocopy.c:398:5: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:328:13: note: (1) entry to ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:342:14: note: (2) when ‘socket’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:343:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:346:13: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:346:12: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:349:15: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:350:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:353:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:371:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:374:13: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:394:31: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:395:31: note: (12) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (14) calling ‘_io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1499:36: note: (15) entry to ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1512:12: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (17) ...to here /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:395:31: note: (18) inlined call to ‘io_uring_get_sqe’ from ‘do_tx’ <--[csmock-gcc-wrapper] In function ‘io_uring_get_sqe’, inlined from ‘do_tx’ at send-zerocopy.c:395:10: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:1604:16: note: (19) returning to ‘do_tx’ from ‘_io_uring_get_sqe’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c: In function ‘do_tx’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:397:28: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:398:33: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/send-zerocopy.c:398:33: note: (22) inlined call to ‘io_uring_prep_send’ from ‘do_tx’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:839:9: note: (23) inlined call to ‘io_uring_prep_rw’ from ‘io_uring_prep_send’ <--[csmock-gcc-wrapper] In function ‘io_uring_prep_rw’, inlined from ‘io_uring_prep_send’ at ../src/include/liburing.h:839:2, inlined from ‘do_tx’ at send-zerocopy.c:398:5: /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src/include/liburing.h:420:21: note: (24) dereference of NULL ‘_io_uring_get_sqe(&ring)’ <--[csmock-gcc-wrapper] make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/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.8-build/liburing-2.8/examples' /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c: In function ‘show_buckets’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:515:37: warning: dereference of possibly-NULL ‘sstat’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:550:13: note: (1) entry to ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (2) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (4) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:572:12: note: (6) following ‘false’ branch (when ‘qps != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:575:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:582:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:583:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:600:17: note: (10) calling ‘show_buckets’ from ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:500:13: note: (11) entry to ‘show_buckets’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:506:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:32: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:510:17: note: (14) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:513:23: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:514:44: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:515:37: note: (17) ‘sstat + (long unsigned int)i * 8’ could be NULL: unchecked value from (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:518:37: warning: dereference of possibly-NULL ‘rstat’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:550:13: note: (1) entry to ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (2) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (4) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:572:12: note: (6) following ‘false’ branch (when ‘qps != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:575:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:582:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:583:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:600:17: note: (10) calling ‘show_buckets’ from ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:500:13: note: (11) entry to ‘show_buckets’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:506:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:32: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:17: note: (14) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:513:23: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:514:44: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:518:37: note: (17) ‘rstat + (long unsigned int)i * 8’ could be NULL: unchecked value from (14) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:534:30: warning: use after ‘free’ of ‘rstat’ [CWE-416] [-Wanalyzer-use-after-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:550:13: note: (1) entry to ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (2) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (4) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:572:12: note: (6) following ‘false’ branch (when ‘qps != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:575:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:582:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:583:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:600:17: note: (10) calling ‘show_buckets’ from ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:500:13: note: (11) entry to ‘show_buckets’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:506:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:32: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:17: note: (14) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:513:23: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:514:44: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:518:37: note: (17) assuming ‘rstat’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:513:23: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:522:24: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:522:12: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:523:17: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:524:17: note: (22) freed here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:526:12: note: (23) following ‘false’ branch (when ‘snd_total == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:528:12: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:528:12: note: (25) following ‘false’ branch (when ‘rcv_total == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:531:9: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:532:23: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:534:27: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:534:30: note: (29) use after ‘free’ of ‘rstat + (long unsigned int)i * 8’; freed at (22) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:546:9: warning: double-‘free’ of ‘sstat’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:550:13: note: (1) entry to ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (2) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (4) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:572:12: note: (6) following ‘false’ branch (when ‘qps != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:575:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:582:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:583:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:600:17: note: (10) calling ‘show_buckets’ from ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:500:13: note: (11) entry to ‘show_buckets’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:506:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:32: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:510:17: note: (14) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:522:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:523:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:523:17: note: (17) first ‘free’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:526:12: note: (18) following ‘false’ branch (when ‘snd_total == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:528:12: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:528:12: note: (20) following ‘false’ branch (when ‘rcv_total == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:531:9: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:532:23: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:546:9: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:546:9: note: (24) second ‘free’ here; first ‘free’ was at (17) <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:547:9: warning: double-‘free’ of ‘rstat’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:550:13: note: (1) entry to ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (2) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:569:23: note: (4) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:570:32: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:572:12: note: (6) following ‘false’ branch (when ‘qps != 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:575:12: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:582:23: note: (8) following ‘true’ branch (when ‘i != 2’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:583:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:600:17: note: (10) calling ‘show_buckets’ from ‘__show_stats.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:500:13: note: (11) entry to ‘show_buckets’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:506:12: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:32: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:509:17: note: (14) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:522:12: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:523:17: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:524:17: note: (17) first ‘free’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:528:12: note: (18) following ‘false’ branch (when ‘rcv_total == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:531:9: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:532:23: note: (20) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:546:9: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/examples/proxy.c:547:9: note: (22) second ‘free’ here; first ‘free’ was at (17) <--[csmock-gcc-wrapper] + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 01:50:11 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-11-13 01:50:12 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' 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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' 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' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' 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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' 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'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--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.9 INFO: Mock Version: 5.9 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/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1730246400 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jxtFS5 + umask 022 + cd /builddir/build/BUILD/liburing-2.8-build + '[' /builddir/build/BUILD/liburing-2.8-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/liburing-2.8-build/BUILDROOT ++ dirname /builddir/build/BUILD/liburing-2.8-build/BUILDROOT + mkdir -p /builddir/build/BUILD/liburing-2.8-build + mkdir /builddir/build/BUILD/liburing-2.8-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.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/liburing-2.8-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.8%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.8%g" \ liburing-ffi.pc.in >liburing-ffi.pc make[1]: Entering directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src' install -D -m 644 include/liburing/io_uring.h /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/include/liburing/io_uring.h install -D -m 644 include/liburing.h /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/include/liburing.h install -D -m 644 include/liburing/compat.h /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/include/liburing/compat.h install -D -m 644 include/liburing/barrier.h /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/include/liburing/barrier.h install -D -m 644 include/liburing/sanitize.h /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/include/liburing/sanitize.h install -D -m 644 include/liburing/io_uring_version.h /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/include/liburing/io_uring_version.h install -D -m 644 liburing.a /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing.a install -D -m 644 liburing-ffi.a /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing-ffi.a install -D -m 755 liburing.so.2.8 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing.so.2.8 install -D -m 755 liburing-ffi.so.2.8 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing-ffi.so.2.8 ln -sf liburing.so.2.8 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing.so.2 ln -sf liburing.so.2.8 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing.so ln -sf liburing-ffi.so.2.8 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing-ffi.so.2 ln -sf liburing-ffi.so.2.8 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/liburing-ffi.so make[1]: Leaving directory '/builddir/build/BUILD/liburing-2.8-build/liburing-2.8/src' /usr/bin/install -p -D -m 644 liburing.pc /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/pkgconfig/liburing.pc /usr/bin/install -p -D -m 644 liburing-ffi.pc /builddir/build/BUILD/liburing-2.8-build/BUILDROOT//usr/lib64/pkgconfig/liburing-ffi.pc /usr/bin/install -p -m 755 -d /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/man/man2 /usr/bin/install -p -m 644 man/*.2 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/man/man2 /usr/bin/install -p -m 755 -d /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/man/man3 /usr/bin/install -p -m 644 man/*.3 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/man/man3 /usr/bin/install -p -m 755 -d /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/man/man7 /usr/bin/install -p -m 644 man/*.7 /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/man/man7 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.8-1.fc42 --unique-debug-suffix -2.8-1.fc42.x86_64 --unique-debug-src-base liburing-2.8-1.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/liburing-2.8-build/liburing-2.8 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.8-1.fc42.x86_64 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.8-build/BUILDROOT /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/lib64/liburing.a: replacing with normalized version /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/lib64/liburing-ffi.a: replacing with normalized version Scanned 24 directories and 213 files, processed 2 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/liburing-2.8-build/SPECPARTS/rpm-debuginfo.specpart Processing files: liburing-2.8-1.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oo3OEC + umask 022 + cd /builddir/build/BUILD/liburing-2.8-build + cd liburing-2.8 + LICENSEDIR=/builddir/build/BUILD/liburing-2.8-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.8-build/BUILDROOT/usr/share/licenses/liburing + cp -pr /builddir/build/BUILD/liburing-2.8-build/liburing-2.8/COPYING /builddir/build/BUILD/liburing-2.8-build/BUILDROOT/usr/share/licenses/liburing + RPM_EC=0 ++ jobs -p + exit 0 Provides: liburing = 2.8-1.fc42 liburing(x86-64) = 2.8-1.fc42 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-ffi.so.2(LIBURING_2.7)(64bit) liburing-ffi.so.2(LIBURING_2.8)(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) liburing.so.2(LIBURING_2.7)(64bit) liburing.so.2(LIBURING_2.8)(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.8-1.fc42.x86_64 Provides: liburing-devel = 2.8-1.fc42 liburing-devel(x86-64) = 2.8-1.fc42 pkgconfig(liburing) = 2.8 pkgconfig(liburing-ffi) = 2.8 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.8-1.fc42.x86_64 Provides: liburing-debugsource = 2.8-1.fc42 liburing-debugsource(x86-64) = 2.8-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: liburing-debuginfo-2.8-1.fc42.x86_64 Provides: debuginfo(build-id) = 3481b9f7e42873d8659070d0d0f699efda218347 debuginfo(build-id) = cb2c25356161a371c3a8948abe0c87523d9c8e07 liburing-debuginfo = 2.8-1.fc42 liburing-debuginfo(x86-64) = 2.8-1.fc42 liburing-ffi.so.2.8-2.8-1.fc42.x86_64.debug()(64bit) liburing.so.2.8-2.8-1.fc42.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.8-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/liburing-2.8-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' 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\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 01:50:14 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*" Looking for shell scripts... done >>> 2024-11-13 01:50:15 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log" >>> 2024-11-13 01:50:17 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-11-13 01:50:18 cat '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-13 01:50:18 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-13 01:50:18 cd /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-13 01:50:18 csgrep --mode=json '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-13 01:50:18 scan.ini: exit-code = 0 >>> 2024-11-13 01:50:18 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan.ini' '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/uni-results'/* > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/scan-results-all.js' >>> 2024-11-13 01:50:18 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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/csmockznvc01o7/liburing-2.8-1.fc42/debug/scan-results-all.js' >'/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-13 01:50:19 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-11-13 01:50:21 cat '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/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/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.js' >>> 2024-11-13 01:50:21 cat '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.js' - | cssort > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results.js' >>> 2024-11-13 01:50:21 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results.js' > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results.err' >>> 2024-11-13 01:50:21 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results.html' >>> 2024-11-13 01:50:21 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-13 01:50:21 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.js' > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.err' >>> 2024-11-13 01:50:21 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.js' | cshtml - > '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.html' >>> 2024-11-13 01:50:21 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results.js' | tee '/tmp/csmockznvc01o7/liburing-2.8-1.fc42/scan-results-summary.txt' 1 COMPILER_WARNING warning[-Wstringop-overflow=] 2 CPPCHECK_WARNING error[memleak] 1 CPPCHECK_WARNING error[nullPointer] 1 CPPCHECK_WARNING error[uninitvar] 2 CPPCHECK_WARNING error[va_end_missing] 3 CPPCHECK_WARNING warning[uninitvar] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-double-free] 63 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-after-close] 8 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] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 8 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] 5 GCC_ANALYZER_WARNING warning[-Wanalyzer-unsafe-call-within-signal-handler] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-after-free] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-va-list-leak] <<< 2024-11-13 01:50:21 csmock exit code: 0