Task #1286 - stdout.log

back to task #1286
download
COMMAND: koji -p koji download-build --noprogress --arch=src tpm2-tools-5.7-1.fc41
-------------------------------------------------------------------------------
Downloading [1/1]: tpm2-tools-5.7-1.fc41.src.rpm
COMMAND: su - csmock --session-command 'cd /tmp/tmprtjgc5j0 && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmprtjgc5j0/tpm2-tools-5.7-1.fc41.tar.xz --gcc-analyze /tmp/tmprtjgc5j0/tpm2-tools-5.7-1.fc41.src.rpm'
-------------------------------------------------------------------------------
scan.ini: [scan]
scan.ini: tool = csmock
scan.ini: tool-version = csmock-3.5.3-1.el9
scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmprtjgc5j0/tpm2-tools-5.7-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmprtjgc5j0/tpm2-tools-5.7-1.fc41.src.rpm'
scan.ini: host = ip-172-16-1-54.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmprtjgc5j0/tpm2-tools-5.7-1.fc41.tar.xz
scan.ini: time-created = 2024-07-03 18:20:37
scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck
scan.ini: mock-config = fedora-41-x86_64
scan.ini: project-name = tpm2-tools-5.7-1.fc41
>>> 2024-07-03 18:20:37	"rpm -qa | sort -V > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/rpm-list-host.txt'"

>>> 2024-07-03 18:20:38	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init"
INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Mock Version: 5.6
INFO: Mock Version: 5.6
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Finish: run

>>> 2024-07-03 18:20:40	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41.src.rpm"
Updating and loading repositories:
 fedora                                 100% |   1.2 MiB/s |  24.8 KiB |  00m00s
Repositories loaded.
Package                 Arch   Version              Repository      Size
Installing:
 autoconf-archive       noarch 2023.02.20-5.fc40    fedora       2.3 MiB
 gcc-c++                x86_64 14.1.1-6.fc41        fedora      38.1 MiB
 libcmocka-devel        x86_64 1.1.7-4.fc40         fedora      84.8 KiB
 libcurl-devel          x86_64 8.8.0-1.fc41         fedora       1.2 MiB
 libtool                x86_64 2.4.7-11.fc41        fedora       2.6 MiB
 libuuid-devel          x86_64 2.40.1-2.fc41        fedora      40.9 KiB
 make                   x86_64 1:4.4.1-6.fc40       fedora       1.8 MiB
 openssl-devel          x86_64 1:3.2.2-3.fc41       fedora       4.3 MiB
 pandoc                 x86_64 3.1.3-29.fc41        fedora     190.2 MiB
 tpm2-tss-devel         x86_64 4.1.3-1.fc41         fedora     660.7 KiB
Installing dependencies:
 annobin-docs           noarch 12.60-1.fc41         fedora      96.2 KiB
 annobin-plugin-gcc     x86_64 12.60-1.fc41         fedora     976.2 KiB
 autoconf               noarch 2.72-2.fc41          fedora       2.8 MiB
 automake               noarch 1.16.5-16.fc40       fedora       1.7 MiB
 cmake-filesystem       x86_64 3.28.3-6.fc41        fedora       0.0   B
 cpp                    x86_64 14.1.1-6.fc41        fedora      35.0 MiB
 emacs-filesystem       noarch 1:30.0-2.fc41        fedora       0.0   B
 gc                     x86_64 8.2.2-6.fc40         fedora     258.7 KiB
 gcc                    x86_64 14.1.1-6.fc41        fedora     104.1 MiB
 gcc-plugin-annobin     x86_64 14.1.1-6.fc41        fedora      57.1 KiB
 glibc-devel            x86_64 2.39.9000-26.fc41    fedora      36.8 KiB
 glibc-headers-x86      noarch 2.39.9000-26.fc41    fedora       2.2 MiB
 groff-base             x86_64 1.23.0-6.fc40        fedora       3.8 MiB
 guile30                x86_64 3.0.9-1.fc41         fedora      52.7 MiB
 json-c                 x86_64 0.17-3.fc40          fedora      82.4 KiB
 json-c-devel           x86_64 0.17-3.fc40          fedora     151.1 KiB
 kernel-headers         x86_64 6.10.0-0.rc6.50.fc41 fedora       6.3 MiB
 libcmocka              x86_64 1.1.7-4.fc40         fedora      69.0 KiB
 libmpc                 x86_64 1.3.1-5.fc40         fedora     164.7 KiB
 libstdc++-devel        x86_64 14.1.1-6.fc41        fedora      15.4 MiB
 libxcrypt-devel        x86_64 4.4.36-5.fc40        fedora      30.3 KiB
 libyaml                x86_64 0.2.5-14.fc40        fedora     130.4 KiB
 m4                     x86_64 1.4.19-9.fc40        fedora     588.9 KiB
 ncurses                x86_64 6.4-12.20240127.fc40 fedora     621.0 KiB
 pandoc-common          noarch 3.1.3-29.fc41        fedora       1.9 MiB
 perl-AutoLoader        noarch 5.74-509.fc41        fedora      20.5 KiB
 perl-B                 x86_64 1.89-509.fc41        fedora     494.0 KiB
 perl-Carp              noarch 1.54-510.fc41        fedora      46.5 KiB
 perl-Class-Struct      noarch 0.68-509.fc41        fedora      25.4 KiB
 perl-Data-Dumper       x86_64 2.189-511.fc41       fedora     111.7 KiB
 perl-Digest            noarch 1.20-510.fc41        fedora      35.2 KiB
 perl-Digest-MD5        x86_64 2.59-4.fc41          fedora      59.7 KiB
 perl-DynaLoader        x86_64 1.56-509.fc41        fedora      32.1 KiB
 perl-Encode            x86_64 4:3.21-510.fc41      fedora       4.7 MiB
 perl-Errno             x86_64 1.38-509.fc41        fedora       8.4 KiB
 perl-Exporter          noarch 5.78-510.fc41        fedora      54.2 KiB
 perl-Fcntl             x86_64 1.18-509.fc41        fedora      45.0 KiB
 perl-File-Basename     noarch 2.86-509.fc41        fedora      14.0 KiB
 perl-File-Compare      noarch 1.100.800-509.fc41   fedora       5.6 KiB
 perl-File-Copy         noarch 2.41-509.fc41        fedora      19.6 KiB
 perl-File-Find         noarch 1.44-509.fc41        fedora      41.9 KiB
 perl-File-Path         noarch 2.18-510.fc41        fedora      63.5 KiB
 perl-File-Temp         noarch 1:0.231.100-510.fc41 fedora     162.3 KiB
 perl-File-stat         noarch 1.14-509.fc41        fedora      12.5 KiB
 perl-FileHandle        noarch 2.05-509.fc41        fedora       9.3 KiB
 perl-Getopt-Long       noarch 1:2.58-1.fc41        fedora     144.4 KiB
 perl-Getopt-Std        noarch 1.14-509.fc41        fedora      11.2 KiB
 perl-HTTP-Tiny         noarch 0.088-511.fc41       fedora     152.1 KiB
 perl-IO                x86_64 1.55-509.fc41        fedora     151.1 KiB
 perl-IO-Socket-IP      noarch 0.42-511.fc41        fedora      98.6 KiB
 perl-IO-Socket-SSL     noarch 2.085-1.fc40         fedora     685.0 KiB
 perl-IPC-Open3         noarch 1.22-509.fc41        fedora      22.5 KiB
 perl-MIME-Base64       x86_64 3.16-510.fc41        fedora      46.1 KiB
 perl-Mozilla-CA        noarch 20240313-1.fc41      fedora       9.5 KiB
 perl-Net-SSLeay        x86_64 1.94-4.fc41          fedora       1.3 MiB
 perl-POSIX             x86_64 2.20-509.fc41        fedora     235.1 KiB
 perl-PathTools         x86_64 3.91-510.fc41        fedora     179.6 KiB
 perl-Pod-Escapes       noarch 1:1.07-510.fc41      fedora      24.9 KiB
 perl-Pod-Perldoc       noarch 3.28.01-511.fc41     fedora     163.1 KiB
 perl-Pod-Simple        noarch 1:3.45-510.fc41      fedora     559.8 KiB
 perl-Pod-Usage         noarch 4:2.03-510.fc41      fedora      84.7 KiB
 perl-Scalar-List-Utils x86_64 5:1.63-510.fc41      fedora     145.5 KiB
 perl-SelectSaver       noarch 1.02-509.fc41        fedora       2.2 KiB
 perl-Socket            x86_64 4:2.038-510.fc41     fedora     124.0 KiB
 perl-Storable          x86_64 1:3.32-510.fc41      fedora     232.3 KiB
 perl-Symbol            noarch 1.09-509.fc41        fedora       6.8 KiB
 perl-Term-ANSIColor    noarch 5.01-511.fc41        fedora      97.5 KiB
 perl-Term-Cap          noarch 1.18-510.fc41        fedora      29.3 KiB
 perl-Text-ParseWords   noarch 3.31-510.fc41        fedora      13.5 KiB
 perl-Text-Tabs+Wrap    noarch 2024.001-510.fc41    fedora      22.5 KiB
 perl-Thread-Queue      noarch 3.14-510.fc41        fedora      28.8 KiB
 perl-Time-Local        noarch 2:1.350-510.fc41     fedora      68.9 KiB
 perl-URI               noarch 5.28-1.fc41          fedora     240.2 KiB
 perl-base              noarch 2.27-509.fc41        fedora      12.5 KiB
 perl-constant          noarch 1.33-511.fc41        fedora      26.2 KiB
 perl-if                noarch 0.61.000-509.fc41    fedora       5.8 KiB
 perl-interpreter       x86_64 4:5.40.0-509.fc41    fedora     122.3 KiB
 perl-libnet            noarch 3.15-511.fc41        fedora     289.0 KiB
 perl-libs              x86_64 4:5.40.0-509.fc41    fedora       9.8 MiB
 perl-locale            noarch 1.12-509.fc41        fedora       6.5 KiB
 perl-mro               x86_64 1.29-509.fc41        fedora      45.6 KiB
 perl-overload          noarch 1.37-509.fc41        fedora      71.5 KiB
 perl-overloading       noarch 0.02-509.fc41        fedora       4.8 KiB
 perl-parent            noarch 1:0.241-510.fc41     fedora       9.7 KiB
 perl-podlators         noarch 1:5.01-510.fc41      fedora     308.1 KiB
 perl-threads           x86_64 1:2.40-510.fc41      fedora     115.1 KiB
 perl-threads-shared    x86_64 1.69-510.fc41        fedora      83.7 KiB
 perl-vars              noarch 1.05-509.fc41        fedora       3.9 KiB
 tpm2-tss               x86_64 4.1.3-1.fc41         fedora       1.5 MiB
 tpm2-tss-fapi          x86_64 4.1.3-1.fc41         fedora     866.1 KiB

Transaction Summary:
 Installing:      100 packages

Total size of inbound packages is 121 MiB. Need to download 0 B.
After this operation 495 MiB will be used (install 495 MiB, remove 0 B).
[  1/100] autoconf-archive-0:2023.02.20 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  2/100] libtool-0:2.4.7-11.fc41.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  3/100] make-1:4.4.1-6.fc40.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  4/100] pandoc-0:3.1.3-29.fc41.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  5/100] gcc-c++-0:14.1.1-6.fc41.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  6/100] libcmocka-devel-0:1.1.7-4.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  7/100] libcurl-devel-0:8.8.0-1.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  8/100] openssl-devel-1:3.2.2-3.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[  9/100] tpm2-tss-devel-0:4.1.3-1.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 10/100] libuuid-devel-0:2.40.1-2.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 11/100] autoconf-0:2.72-2.fc41.noarch 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 12/100] automake-0:1.16.5-16.fc40.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 13/100] gcc-0:14.1.1-6.fc41.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 14/100] guile30-0:3.0.9-1.fc41.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 15/100] libyaml-0:0.2.5-14.fc40.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 16/100] pandoc-common-0:3.1.3-29.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 17/100] libmpc-0:1.3.1-5.fc40.x86_64  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 18/100] cmake-filesystem-0:3.28.3-6.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 19/100] libcmocka-0:1.1.7-4.fc40.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 20/100] tpm2-tss-0:4.1.3-1.fc41.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 21/100] tpm2-tss-fapi-0:4.1.3-1.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 22/100] emacs-filesystem-1:30.0-2.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 23/100] m4-0:1.4.19-9.fc40.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 24/100] perl-Carp-0:1.54-510.fc41.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 25/100] perl-Class-Struct-0:0.68-509. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 26/100] perl-Data-Dumper-0:2.189-511. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 27/100] perl-Errno-0:1.38-509.fc41.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 28/100] perl-Exporter-0:5.78-510.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 29/100] perl-File-Basename-0:2.86-509 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 30/100] perl-File-Compare-0:1.100.800 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 31/100] perl-File-Copy-0:2.41-509.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 32/100] perl-File-Find-0:1.44-509.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 33/100] perl-File-Temp-1:0.231.100-51 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 34/100] perl-File-stat-0:1.14-509.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 35/100] perl-Getopt-Long-1:2.58-1.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 36/100] perl-IO-0:1.55-509.fc41.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 37/100] perl-POSIX-0:2.20-509.fc41.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 38/100] perl-PathTools-0:3.91-510.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 39/100] perl-Text-ParseWords-0:3.31-5 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 40/100] perl-constant-0:1.33-511.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 41/100] perl-interpreter-4:5.40.0-509 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 42/100] perl-File-Path-0:2.18-510.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 43/100] perl-Thread-Queue-0:3.14-510. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 44/100] perl-threads-1:2.40-510.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 45/100] cpp-0:14.1.1-6.fc41.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 46/100] gc-0:8.2.2-6.fc40.x86_64      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 47/100] json-c-0:0.17-3.fc40.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 48/100] perl-B-0:1.89-509.fc41.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 49/100] perl-Scalar-List-Utils-5:1.63 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 50/100] perl-libs-4:5.40.0-509.fc41.x 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 51/100] perl-overload-0:1.37-509.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 52/100] perl-Fcntl-0:1.18-509.fc41.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 53/100] perl-parent-1:0.241-510.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 54/100] perl-Symbol-0:1.09-509.fc41.n 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 55/100] perl-Pod-Usage-4:2.03-510.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 56/100] perl-base-0:2.27-509.fc41.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 57/100] perl-SelectSaver-0:1.02-509.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 58/100] perl-Socket-4:2.038-510.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 59/100] perl-locale-0:1.12-509.fc41.n 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 60/100] perl-vars-0:1.05-509.fc41.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 61/100] perl-threads-shared-0:1.69-51 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 62/100] perl-if-0:0.61.000-509.fc41.n 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 63/100] perl-overloading-0:0.02-509.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 64/100] perl-DynaLoader-0:1.56-509.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 65/100] perl-mro-0:1.29-509.fc41.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 66/100] perl-Pod-Perldoc-0:3.28.01-51 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 67/100] perl-podlators-1:5.01-510.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 68/100] groff-base-0:1.23.0-6.fc40.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 69/100] perl-HTTP-Tiny-0:0.088-511.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 70/100] perl-IPC-Open3-0:1.22-509.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 71/100] perl-Pod-Simple-1:3.45-510.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 72/100] perl-Term-ANSIColor-0:5.01-51 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 73/100] perl-Term-Cap-0:1.18-510.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 74/100] perl-IO-Socket-SSL-0:2.085-1. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 75/100] perl-MIME-Base64-0:3.16-510.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 76/100] perl-Mozilla-CA-0:20240313-1. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 77/100] perl-Net-SSLeay-0:1.94-4.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 78/100] perl-Time-Local-2:1.350-510.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 79/100] perl-Pod-Escapes-1:1.07-510.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 80/100] perl-Text-Tabs+Wrap-0:2024.00 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 81/100] ncurses-0:6.4-12.20240127.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 82/100] perl-IO-Socket-IP-0:0.42-511. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 83/100] perl-URI-0:5.28-1.fc41.noarch 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 84/100] perl-AutoLoader-0:5.74-509.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 85/100] perl-libnet-0:3.15-511.fc41.n 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 86/100] perl-Digest-MD5-0:2.59-4.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 87/100] perl-FileHandle-0:2.05-509.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 88/100] perl-Digest-0:1.20-510.fc41.n 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 89/100] annobin-plugin-gcc-0:12.60-1. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 90/100] gcc-plugin-annobin-0:14.1.1-6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 91/100] annobin-docs-0:12.60-1.fc41.n 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 92/100] json-c-devel-0:0.17-3.fc40.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 93/100] perl-Encode-4:3.21-510.fc41.x 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 94/100] perl-Getopt-Std-0:1.14-509.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 95/100] perl-Storable-1:3.32-510.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 96/100] libstdc++-devel-0:14.1.1-6.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 97/100] glibc-devel-0:2.39.9000-26.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 98/100] glibc-headers-x86-0:2.39.9000 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 99/100] libxcrypt-devel-0:4.4.36-5.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[100/100] kernel-headers-0:6.10.0-0.rc6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[100/100] Total                         100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[  1/102] Verify package files          100% | 230.0   B/s | 100.0   B |  00m00s
[  2/102] Prepare transaction           100% |   1.2 KiB/s | 100.0   B |  00m00s
[  3/102] Installing json-c-0:0.17-3.fc 100% |  10.2 MiB/s |  83.6 KiB |  00m00s
[  4/102] Installing libmpc-0:1.3.1-5.f 100% |   3.6 MiB/s | 166.2 KiB |  00m00s
>>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64
>>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64
[  5/102] Installing tpm2-tss-0:4.1.3-1 100% | 111.0 MiB/s |   1.6 MiB |  00m00s
[  6/102] Installing cmake-filesystem-0 100% |   1.2 MiB/s |   7.1 KiB |  00m00s
[  7/102] Installing json-c-devel-0:0.1 100% |  30.3 MiB/s | 155.3 KiB |  00m00s
[  8/102] Installing tpm2-tss-fapi-0:4. 100% | 105.8 MiB/s | 867.1 KiB |  00m00s
[  9/102] Installing cpp-0:14.1.1-6.fc4 100% | 286.9 MiB/s |  35.0 MiB |  00m00s
[ 10/102] Installing kernel-headers-0:6 100% | 102.4 MiB/s |   6.4 MiB |  00m00s
[ 11/102] Installing glibc-headers-x86- 100% |  81.6 MiB/s |   2.3 MiB |  00m00s
[ 12/102] Installing libxcrypt-devel-0: 100% |   6.4 MiB/s |  32.6 KiB |  00m00s
[ 13/102] Installing glibc-devel-0:2.39 100% |   5.7 MiB/s |  40.5 KiB |  00m00s
[ 14/102] Installing libstdc++-devel-0: 100% | 207.3 MiB/s |  15.6 MiB |  00m00s
[ 15/102] Installing annobin-docs-0:12. 100% |  23.8 MiB/s |  97.4 KiB |  00m00s
[ 16/102] Installing ncurses-0:6.4-12.2 100% |  40.9 MiB/s | 627.6 KiB |  00m00s
>>> Running pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64
>>> Stop pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64
[ 17/102] Installing groff-base-0:1.23. 100% | 116.9 MiB/s |   3.9 MiB |  00m00s
>>> Running post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64
>>> Stop post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64
[ 18/102] Installing perl-Digest-0:1.20 100% |   9.0 MiB/s |  37.0 KiB |  00m00s
[ 19/102] Installing perl-B-0:1.89-509. 100% |  69.4 MiB/s | 497.2 KiB |  00m00s
[ 20/102] Installing perl-FileHandle-0: 100% |   3.2 MiB/s |   9.8 KiB |  00m00s
[ 21/102] Installing perl-Digest-MD5-0: 100% |  15.0 MiB/s |  61.6 KiB |  00m00s
[ 22/102] Installing perl-Data-Dumper-0 100% |  15.8 MiB/s | 113.6 KiB |  00m00s
[ 23/102] Installing perl-libnet-0:3.15 100% |  47.9 MiB/s | 294.3 KiB |  00m00s
[ 24/102] Installing perl-IO-Socket-IP- 100% |  14.0 MiB/s | 100.4 KiB |  00m00s
[ 25/102] Installing perl-AutoLoader-0: 100% |   6.8 MiB/s |  20.9 KiB |  00m00s
[ 26/102] Installing perl-URI-0:5.28-1. 100% |  24.6 MiB/s | 251.8 KiB |  00m00s
[ 27/102] Installing perl-locale-0:1.12 100% |   2.2 MiB/s |   6.9 KiB |  00m00s
[ 28/102] Installing perl-File-Path-0:2 100% |  21.0 MiB/s |  64.5 KiB |  00m00s
[ 29/102] Installing perl-if-0:0.61.000 100% |   2.0 MiB/s |   6.2 KiB |  00m00s
[ 30/102] Installing perl-Mozilla-CA-0: 100% |   2.6 MiB/s |  10.5 KiB |  00m00s
[ 31/102] Installing perl-Time-Local-2: 100% |  17.2 MiB/s |  70.5 KiB |  00m00s
[ 32/102] Installing perl-Pod-Escapes-1 100% |   8.4 MiB/s |  25.9 KiB |  00m00s
[ 33/102] Installing perl-Text-Tabs+Wra 100% |   4.7 MiB/s |  23.8 KiB |  00m00s
[ 34/102] Installing perl-Net-SSLeay-0: 100% |  97.3 MiB/s |   1.4 MiB |  00m00s
[ 35/102] Installing perl-IO-Socket-SSL 100% |  84.1 MiB/s | 689.0 KiB |  00m00s
[ 36/102] Installing perl-Class-Struct- 100% |   8.4 MiB/s |  25.9 KiB |  00m00s
[ 37/102] Installing perl-POSIX-0:2.20- 100% |  38.5 MiB/s | 236.4 KiB |  00m00s
[ 38/102] Installing perl-File-Temp-1:0 100% |  40.0 MiB/s | 164.0 KiB |  00m00s
[ 39/102] Installing perl-IPC-Open3-0:1 100% |   7.6 MiB/s |  23.3 KiB |  00m00s
[ 40/102] Installing perl-Term-ANSIColo 100% |  13.8 MiB/s |  99.1 KiB |  00m00s
[ 41/102] Installing perl-Term-Cap-0:1. 100% |   7.5 MiB/s |  30.5 KiB |  00m00s
[ 42/102] Installing perl-Pod-Simple-1: 100% |  69.5 MiB/s | 569.4 KiB |  00m00s
[ 43/102] Installing perl-HTTP-Tiny-0:0 100% |  25.1 MiB/s | 154.2 KiB |  00m00s
[ 44/102] Installing perl-Symbol-0:1.09 100% |   2.3 MiB/s |   7.2 KiB |  00m00s
[ 45/102] Installing perl-SelectSaver-0 100% | 859.4 KiB/s |   2.6 KiB |  00m00s
[ 46/102] Installing perl-Socket-4:2.03 100% |  17.6 MiB/s | 126.0 KiB |  00m00s
[ 47/102] Installing perl-File-stat-0:1 100% |   2.5 MiB/s |  13.1 KiB |  00m00s
[ 48/102] Installing perl-podlators-1:5 100% |  38.1 MiB/s | 312.1 KiB |  00m00s
[ 49/102] Installing perl-Pod-Perldoc-0 100% |  27.4 MiB/s | 168.6 KiB |  00m00s
[ 50/102] Installing perl-Text-ParseWor 100% |   4.7 MiB/s |  14.5 KiB |  00m00s
[ 51/102] Installing perl-Fcntl-0:1.18- 100% |   9.0 MiB/s |  46.1 KiB |  00m00s
[ 52/102] Installing perl-base-0:2.27-5 100% |   3.2 MiB/s |  12.9 KiB |  00m00s
[ 53/102] Installing perl-overloading-0 100% |   1.8 MiB/s |   5.5 KiB |  00m00s
[ 54/102] Installing perl-IO-0:1.55-509 100% |  19.0 MiB/s | 155.4 KiB |  00m00s
[ 55/102] Installing perl-mro-0:1.29-50 100% |  15.2 MiB/s |  46.7 KiB |  00m00s
[ 56/102] Installing perl-Pod-Usage-4:2 100% |  16.8 MiB/s |  86.3 KiB |  00m00s
[ 57/102] Installing perl-Errno-0:1.38- 100% |   1.7 MiB/s |   8.8 KiB |  00m00s
[ 58/102] Installing perl-File-Basename 100% |   4.7 MiB/s |  14.6 KiB |  00m00s
[ 59/102] Installing perl-constant-0:1. 100% |   8.9 MiB/s |  27.4 KiB |  00m00s
[ 60/102] Installing perl-Scalar-List-U 100% |  29.0 MiB/s | 148.7 KiB |  00m00s
[ 61/102] Installing perl-parent-1:0.24 100% |   3.4 MiB/s |  10.4 KiB |  00m00s
[ 62/102] Installing perl-vars-0:1.05-5 100% |   2.1 MiB/s |   4.3 KiB |  00m00s
[ 63/102] Installing perl-overload-0:1. 100% |  17.6 MiB/s |  71.9 KiB |  00m00s
[ 64/102] Installing perl-MIME-Base64-0 100% |  11.8 MiB/s |  48.3 KiB |  00m00s
[ 65/102] Installing perl-Getopt-Std-0: 100% |   3.8 MiB/s |  11.7 KiB |  00m00s
[ 66/102] Installing perl-Getopt-Long-1 100% |  28.7 MiB/s | 147.1 KiB |  00m00s
[ 67/102] Installing perl-Storable-1:3. 100% |  57.1 MiB/s | 233.9 KiB |  00m00s
[ 68/102] Installing perl-Exporter-0:5. 100% |  13.6 MiB/s |  55.6 KiB |  00m00s
[ 69/102] Installing perl-PathTools-0:3 100% |  30.0 MiB/s | 184.2 KiB |  00m00s
[ 70/102] Installing perl-DynaLoader-0: 100% |  10.6 MiB/s |  32.5 KiB |  00m00s
[ 71/102] Installing perl-Encode-4:3.21 100% | 235.9 MiB/s |   4.7 MiB |  00m00s
[ 72/102] Installing perl-Carp-0:1.54-5 100% |   9.3 MiB/s |  47.7 KiB |  00m00s
[ 73/102] Installing perl-libs-4:5.40.0 100% | 168.5 MiB/s |   9.9 MiB |  00m00s
[ 74/102] Installing perl-interpreter-4 100% |  30.3 MiB/s | 124.0 KiB |  00m00s
[ 75/102] Installing perl-threads-1:2.4 100% |  19.1 MiB/s | 117.1 KiB |  00m00s
[ 76/102] Installing perl-threads-share 100% |  16.8 MiB/s |  85.9 KiB |  00m00s
[ 77/102] Installing perl-Thread-Queue- 100% |   7.4 MiB/s |  30.3 KiB |  00m00s
[ 78/102] Installing perl-File-Compare- 100% |   3.0 MiB/s |   6.1 KiB |  00m00s
[ 79/102] Installing perl-File-Copy-0:2 100% |   9.8 MiB/s |  20.2 KiB |  00m00s
[ 80/102] Installing perl-File-Find-0:1 100% |  13.8 MiB/s |  42.5 KiB |  00m00s
[ 81/102] Installing gc-0:8.2.2-6.fc40. 100% |  31.9 MiB/s | 261.2 KiB |  00m00s
[ 82/102] Installing guile30-0:3.0.9-1. 100% | 323.9 MiB/s |  52.8 MiB |  00m00s
[ 83/102] Installing make-1:4.4.1-6.fc4 100% | 138.5 MiB/s |   1.8 MiB |  00m00s
[ 84/102] Installing gcc-0:14.1.1-6.fc4 100% | 329.6 MiB/s | 104.2 MiB |  00m00s
>>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch
>>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch
[ 85/102] Installing m4-0:1.4.19-9.fc40 100% |  20.0 MiB/s | 595.2 KiB |  00m00s
[ 86/102] Installing emacs-filesystem-1 100% |  75.9 KiB/s | 544.0   B |  00m00s
[ 87/102] Installing autoconf-0:2.72-2. 100% | 174.9 MiB/s |   2.8 MiB |  00m00s
[ 88/102] Installing automake-0:1.16.5- 100% | 110.1 MiB/s |   1.8 MiB |  00m00s
[ 89/102] Installing libcmocka-0:1.1.7- 100% |  11.5 MiB/s |  70.7 KiB |  00m00s
[ 90/102] Installing pandoc-common-0:3. 100% |  96.5 MiB/s |   1.9 MiB |  00m00s
[ 91/102] Installing libyaml-0:0.2.5-14 100% |  25.7 MiB/s | 131.8 KiB |  00m00s
[ 92/102] Installing libuuid-devel-0:2. 100% |   3.3 MiB/s |  43.8 KiB |  00m00s
[ 93/102] Installing openssl-devel-1:3. 100% |  27.9 MiB/s |   5.2 MiB |  00m00s
[ 94/102] Installing libcurl-devel-0:8. 100% |  39.3 MiB/s |   1.3 MiB |  00m00s
[ 95/102] Installing tpm2-tss-devel-0:4 100% |  45.2 MiB/s | 694.5 KiB |  00m00s
[ 96/102] Installing pandoc-0:3.1.3-29. 100% | 485.3 MiB/s | 190.2 MiB |  00m00s
[ 97/102] Installing libcmocka-devel-0: 100% |  21.1 MiB/s |  86.4 KiB |  00m00s
[ 98/102] Installing libtool-0:2.4.7-11 100% | 189.5 MiB/s |   2.7 MiB |  00m00s
[ 99/102] Installing autoconf-archive-0 100% |  75.1 MiB/s |   2.4 MiB |  00m00s
[100/102] Installing gcc-c++-0:14.1.1-6 100% | 312.8 MiB/s |  38.2 MiB |  00m00s
[101/102] Installing annobin-plugin-gcc 100% |  59.7 MiB/s | 977.9 KiB |  00m00s
>>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch
>>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
[102/102] Installing gcc-plugin-annobin 100% |  12.4 KiB/s |  58.6 KiB |  00m05s
>>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch
>>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch
>>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64
>>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64
>>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64

>>> 2024-07-03 18:20:50	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
 fedora                                 100% |   1.2 MiB/s |  24.8 KiB |  00m00s
Repositories loaded.
Package "tar-2:1.35-3.fc40.x86_64" is already installed.
Package "gcc-14.1.1-6.fc41.x86_64" is already installed.

Package                    Arch   Version                 Repository      Size
Installing:
 ShellCheck                x86_64 0.10.0-1.fc41           fedora      33.9 MiB
 clang                     x86_64 18.1.7-1.fc41           fedora     587.7 KiB
 cppcheck                  x86_64 2.14.2-1.fc41           fedora      10.1 MiB
Installing dependencies:
 clang-libs                x86_64 18.1.7-1.fc41           fedora     107.8 MiB
 clang-resource-filesystem noarch 18.1.7-1.fc41           fedora     522.0   B
 expat                     x86_64 2.6.2-1.fc41            fedora     280.8 KiB
 libb2                     x86_64 0.98.1-11.fc40          fedora      42.2 KiB
 libedit                   x86_64 3.1-51.20240517cvs.fc41 fedora     243.9 KiB
 llvm-libs                 x86_64 18.1.7-1.fc41           fedora     113.5 MiB
 mpdecimal                 x86_64 2.5.1-9.fc40            fedora     200.9 KiB
 pcre                      x86_64 8.45-1.fc40.6           fedora     541.8 KiB
 python-pip-wheel          noarch 24.1.1-1.fc41           fedora       1.2 MiB
 python3                   x86_64 3.13.0~b3-1.fc41        fedora      31.8 KiB
 python3-libs              x86_64 3.13.0~b3-1.fc41        fedora      40.5 MiB
 tinyxml2                  x86_64 9.0.0-4.fc40            fedora     103.8 KiB
 tzdata                    noarch 2024a-8.fc41            fedora       1.7 MiB

Transaction Summary:
 Installing:       16 packages

Total size of inbound packages is 70 MiB. Need to download 0 B.
After this operation 311 MiB will be used (install 311 MiB, remove 0 B).
[ 1/16] cppcheck-0:2.14.2-1.fc41.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 2/16] ShellCheck-0:0.10.0-1.fc41.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 3/16] clang-0:18.1.7-1.fc41.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 4/16] pcre-0:8.45-1.fc40.6.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 5/16] tinyxml2-0:9.0.0-4.fc40.x86_64  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 6/16] clang-libs-0:18.1.7-1.fc41.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 7/16] llvm-libs-0:18.1.7-1.fc41.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 8/16] clang-resource-filesystem-0:18. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 9/16] libedit-0:3.1-51.20240517cvs.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[10/16] python3-0:3.13.0~b3-1.fc41.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[11/16] python3-libs-0:3.13.0~b3-1.fc41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[12/16] expat-0:2.6.2-1.fc41.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[13/16] libb2-0:0.98.1-11.fc40.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[14/16] mpdecimal-0:2.5.1-9.fc40.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[15/16] python-pip-wheel-0:24.1.1-1.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[16/16] tzdata-0:2024a-8.fc41.noarch    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[16/16] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/18] Verify package files            100% |  68.0   B/s |  16.0   B |  00m00s
[ 2/18] Prepare transaction             100% | 410.0   B/s |  16.0   B |  00m00s
[ 3/18] Installing tzdata-0:2024a-8.fc4 100% |  29.4 MiB/s |   1.9 MiB |  00m00s
[ 4/18] Installing python-pip-wheel-0:2 100% | 208.3 MiB/s |   1.2 MiB |  00m00s
[ 5/18] Installing mpdecimal-0:2.5.1-9. 100% |  39.5 MiB/s | 202.0 KiB |  00m00s
[ 6/18] Installing libb2-0:0.98.1-11.fc 100% |   8.5 MiB/s |  43.3 KiB |  00m00s
[ 7/18] Installing expat-0:2.6.2-1.fc41 100% |  23.0 MiB/s | 282.9 KiB |  00m00s
[ 8/18] Installing python3-libs-0:3.13. 100% | 209.4 MiB/s |  40.8 MiB |  00m00s
[ 9/18] Installing python3-0:3.13.0~b3- 100% |   6.6 MiB/s |  33.6 KiB |  00m00s
[10/18] Installing libedit-0:3.1-51.202 100% |  40.0 MiB/s | 245.6 KiB |  00m00s
[11/18] Installing llvm-libs-0:18.1.7-1 100% | 342.8 MiB/s | 113.5 MiB |  00m00s
[12/18] Installing clang-resource-files 100% | 391.6 KiB/s |   1.6 KiB |  00m00s
[13/18] Installing clang-libs-0:18.1.7- 100% | 365.5 MiB/s | 107.8 MiB |  00m00s
[14/18] Installing tinyxml2-0:9.0.0-4.f 100% |  25.6 MiB/s | 104.9 KiB |  00m00s
[15/18] Installing pcre-0:8.45-1.fc40.6 100% |  75.9 MiB/s | 544.1 KiB |  00m00s
[16/18] Installing cppcheck-0:2.14.2-1. 100% | 296.5 MiB/s |  10.1 MiB |  00m00s
[17/18] Installing clang-0:18.1.7-1.fc4 100% |  96.1 MiB/s | 590.4 KiB |  00m00s
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
[18/18] Installing ShellCheck-0:0.10.0- 100% |  24.3 MiB/s |  33.9 MiB |  00m01s
>>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64

>>> 2024-07-03 18:20:55	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/rpm-list-mock.txt"

>>> 2024-07-03 18:20:56	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockez5hsour/rpm-list-mock-provides.txt"

>>> 2024-07-03 18:20:57	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41.src.rpm" "/builddir/tpm2-tools-5.7-1.fc41.src.rpm"

>>> 2024-07-03 18:20:58	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir"

>>> 2024-07-03 18:20:59	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/tpm2-tools-5.7-1.fc41.src.rpm'\""
Updating / installing...
tpm2-tools-5.7-1.fc41                 ########################################

>>> 2024-07-03 18:21:01	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/tpm2-tools.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/tpm2-tools-5.7-1.fc41.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1714262400
Wrote: /builddir/build/SRPMS/tpm2-tools-5.7-1.fc41.src.rpm
renamed 'tpm2-tools-5.7-1.fc41.src.rpm' -> '/builddir/tpm2-tools-5.7-1.fc41.src.rpm'

>>> 2024-07-03 18:21:02	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/tpm2-tools-5.7-1.fc41.src.rpm" "/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41.src.rpm"

>>> 2024-07-03 18:21:03	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41.src.rpm"
Updating and loading repositories:
 fedora                                 100% |   1.1 MiB/s |  24.8 KiB |  00m00s
Repositories loaded.
Package "autoconf-archive-2023.02.20-5.fc40.noarch" is already installed.
Package "gcc-c++-14.1.1-6.fc41.x86_64" is already installed.
Package "libtool-2.4.7-11.fc41.x86_64" is already installed.
Package "make-1:4.4.1-6.fc40.x86_64" is already installed.
Package "pandoc-3.1.3-29.fc41.x86_64" is already installed.
Package "libcmocka-devel-1.1.7-4.fc40.x86_64" is already installed.
Package "libcurl-devel-8.8.0-1.fc41.x86_64" is already installed.
Package "openssl-devel-1:3.2.2-3.fc41.x86_64" is already installed.
Package "tpm2-tss-devel-4.1.3-1.fc41.x86_64" is already installed.
Package "tpm2-tss-devel-4.1.3-1.fc41.x86_64" is already installed.
Package "tpm2-tss-devel-4.1.3-1.fc41.x86_64" is already installed.
Package "libuuid-devel-2.40.1-2.fc41.x86_64" is already installed.

Nothing to do.

>>> 2024-07-03 18:21:05	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
 fedora                                 100% |   1.3 MiB/s |  24.8 KiB |  00m00s
Repositories loaded.
Package "tar-2:1.35-3.fc40.x86_64" is already installed.
Package "clang-18.1.7-1.fc41.x86_64" is already installed.
Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed.
Package "gcc-14.1.1-6.fc41.x86_64" is already installed.
Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed.

Nothing to do.

>>> 2024-07-03 18:21:06	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/rpm-list-mock.txt"

>>> 2024-07-03 18:21:07	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockez5hsour/rpm-list-mock-provides.txt"

>>> 2024-07-03 18:21:08	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff"
Updating and loading repositories:
 fedora                                 100% |   1.3 MiB/s |  24.8 KiB |  00m00s
Repositories loaded.
Package                Arch   Version       Repository      Size
Installing:
 csdiff                x86_64 3.4.0-1.fc41  fedora       3.6 MiB
Installing dependencies:
 boost-atomic          x86_64 1.83.0-7.fc41 fedora      21.0 KiB
 boost-filesystem      x86_64 1.83.0-7.fc41 fedora     147.6 KiB
 boost-program-options x86_64 1.83.0-7.fc41 fedora     272.7 KiB
 boost-system          x86_64 1.83.0-7.fc41 fedora      16.3 KiB

Transaction Summary:
 Installing:        5 packages

Total size of inbound packages is 1 MiB. Need to download 0 B.
After this operation 4 MiB will be used (install 4 MiB, remove 0 B).
[1/5] csdiff-0:3.4.0-1.fc41.x86_64      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[2/5] boost-filesystem-0:1.83.0-7.fc41. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[3/5] boost-program-options-0:1.83.0-7. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[5/5] boost-system-0:1.83.0-7.fc41.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[5/5] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/7] Verify package files              100% |   1.2 KiB/s |   5.0   B |  00m00s
[2/7] Prepare transaction               100% | 238.0   B/s |   5.0   B |  00m00s
[3/7] Installing boost-system-0:1.83.0- 100% |   3.4 MiB/s |  17.3 KiB |  00m00s
[4/7] Installing boost-atomic-0:1.83.0- 100% |   7.2 MiB/s |  22.0 KiB |  00m00s
[5/7] Installing boost-filesystem-0:1.8 100% |  36.3 MiB/s | 148.6 KiB |  00m00s
[6/7] Installing boost-program-options- 100% |  53.5 MiB/s | 273.8 KiB |  00m00s
warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead
[7/7] Installing csdiff-0:3.4.0-1.fc41. 100% |  44.5 MiB/s |   3.7 MiB |  00m00s
>>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64

>>> 2024-07-03 18:21:10	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/rpm-list-mock.txt"

>>> 2024-07-03 18:21:11	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockez5hsour/rpm-list-mock-provides.txt"

>>> 2024-07-03 18:21:13	"tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'"
tar: Removing leading `/' from member names

scan.ini: analyzer-version-clang = 18.1.7
scan.ini: analyzer-version-cppcheck = 2.14.2
scan.ini: analyzer-version-gcc = 14.1.1
>>> 2024-07-03 18:21:15	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\""

scan.ini: analyzer-version-gcc-analyzer = 14.1.1
scan.ini: analyzer-version-shellcheck = 0.10.0
>>> 2024-07-03 18:21:17	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41.src.rpm'"
Updating / installing...
tpm2-tools-5.7-1.fc41                 ########################################

>>> 2024-07-03 18:21:18	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir"

>>> 2024-07-03 18:21:19	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done"
RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh
+ sed -i /usr/include/openssl/e_os2.h -e 's|\(# *if\)def DEBUG_UNUSED|\1 1|'
RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh
+ sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs
'/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true'
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh

>>> 2024-07-03 18:21:20	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/tpm2-tools.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\""
INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/tpm2-tools.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.6
INFO: Mock Version: 5.6
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/tpm2-tools.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/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1714262400
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.gW12No
+ umask 022
+ cd /builddir/build/BUILD/tpm2-tools-5.7-build
+ test -d /builddir/build/BUILD/tpm2-tools-5.7-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/tpm2-tools-5.7-build
+ /usr/bin/rm -rf /builddir/build/BUILD/tpm2-tools-5.7-build
+ /usr/bin/mkdir -p /builddir/build/BUILD/tpm2-tools-5.7-build
+ /usr/bin/mkdir -p /builddir/build/BUILD/tpm2-tools-5.7-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qPhmsh
+ umask 022
+ cd /builddir/build/BUILD/tpm2-tools-5.7-build
+ cd /builddir/build/BUILD/tpm2-tools-5.7-build
+ rm -rf tpm2-tools-5.7
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tpm2-tools-5.7.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tpm2-tools-5.7
+ /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/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run

>>> 2024-07-03 18:21:21	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build"

>>> 2024-07-03 18:21:23	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\""
INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.6
INFO: Mock Version: 5.6
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""']
Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""']
setting SOURCE_DATE_EPOCH=1714262400
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.WHUSxE
+ umask 022
+ cd /builddir/build/BUILD/tpm2-tools-5.7-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 tpm2-tools-5.7
+ 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
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2024-04-26 11:31:43.000000000 +0000
+++ ./configure	2024-07-03 18:21:24.130896435 +0000
@@ -1901,7 +1901,7 @@
 #ifdef __cplusplus
 extern "C"
 #endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
 /* The GNU C library defines this for functions which it implements
     to always fail with ENOSYS.  Some functions are actually named
     something starting with __ and the normal name is an alias.  */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2024-07-03 18:21:24.130896435 +0000
+++ ./configure	2024-07-03 18:21:24.145896244 +0000
@@ -6132,7 +6132,7 @@
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symbols differently,
 # so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="sed -n"\
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 $lt_cdecl_hook\
 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -18297,7 +18297,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --prefix=/usr --disable-static --disable-silent-rules
checking whether to enable debugging... no
checking for x86_64-redhat-linux-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether ln -s works... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 6138:  -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory
ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking whether make supports nested variables... (cached) yes
checking whether to build with code coverage support... no
checking for pandoc... yes
checking for x86_64-redhat-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for tss2-fapi... yes
checking for tss2-fapi >= 3.0... yes
checking for tss2-esys >= 4.0.0... yes
checking for tss2-tctildr... yes
checking for tss2-mu... yes
checking for tss2-rc... yes
checking for tss2-sys... yes
checking for libcrypto >= 1.1.0... yes
checking for EVP_sm3 in -lcrypto... yes
checking for EVP_sm4_cfb128 in -lcrypto... no
checking for libcurl... yes
checking for efivar... no
checking for efivar/efivar.h... no
./configure: line 15049: efivar: command not found
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts -Wextra... yes
checking whether C compiler accepts -Wformat... yes
checking whether C compiler accepts -Wformat-security... yes
checking whether C compiler accepts -Wstack-protector... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether C compiler accepts -Wstrict-overflow=5... yes
checking whether C compiler accepts -O2... yes
checking whether C compiler accepts -Werror... yes
checking whether to add -D_FORTIFY_SOURCE=2 to CPPFLAGS... no
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -shared... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether C compiler accepts -D_GNU_SOURCE... yes
checking whether C compiler accepts -std=gnu99... yes
checking whether C compiler accepts -Wstringop-overflow=4... yes
checking whether C compiler accepts -Wstringop-truncation... yes
checking whether C compiler accepts -Wduplicated-branches... yes
checking whether C compiler accepts -Wduplicated-cond... yes
checking whether C compiler accepts -Wbool-compare... yes
checking whether C compiler accepts -fdata-sections... yes
checking whether C compiler accepts -ffunction-sections... yes
checking whether the linker accepts -Wl,--gc-sections... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/config.h
config.status: executing libtool commands
config.status: executing depfiles commands

    - tpm2-tools: 5.7
    - Man pages: yes
    - Unit tests: no
    

+ /usr/bin/make -O -j8 V=1 VERBOSE=1
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_import.o `test -f 'tools/fapi/tss2_import.c' || echo './'`tools/fapi/tss2_import.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_encrypt.o `test -f 'tools/fapi/tss2_encrypt.c' || echo './'`tools/fapi/tss2_encrypt.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_list.o `test -f 'tools/fapi/tss2_list.c' || echo './'`tools/fapi/tss2_list.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_changeauth.o `test -f 'tools/fapi/tss2_changeauth.c' || echo './'`tools/fapi/tss2_changeauth.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_decrypt.o `test -f 'tools/fapi/tss2_decrypt.c' || echo './'`tools/fapi/tss2_decrypt.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_getinfo.o `test -f 'tools/fapi/tss2_getinfo.c' || echo './'`tools/fapi/tss2_getinfo.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_delete.o `test -f 'tools/fapi/tss2_delete.c' || echo './'`tools/fapi/tss2_delete.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_getcertificate.o `test -f 'tools/fapi/tss2_getcertificate.c' || echo './'`tools/fapi/tss2_getcertificate.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_exportkey.o `test -f 'tools/fapi/tss2_exportkey.c' || echo './'`tools/fapi/tss2_exportkey.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_getappdata.o `test -f 'tools/fapi/tss2_getappdata.c' || echo './'`tools/fapi/tss2_getappdata.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_createkey.o `test -f 'tools/fapi/tss2_createkey.c' || echo './'`tools/fapi/tss2_createkey.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_createseal.o `test -f 'tools/fapi/tss2_createseal.c' || echo './'`tools/fapi/tss2_createseal.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_getplatformcertificates.o `test -f 'tools/fapi/tss2_getplatformcertificates.c' || echo './'`tools/fapi/tss2_getplatformcertificates.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_gettpmblobs.o `test -f 'tools/fapi/tss2_gettpmblobs.c' || echo './'`tools/fapi/tss2_gettpmblobs.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpmblobs.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_setappdata.o `test -f 'tools/fapi/tss2_setappdata.c' || echo './'`tools/fapi/tss2_setappdata.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_setcertificate.o `test -f 'tools/fapi/tss2_setcertificate.c' || echo './'`tools/fapi/tss2_setcertificate.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_sign.o `test -f 'tools/fapi/tss2_sign.c' || echo './'`tools/fapi/tss2_sign.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_sign.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_verifysignature.o `test -f 'tools/fapi/tss2_verifysignature.c' || echo './'`tools/fapi/tss2_verifysignature.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_verifysignature.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_verifyquote.o `test -f 'tools/fapi/tss2_verifyquote.c' || echo './'`tools/fapi/tss2_verifyquote.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_verifyquote.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_createnv.o `test -f 'tools/fapi/tss2_createnv.c' || echo './'`tools/fapi/tss2_createnv.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_nvextend.o `test -f 'tools/fapi/tss2_nvextend.c' || echo './'`tools/fapi/tss2_nvextend.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_nvincrement.o `test -f 'tools/fapi/tss2_nvincrement.c' || echo './'`tools/fapi/tss2_nvincrement.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_gettpm2object.o `test -f 'tools/fapi/tss2_gettpm2object.c' || echo './'`tools/fapi/tss2_gettpm2object.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c: In function ‘tss2_tool_onrun’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:70:16: warning: leak of FILE ‘stream’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:68:8: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:73:13: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:79:8: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:84:9: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:84:8: note: (5) following ‘true’ branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:85:17: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:94:18: note: (7) opened here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:95:12: note: (8) assuming ‘fopen(ctx.data, "w+b")’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:95:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:104:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:105:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:110:12: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:112:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:137:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:138:12: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:141:16: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:142:12: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:146:29: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:147:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:152:9: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:158:8: note: (21) following ‘true’ branch (when ‘stream’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:158:26: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:158:16: note: (23) following ‘false’ branch... <--[gcc]
cc1: note: (24) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:70:16: note: (25) ‘stream’ leaks here; was opened at (7) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:70:16: warning: leak of ‘stream’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:68:8: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:73:13: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:79:8: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:84:9: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:84:8: note: (5) following ‘true’ branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:85:17: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:94:18: note: (7) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:95:12: note: (8) assuming ‘fopen(ctx.data, "w+b")’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:95:12: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:104:9: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:105:8: note: (11) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:110:12: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:112:8: note: (13) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:137:16: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:138:12: note: (15) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:141:16: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:142:12: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:146:29: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:147:12: note: (19) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:152:9: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:158:8: note: (21) following ‘true’ branch (when ‘stream’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:158:26: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:158:16: note: (23) following ‘false’ branch... <--[gcc]
cc1: note: (24) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_gettpm2object.c:70:16: note: (25) ‘stream’ leaks here; was allocated at (7) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_nvread.o `test -f 'tools/fapi/tss2_nvread.c' || echo './'`tools/fapi/tss2_nvread.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_nvsetbits.o `test -f 'tools/fapi/tss2_nvsetbits.c' || echo './'`tools/fapi/tss2_nvsetbits.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_getdescription.o `test -f 'tools/fapi/tss2_getdescription.c' || echo './'`tools/fapi/tss2_getdescription.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_setdescription.o `test -f 'tools/fapi/tss2_setdescription.c' || echo './'`tools/fapi/tss2_setdescription.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_nvwrite.o `test -f 'tools/fapi/tss2_nvwrite.c' || echo './'`tools/fapi/tss2_nvwrite.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_pcrextend.o `test -f 'tools/fapi/tss2_pcrextend.c' || echo './'`tools/fapi/tss2_pcrextend.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_pcrread.o `test -f 'tools/fapi/tss2_pcrread.c' || echo './'`tools/fapi/tss2_pcrread.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_authorizepolicy.o `test -f 'tools/fapi/tss2_authorizepolicy.c' || echo './'`tools/fapi/tss2_authorizepolicy.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_provision.o `test -f 'tools/fapi/tss2_provision.c' || echo './'`tools/fapi/tss2_provision.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_exportpolicy.o `test -f 'tools/fapi/tss2_exportpolicy.c' || echo './'`tools/fapi/tss2_exportpolicy.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_unseal.o `test -f 'tools/fapi/tss2_unseal.c' || echo './'`tools/fapi/tss2_unseal.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_getrandom.o `test -f 'tools/fapi/tss2_getrandom.c' || echo './'`tools/fapi/tss2_getrandom.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_writeauthorizenv.o `test -f 'tools/fapi/tss2_writeauthorizenv.c' || echo './'`tools/fapi/tss2_writeauthorizenv.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-log.o `test -f 'lib/log.c' || echo './'`lib/log.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/log.c:21:17: warning: Value stored to 'value' during its initialization is never read [deadcode.DeadStores] <--[clang]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tool_rc.o `test -f 'lib/tool_rc.c' || echo './'`lib/tool_rc.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_quote.o `test -f 'tools/fapi/tss2_quote.c' || echo './'`tools/fapi/tss2_quote.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_quote.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-object.o `test -f 'lib/object.c' || echo './'`lib/object.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/object.c:24: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If ASN1_SEQUENCE_END is a macro then please configure it. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_attr_util.o `test -f 'lib/tpm2_attr_util.c' || echo './'`lib/tpm2_attr_util.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_attr_util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_cc_util.o `test -f 'lib/tpm2_cc_util.c' || echo './'`lib/tpm2_cc_util.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/fapi/tss2-tss2_template.o `test -f 'tools/fapi/tss2_template.c' || echo './'`tools/fapi/tss2_template.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:222: warning: nullPointer(CWE-476): Possible null pointer dereference: objectPath <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:222: warning: nullPointer(CWE-476): Possible null pointer dereference: description <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c: In function ‘open_read_and_close’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:640:20: warning: leak of ‘*input’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:630:18: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:631:12: note: (2) assuming ‘*input’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:631:12: note: (3) following ‘false’ branch... <--[gcc]
cc1: note: (4) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:635:16: note: (5) following ‘true’ branch (when ‘data_read != 0’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:636:27: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:637:16: note: (7) following ‘false’ branch (when ‘data_read > 1023’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:639:25: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:640:22: note: (9) when ‘realloc’ fails <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:640:20: note: (10) ‘*input’ leaks here; was allocated at (1) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:640:20: warning: leak of ‘input_signature’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:258:9: note: (1) entry to ‘sign_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:337:8: note: (2) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:342:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:342:10: note: (4) calling ‘open_write_and_close’ from ‘sign_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:577:5: note: (5) entry to ‘open_write_and_close’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:586:8: note: (6) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:586:19: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:342:10: note: (8) returning to ‘sign_callback’ from ‘open_write_and_close’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:344:8: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:349:5: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:351:8: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:357:10: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:357:10: note: (13) calling ‘open_read_and_close’ from ‘sign_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:627:5: note: (14) entry to ‘open_read_and_close’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:628:8: note: (15) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:628:19: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:628:15: note: (17) following ‘true’ branch (when the strings are equal)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:630:18: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:630:18: note: (19) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:631:12: note: (20) assuming ‘input_signature’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:631:12: note: (21) following ‘false’ branch... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:635:16: note: (23) following ‘true’ branch (when ‘data_read != 0’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:636:27: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:637:16: note: (25) following ‘false’ branch (when ‘data_read > 1023’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:639:25: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:640:22: note: (27) when ‘realloc’ fails <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/fapi/tss2_template.c:640:20: note: (28) ‘input_signature’ leaks here; was allocated at (19) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-files.o `test -f 'lib/files.c' || echo './'`lib/files.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c: In function ‘files_save_bytes_to_file’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:206:8: warning: leak of FILE ‘<unknown>’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:668:10: note: (1) entry to ‘files_save_ecc_point’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:673:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:678:16: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:678:16: note: (4) calling ‘files_save_bytes_to_file’ from ‘files_save_ecc_point’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:185:6: note: (5) entry to ‘files_save_bytes_to_file’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:187:8: note: (6) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:191:8: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:191:8: note: (8) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:195:23: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:195:23: note: (10) opened here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:196:8: note: (11) assuming ‘<unknown>’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:196:8: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:201:19: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:201:19: note: (14) calling ‘files_write_bytes’ from ‘files_save_bytes_to_file’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:577:6: note: (15) entry to ‘files_write_bytes’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:31:12: note: (16) following ‘false’ branch (when ‘out’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:579:5: note: in expansion of macro ‘BAIL_ON_NULL’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:31:12: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:580:5: note: in expansion of macro ‘BAIL_ON_NULL’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:31:12: note: (18) following ‘false’ branch (when ‘bytes’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:580:5: note: in expansion of macro ‘BAIL_ON_NULL’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:581:12: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:201:19: note: (20) returning to ‘files_save_bytes_to_file’ from ‘files_write_bytes’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:206:8: note: (21) ‘<unknown>’ leaks here; was opened at (10) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:206:8: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:668:10: note: (1) entry to ‘files_save_ecc_point’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:673:12: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:678:16: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:678:16: note: (4) calling ‘files_save_bytes_to_file’ from ‘files_save_ecc_point’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:785:1: note: in expansion of macro ‘SAVE_TYPE’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:185:6: note: (5) entry to ‘files_save_bytes_to_file’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:187:8: note: (6) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:191:8: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:191:8: note: (8) following ‘false’ branch (when ‘path’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:195:23: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:195:23: note: (10) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:196:8: note: (11) assuming ‘<unknown>’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:196:8: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:201:19: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:201:19: note: (14) calling ‘files_write_bytes’ from ‘files_save_bytes_to_file’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:577:6: note: (15) entry to ‘files_write_bytes’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:31:12: note: (16) following ‘false’ branch (when ‘out’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:579:5: note: in expansion of macro ‘BAIL_ON_NULL’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:31:12: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:580:5: note: in expansion of macro ‘BAIL_ON_NULL’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:31:12: note: (18) following ‘false’ branch (when ‘bytes’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:580:5: note: in expansion of macro ‘BAIL_ON_NULL’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:581:12: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:201:19: note: (20) returning to ‘files_save_bytes_to_file’ from ‘files_write_bytes’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/files.c:206:8: note: (21) ‘<unknown>’ leaks here; was allocated at (10) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_ctx_mgmt.o `test -f 'lib/tpm2_ctx_mgmt.c' || echo './'`lib/tpm2_ctx_mgmt.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_capability.o `test -f 'lib/tpm2_capability.c' || echo './'`lib/tpm2_capability.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_capability.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_convert.o `test -f 'lib/tpm2_convert.c' || echo './'`lib/tpm2_convert.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_convert.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_alg_util.o `test -f 'lib/tpm2_alg_util.c' || echo './'`lib/tpm2_alg_util.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c: In function ‘handle_scheme_sign’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:188:16: warning: write to string literal [-Wanalyzer-write-to-string-literal] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1014:9: note: (1) entry to ‘tpm2_alg_util_public_init’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1033:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1039:8: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1039:8: note: (4) following ‘true’ branch (when ‘attrs’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1040:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1042:12: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1055:18: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1056:16: note: (8) calling ‘tpm2_alg_util_handle_ext_alg’ from ‘tpm2_alg_util_public_init’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:536:6: note: (9) entry to ‘tpm2_alg_util_handle_ext_alg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:540:8: note: (10) following ‘false’ branch (when ‘alg_spec’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:544:14: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:545:8: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:555:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:557:12: note: (14) following ‘true’ branch (when ‘tok’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:560:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:560:9: note: (16) following ‘case 0:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:573:10: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:557:12: note: (18) following ‘false’ branch (when ‘tok’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:576:8: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:576:8: note: (20) following ‘false’ branch (when ‘i != 0’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:580:25: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:580:25: note: (22) calling ‘handle_object’ from ‘tpm2_alg_util_handle_ext_alg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:425:22: note: (23) entry to ‘handle_object’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:427:8: note: (24) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:428:16: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:580:25: note: (26) returning to ‘tpm2_alg_util_handle_ext_alg’ from ‘handle_object’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:581:8: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:586:8: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:586:8: note: (29) following ‘false’ branch... <--[gcc]
cc1: note: (30) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:594:19: note: (31) following ‘true’ branch (when ‘i != 2’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:595:15: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:595:15: note: (33) calling ‘handle_scheme’ from ‘tpm2_alg_util_handle_ext_alg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:483:22: note: (34) entry to ‘handle_scheme’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:485:5: note: (35) following ‘case 1:, case 35:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:486:5: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:488:16: note: (37) calling ‘handle_scheme_sign’ from ‘handle_scheme’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:163:22: note: (38) entry to ‘handle_scheme_sign’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:168:8: note: (39) following ‘true’ branch (when ‘scheme’ is NULL)... <--[gcc]
cc1: note: (40) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:173:8: note: (41) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:180:10: note: (42) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:180:8: note: (43) following ‘false’ branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:186:19: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:186:19: note: (45) when ‘strchr’ returns non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:187:8: note: (46) following ‘true’ branch (when ‘split’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:188:16: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:188:16: note: (48) write to string literal here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:211:23: warning: buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1014:9: note: (1) entry to ‘tpm2_alg_util_public_init’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1033:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1039:8: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1039:8: note: (4) following ‘true’ branch (when ‘attrs’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1040:20: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1042:12: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1055:18: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:1056:16: note: (8) calling ‘tpm2_alg_util_handle_ext_alg’ from ‘tpm2_alg_util_public_init’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:536:6: note: (9) entry to ‘tpm2_alg_util_handle_ext_alg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:540:8: note: (10) following ‘false’ branch (when ‘alg_spec’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:544:14: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:545:8: note: (12) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:555:11: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:557:12: note: (14) following ‘true’ branch (when ‘tok’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:560:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:560:9: note: (16) following ‘case 0:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:573:10: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:557:12: note: (18) following ‘false’ branch (when ‘tok’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:576:8: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:576:8: note: (20) following ‘false’ branch (when ‘i != 0’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:580:25: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:580:25: note: (22) calling ‘handle_object’ from ‘tpm2_alg_util_handle_ext_alg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:425:22: note: (23) entry to ‘handle_object’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:427:8: note: (24) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:430:17: note: (25) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:430:15: note: (26) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:431:16: note: (27) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:580:25: note: (28) returning to ‘tpm2_alg_util_handle_ext_alg’ from ‘handle_object’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:581:8: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:586:8: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:586:8: note: (31) following ‘false’ branch... <--[gcc]
cc1: note: (32) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:594:19: note: (33) following ‘true’ branch (when ‘i != 2’)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:595:15: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:595:15: note: (35) calling ‘handle_scheme’ from ‘tpm2_alg_util_handle_ext_alg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:483:22: note: (36) entry to ‘handle_scheme’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:485:5: note: (37) following ‘case 1:, case 35:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:486:5: note: (38) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:488:16: note: (39) calling ‘handle_scheme_sign’ from ‘handle_scheme’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:163:22: note: (40) entry to ‘handle_scheme_sign’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:168:8: note: (41) following ‘true’ branch (when ‘scheme’ is NULL)... <--[gcc]
cc1: note: (42) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:173:8: note: (43) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:180:10: note: (44) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:180:8: note: (45) following ‘false’ branch (when the strings are non-equal)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:186:19: note: (46) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:186:19: note: (47) when ‘strchr’ returns NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:187:8: note: (48) following ‘false’ branch (when ‘split’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:195:27: note: (49) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:195:8: note: (50) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:196:14: note: (51) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:196:12: note: (52) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:198:21: note: (53) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:198:19: note: (54) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:200:21: note: (55) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:200:19: note: (56) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:202:21: note: (57) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:202:19: note: (58) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:204:21: note: (59) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:204:19: note: (60) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:157:16: note: (61) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:205:13: note: in expansion of macro ‘do_scheme_halg’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:211:23: note: (62) out-of-bounds read at byte 5 but ‘"null"’ ends at byte 5 <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:211:23: note: read of 1 byte from after the end of ‘"null"’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_alg_util.c:211:23: note: valid subscripts for ‘"null"’ are ‘[0]’ to ‘[4]’ <--[gcc]

                                           ┌─────────────────────────────┐
                                           │read of ‘const char’ (1 byte)│
                                           └─────────────────────────────┘
                                                          ^
                                                          │
                                                          │
  ┌───────┬──────────────────────┬────────┐┌─────────────────────────────┐
  │  [0]  │         ...          │  [4]   ││                             │
  ├───────┼───────┬───────┬──────┼────────┤│                             │
  │  ‘n’  │  ‘u’  │  ‘l’  │ ‘l’  │  NUL   ││      after valid range      │
  ├───────┴───────┴───────┴──────┴────────┤│                             │
  │   string literal (type: ‘char[5]’)    ││                             │
  └───────────────────────────────────────┘└─────────────────────────────┘
  ├───────────────────┬───────────────────┤├──────────────┬──────────────┤
                      │                                   │
               ╭──────┴──────╮                ╭───────────┴──────────╮
               │size: 5 bytes│                │⚠️  over-read of 1 byte│
               ╰─────────────╯                ╰──────────────────────╯

gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_auth_util.o `test -f 'lib/tpm2_auth_util.c' || echo './'`lib/tpm2_auth_util.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_auth_util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_hierarchy.o `test -f 'lib/tpm2_hierarchy.c' || echo './'`lib/tpm2_hierarchy.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_hash.o `test -f 'lib/tpm2_hash.c' || echo './'`lib/tpm2_hash.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_hash.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_identity_util.o `test -f 'lib/tpm2_identity_util.c' || echo './'`lib/tpm2_identity_util.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_identity_util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_kdfa.o `test -f 'lib/tpm2_kdfa.c' || echo './'`lib/tpm2_kdfa.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_kdfa.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_kdfe.o `test -f 'lib/tpm2_kdfe.c' || echo './'`lib/tpm2_kdfe.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_errata.o `test -f 'lib/tpm2_errata.c' || echo './'`lib/tpm2_errata.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_errata.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_session.o `test -f 'lib/tpm2_session.c' || echo './'`lib/tpm2_session.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_tool_output.o `test -f 'lib/tpm2_tool_output.c' || echo './'`lib/tpm2_tool_output.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_eventlog.o `test -f 'lib/tpm2_eventlog.c' || echo './'`lib/tpm2_eventlog.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2.o `test -f 'lib/tpm2.c' || echo './'`lib/tpm2.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_eventlog_yaml.o `test -f 'lib/tpm2_eventlog_yaml.c' || echo './'`lib/tpm2_eventlog_yaml.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c: In function ‘yaml_split_escape_string’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:352:12: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:1013:6: note: (1) entry to ‘yaml_event2data_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:1018:12: note: (2) calling ‘yaml_event2data’ from ‘yaml_event2data_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:967:6: note: (3) entry to ‘yaml_event2data’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:973:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:977:5: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:977:5: note: (6) following ‘case 13:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:993:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:994:16: note: (8) calling ‘yaml_ipl’ from ‘yaml_event2data’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:820:6: note: (9) entry to ‘yaml_ipl’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:823:12: note: (10) calling ‘yaml_split_print_string’ from ‘yaml_ipl’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:444:13: note: (11) entry to ‘yaml_split_print_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:452:13: note: (12) calling ‘yaml_split_escape_string’ from ‘yaml_split_print_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:332:8: note: (13) entry to ‘yaml_split_escape_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:344:12: note: (14) following ‘false’ branch (when ‘nl’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:55: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:15: note: (16) when ‘realloc’ succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:352:12: note: (17) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:358:14: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:365:25: note: (19) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:366:12: note: (20) assuming ‘calloc(1, len * 4 + 2)’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:366:12: note: (21) following ‘false’ branch... <--[gcc]
cc1: note: (22) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:372:23: note: (23) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:432:16: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:432:16: note: (25) following ‘true’ branch... <--[gcc]
cc1: note: (26) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:344:12: note: (27) following ‘false’ branch (when ‘nl’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:55: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:352:12: note: (29) ‘<unknown>’ leaks here; was allocated at (19) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c: In function ‘yaml_split_print_string’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:471:5: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:1013:6: note: (1) entry to ‘yaml_event2data_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:1018:12: note: (2) calling ‘yaml_event2data’ from ‘yaml_event2data_callback’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:967:6: note: (3) entry to ‘yaml_event2data’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:973:8: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:977:5: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:977:5: note: (6) following ‘case 13:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:993:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:994:16: note: (8) calling ‘yaml_ipl’ from ‘yaml_event2data’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:820:6: note: (9) entry to ‘yaml_ipl’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:823:12: note: (10) calling ‘yaml_split_print_string’ from ‘yaml_ipl’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:444:13: note: (11) entry to ‘yaml_split_print_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:452:13: note: (12) calling ‘yaml_split_escape_string’ from ‘yaml_split_print_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:332:8: note: (13) entry to ‘yaml_split_escape_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:344:12: note: (14) following ‘false’ branch (when ‘nl’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:55: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:15: note: (16) when ‘realloc’ succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:352:12: note: (17) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:358:14: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:366:12: note: (19) following ‘false’ branch... <--[gcc]
cc1: note: (20) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:372:23: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:432:16: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:432:16: note: (23) following ‘true’ branch... <--[gcc]
cc1: note: (24) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:344:12: note: (25) following ‘false’ branch (when ‘nl’ is NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:55: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:351:15: note: (27) when ‘realloc’ succeeds, moving buffer <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:352:12: note: (28) following ‘false’ branch (when ‘tmp’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:358:14: note: (29) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:365:25: note: (30) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:366:12: note: (31) assuming ‘calloc(1, len * 4 + 2)’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:366:12: note: (32) following ‘false’ branch... <--[gcc]
cc1: note: (33) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:432:16: note: (34) following ‘false’ branch... <--[gcc]
cc1: note: (35) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:452:13: note: (36) returning to ‘yaml_split_print_string’ from ‘yaml_split_escape_string’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:453:8: note: (37) following ‘false’ branch... <--[gcc]
cc1: note: (38) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_eventlog_yaml.c:471:5: note: (39) ‘<unknown>’ leaks here; was allocated at (30) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_certifyX509certutil.o `test -f 'tools/misc/tpm2_certifyX509certutil.c' || echo './'`tools/misc/tpm2_certifyX509certutil.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/misc/tpm2_certifyX509certutil.c:45: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If ASN1_SEQUENCE_END is a macro then please configure it. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_util.o `test -f 'lib/tpm2_util.c' || echo './'`lib/tpm2_util.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:277: warning: uninitvar(CWE-457): Uninitialized variable: converted <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:278: warning: uninitvar(CWE-457): Uninitialized variable: converted <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:279: warning: uninitvar(CWE-457): Uninitialized variable: converted <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c: In function ‘calc_phash_alg_from_phash_path’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1138:5: warning: use of possibly-NULL ‘str’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1130:8: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1137:24: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1137:17: note: (3) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1138:5: note: (4) argument 1 (‘str’) from (3) could be NULL where non-null expected <--[gcc]
<built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1147:24: warning: use of NULL ‘token’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1130:8: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1137:24: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1139:19: note: (3) when ‘strtok’ on non-NULL string returns NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1146:8: note: (4) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1147:9: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_util.c:1147:24: note: (6) argument 1 (‘token’) NULL where non-null expected <--[gcc]
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_options.o `test -f 'lib/tpm2_options.c' || echo './'`lib/tpm2_options.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_options.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_options.c:201: warning: nullPointer(CWE-476): Possible null pointer dereference: tcti_default <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_encodeobject.o `test -f 'tools/misc/tpm2_encodeobject.c' || echo './'`tools/misc/tpm2_encodeobject.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_rc_decode.o `test -f 'tools/misc/tpm2_rc_decode.c' || echo './'`tools/misc/tpm2_rc_decode.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_eventlog.o `test -f 'tools/misc/tpm2_eventlog.c' || echo './'`tools/misc/tpm2_eventlog.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_policy.o `test -f 'lib/tpm2_policy.c' || echo './'`lib/tpm2_policy.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_policy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_tr_encode.o `test -f 'tools/misc/tpm2_tr_encode.c' || echo './'`tools/misc/tpm2_tr_encode.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/misc/tpm2_tr_encode.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_activatecredential.o `test -f 'tools/tpm2_activatecredential.c' || echo './'`tools/tpm2_activatecredential.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_print.o `test -f 'tools/misc/tpm2_print.c' || echo './'`tools/misc/tpm2_print.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/misc/tpm2_print.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-pcr.o `test -f 'lib/pcr.c' || echo './'`lib/pcr.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/pcr.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_certify.o `test -f 'tools/tpm2_certify.c' || echo './'`tools/tpm2_certify.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_changeauth.o `test -f 'tools/tpm2_changeauth.c' || echo './'`tools/tpm2_changeauth.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_changeeps.o `test -f 'tools/tpm2_changeeps.c' || echo './'`tools/tpm2_changeeps.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_clear.o `test -f 'tools/tpm2_clear.c' || echo './'`tools/tpm2_clear.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_changepps.o `test -f 'tools/tpm2_changepps.c' || echo './'`tools/tpm2_changepps.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_tool.o `test -f 'tools/tpm2_tool.c' || echo './'`tools/tpm2_tool.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_tool.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_clearcontrol.o `test -f 'tools/tpm2_clearcontrol.c' || echo './'`tools/tpm2_clearcontrol.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_clockrateadjust.o `test -f 'tools/tpm2_clockrateadjust.c' || echo './'`tools/tpm2_clockrateadjust.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_createpolicy.o `test -f 'tools/tpm2_createpolicy.c' || echo './'`tools/tpm2_createpolicy.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_setprimarypolicy.o `test -f 'tools/tpm2_setprimarypolicy.c' || echo './'`tools/tpm2_setprimarypolicy.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_createak.o `test -f 'tools/tpm2_createak.c' || echo './'`tools/tpm2_createak.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_createprimary.o `test -f 'tools/tpm2_createprimary.c' || echo './'`tools/tpm2_createprimary.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_createprimary.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -fPIC -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lib/libcommon_a-tpm2_openssl.o `test -f 'lib/tpm2_openssl.c' || echo './'`lib/tpm2_openssl.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c: In function ‘do_open_file’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c:433:31: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] <--[gcc]
  433 |     char *tmp = calloc(sizeof(char), file_size + 1);
      |                               ^~~~
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c:433:31: note: earlier argument should specify number of elements, later size of each element <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c: In function ‘do_stdin’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c:488:31: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] <--[gcc]
  488 |     void *buf = calloc(sizeof(BYTE), UINT16_MAX + 1);
      |                               ^~~~
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/tpm2_openssl.c:488:31: note: earlier argument should specify number of elements, later size of each element <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_gettestresult.o `test -f 'tools/tpm2_gettestresult.c' || echo './'`tools/tpm2_gettestresult.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_duplicate.o `test -f 'tools/tpm2_duplicate.c' || echo './'`tools/tpm2_duplicate.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c: In function ‘openssl_create_duplicate’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:182:5: warning: use of possibly-NULL ‘ctx.out_private_data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:105:8: note: (1) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:113:5: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:125:8: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:131:12: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:135:8: note: (5) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:142:35: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:169:8: note: (7) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:175:5: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:181:28: note: (9) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:182:5: note: (10) argument 1 (‘malloc((long unsigned int)private.size + 2)’) from (9) could be NULL where non-null expected <--[gcc]
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c: In function ‘process_openssl_duplicate’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:234:5: warning: use of possibly-NULL ‘ctx.out_sym_seed’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:208:8: note: (1) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:213:51: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:220:8: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:224:28: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:228:8: note: (5) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:232:45: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:232:24: note: (7) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_duplicate.c:234:5: note: (8) argument 1 (‘malloc((long unsigned int)encrypted_seed.size + 2)’) from (7) could be NULL where non-null expected <--[gcc]
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/misc/tpm2-tpm2_checkquote.o `test -f 'tools/misc/tpm2_checkquote.c' || echo './'`tools/misc/tpm2_checkquote.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/misc/tpm2_checkquote.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_evictcontrol.o `test -f 'tools/tpm2_evictcontrol.c' || echo './'`tools/tpm2_evictcontrol.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_evictcontrol.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_getrandom.o `test -f 'tools/tpm2_getrandom.c' || echo './'`tools/tpm2_getrandom.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_flushcontext.o `test -f 'tools/tpm2_flushcontext.c' || echo './'`tools/tpm2_flushcontext.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_flushcontext.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_create.o `test -f 'tools/tpm2_create.c' || echo './'`tools/tpm2_create.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_hash.o `test -f 'tools/tpm2_hash.c' || echo './'`tools/tpm2_hash.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_dictionarylockout.o `test -f 'tools/tpm2_dictionarylockout.c' || echo './'`tools/tpm2_dictionarylockout.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_dictionarylockout.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_hierarchycontrol.o `test -f 'tools/tpm2_hierarchycontrol.c' || echo './'`tools/tpm2_hierarchycontrol.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_gettime.o `test -f 'tools/tpm2_gettime.c' || echo './'`tools/tpm2_gettime.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_createek.o `test -f 'tools/tpm2_createek.c' || echo './'`tools/tpm2_createek.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_incrementalselftest.o `test -f 'tools/tpm2_incrementalselftest.c' || echo './'`tools/tpm2_incrementalselftest.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_incrementalselftest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_hmac.o `test -f 'tools/tpm2_hmac.c' || echo './'`tools/tpm2_hmac.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_hmac.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_load.o `test -f 'tools/tpm2_load.c' || echo './'`tools/tpm2_load.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_import.o `test -f 'tools/tpm2_import.c' || echo './'`tools/tpm2_import.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_import.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_makecredential.o `test -f 'tools/tpm2_makecredential.c' || echo './'`tools/tpm2_makecredential.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvextend.o `test -f 'tools/tpm2_nvextend.c' || echo './'`tools/tpm2_nvextend.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvincrement.o `test -f 'tools/tpm2_nvincrement.c' || echo './'`tools/tpm2_nvincrement.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_loadexternal.o `test -f 'tools/tpm2_loadexternal.c' || echo './'`tools/tpm2_loadexternal.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_loadexternal.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvreadlock.o `test -f 'tools/tpm2_nvreadlock.c' || echo './'`tools/tpm2_nvreadlock.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvdefine.o `test -f 'tools/tpm2_nvdefine.c' || echo './'`tools/tpm2_nvdefine.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvreadpublic.o `test -f 'tools/tpm2_nvreadpublic.c' || echo './'`tools/tpm2_nvreadpublic.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c: In function ‘process_inputs’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:245:31: warning: dereference of possibly-NULL ‘ctx.nv_public_list’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:204:8: note: (1) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:211:12: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:226:12: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:230:49: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:239:5: note: (5) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:244:8: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:245:33: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvreadpublic.c:245:31: note: (8) ‘calloc((long unsigned int)*ctx.capability_data.data.handles.count, 8)’ could be NULL: unchecked value from (5) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvundefine.o `test -f 'tools/tpm2_nvundefine.c' || echo './'`tools/tpm2_nvundefine.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvundefine.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_encryptdecrypt.o `test -f 'tools/tpm2_encryptdecrypt.c' || echo './'`tools/tpm2_encryptdecrypt.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c: In function ‘process_inputs’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:378:25: warning: dereference of possibly-NULL ‘ctx.iv_in’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:518:16: note: (1) entry to ‘tpm2_tool_onrun’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:526:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:533:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:533:10: note: (4) calling ‘process_inputs’ from ‘tpm2_tool_onrun’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:306:16: note: (5) entry to ‘process_inputs’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:324:8: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:336:19: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:338:8: note: (8) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:343:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:374:8: note: (10) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:377:36: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:377:21: note: (12) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_encryptdecrypt.c:378:25: note: (13) ‘malloc((long unsigned int)iv_start.size + 18)’ could be NULL: unchecked value from (12) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvwritelock.o `test -f 'tools/tpm2_nvwritelock.c' || echo './'`tools/tpm2_nvwritelock.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvsetbits.o `test -f 'tools/tpm2_nvsetbits.c' || echo './'`tools/tpm2_nvsetbits.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvread.o `test -f 'tools/tpm2_nvread.c' || echo './'`tools/tpm2_nvread.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_pcrallocate.o `test -f 'tools/tpm2_pcrallocate.c' || echo './'`tools/tpm2_pcrallocate.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_pcrextend.o `test -f 'tools/tpm2_pcrextend.c' || echo './'`tools/tpm2_pcrextend.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_pcrevent.o `test -f 'tools/tpm2_pcrevent.c' || echo './'`tools/tpm2_pcrevent.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c: In function ‘on_arg’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:13: warning: leak of FILE ‘fopen(*<unknown>, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:307:8: note: (1) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc]
cc1: note: (2) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:316:19: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:29: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:19: note: (5) opened here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:25: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:19: note: (8) assuming ‘fopen(*<unknown>, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:19: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:327:23: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:316:19: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:29: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:19: note: (13) opened here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:25: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:13: note: (16) ‘fopen(*<unknown>, "rb")’ leaks here; was opened at (13) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:13: warning: leak of ‘fopen(*<unknown>, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:307:8: note: (1) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc]
cc1: note: (2) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:316:19: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:29: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:19: note: (5) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:25: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:19: note: (8) assuming ‘fopen(*<unknown>, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:19: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:327:23: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:316:19: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:29: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:19: note: (13) allocated here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:12: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:25: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:13: note: (16) ‘fopen(*<unknown>, "rb")’ leaks here; was allocated at (13) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:322:13: warning: use of possibly-NULL ‘fopen(*<unknown>, "rb")’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:307:8: note: (1) following ‘false’ branch (when ‘argc <= 2’)... <--[gcc]
cc1: note: (2) ...to here
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:316:19: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:29: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:19: note: (5) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:12: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:25: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:19: note: (8) assuming ‘fopen(*<unknown>, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:325:19: note: (9) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:327:23: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:316:19: note: (11) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:29: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:318:19: note: (13) state of ‘CONJURED(_26 = fopen (_4, "rb");, _26)’: ‘nonnull’ -> ‘unchecked’ (NULL origin) <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:320:12: note: (14) following ‘true’ branch... <--[gcc]
In file included from /builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:11: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/log.h:29:27: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:321:13: note: in expansion of macro ‘LOG_ERR’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:322:13: note: (16) argument 1 (‘fopen(*<unknown>, "rb")’) from (5) could be NULL where non-null expected <--[gcc]
In file included from /builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_pcrevent.c:6: <--[gcc]
/usr/include/stdio.h:184:12: note: argument 1 of ‘fclose’ must be non-null <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_getekcertificate.o `test -f 'tools/tpm2_getekcertificate.c' || echo './'`tools/tpm2_getekcertificate.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c: In function ‘process_input’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:777:30: warning: dereference of possibly-NULL ‘ctx.out_public’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:1021:16: note: (1) entry to ‘tpm2_tool_onrun’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:1026:8: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:1030:10: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:1030:10: note: (4) calling ‘process_input’ from ‘tpm2_tool_onrun’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:773:16: note: (5) entry to ‘process_input’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:775:8: note: (6) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:776:26: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:776:26: note: (8) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getekcertificate.c:777:30: note: (9) ‘malloc(616)’ could be NULL: unchecked value from (8) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_pcrreset.o `test -f 'tools/tpm2_pcrreset.c' || echo './'`tools/tpm2_pcrreset.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_pcrread.o `test -f 'tools/tpm2_pcrread.c' || echo './'`tools/tpm2_pcrread.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policypcr.o `test -f 'tools/tpm2_policypcr.c' || echo './'`tools/tpm2_policypcr.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyauthorize.o `test -f 'tools/tpm2_policyauthorize.c' || echo './'`tools/tpm2_policyauthorize.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyauthorizenv.o `test -f 'tools/tpm2_policyauthorizenv.c' || echo './'`tools/tpm2_policyauthorizenv.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyor.o `test -f 'tools/tpm2_policyor.c' || echo './'`tools/tpm2_policyor.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policynamehash.o `test -f 'tools/tpm2_policynamehash.c' || echo './'`tools/tpm2_policynamehash.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policynv.o `test -f 'tools/tpm2_policynv.c' || echo './'`tools/tpm2_policynv.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policycountertimer.o `test -f 'tools/tpm2_policycountertimer.c' || echo './'`tools/tpm2_policycountertimer.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_policycountertimer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policytemplate.o `test -f 'tools/tpm2_policytemplate.c' || echo './'`tools/tpm2_policytemplate.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policycphash.o `test -f 'tools/tpm2_policycphash.c' || echo './'`tools/tpm2_policycphash.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policypassword.o `test -f 'tools/tpm2_policypassword.c' || echo './'`tools/tpm2_policypassword.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyauthvalue.o `test -f 'tools/tpm2_policyauthvalue.c' || echo './'`tools/tpm2_policyauthvalue.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyrestart.o `test -f 'tools/tpm2_policyrestart.c' || echo './'`tools/tpm2_policyrestart.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyticket.o `test -f 'tools/tpm2_policyticket.c' || echo './'`tools/tpm2_policyticket.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policysigned.o `test -f 'tools/tpm2_policysigned.c' || echo './'`tools/tpm2_policysigned.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_policysigned.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policycommandcode.o `test -f 'tools/tpm2_policycommandcode.c' || echo './'`tools/tpm2_policycommandcode.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policysecret.o `test -f 'tools/tpm2_policysecret.c' || echo './'`tools/tpm2_policysecret.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policynvwritten.o `test -f 'tools/tpm2_policynvwritten.c' || echo './'`tools/tpm2_policynvwritten.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_policynvwritten.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policylocality.o `test -f 'tools/tpm2_policylocality.c' || echo './'`tools/tpm2_policylocality.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_policylocality.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvwrite.o `test -f 'tools/tpm2_nvwrite.c' || echo './'`tools/tpm2_nvwrite.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_nvwrite.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_policyduplicationselect.o `test -f 'tools/tpm2_policyduplicationselect.c' || echo './'`tools/tpm2_policyduplicationselect.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_readclock.o `test -f 'tools/tpm2_readclock.c' || echo './'`tools/tpm2_readclock.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_readpublic.o `test -f 'tools/tpm2_readpublic.c' || echo './'`tools/tpm2_readpublic.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_readpublic.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_quote.o `test -f 'tools/tpm2_quote.c' || echo './'`tools/tpm2_quote.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_quote.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_rsadecrypt.o `test -f 'tools/tpm2_rsadecrypt.c' || echo './'`tools/tpm2_rsadecrypt.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_setclock.o `test -f 'tools/tpm2_setclock.c' || echo './'`tools/tpm2_setclock.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_send.o `test -f 'tools/tpm2_send.c' || echo './'`tools/tpm2_send.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c: In function ‘sig_handler’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:29:5: warning: call to ‘exit’ from within signal handler [CWE-479] [-Wanalyzer-unsafe-call-within-signal-handler] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:169:16: note: (1) entry to ‘tpm2_tool_onrun’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:173:32: note: (2) registering ‘sig_handler’ as signal handler <--[gcc]
cc1: note: (3) later on, when the signal is delivered to the process
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:26:13: note: (4) entry to ‘sig_handler’ <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:29:5: note: (5) call to ‘exit’ from within signal handler <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_send.c:29:5: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’ <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_shutdown.o `test -f 'tools/tpm2_shutdown.c' || echo './'`tools/tpm2_shutdown.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_selftest.o `test -f 'tools/tpm2_selftest.c' || echo './'`tools/tpm2_selftest.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_certifycreation.o `test -f 'tools/tpm2_certifycreation.c' || echo './'`tools/tpm2_certifycreation.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_rsaencrypt.o `test -f 'tools/tpm2_rsaencrypt.c' || echo './'`tools/tpm2_rsaencrypt.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_testparms.o `test -f 'tools/tpm2_testparms.c' || echo './'`tools/tpm2_testparms.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_sign.o `test -f 'tools/tpm2_sign.c' || echo './'`tools/tpm2_sign.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_sign.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_nvcertify.o `test -f 'tools/tpm2_nvcertify.c' || echo './'`tools/tpm2_nvcertify.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_startup.o `test -f 'tools/tpm2_startup.c' || echo './'`tools/tpm2_startup.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_stirrandom.o `test -f 'tools/tpm2_stirrandom.c' || echo './'`tools/tpm2_stirrandom.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_unseal.o `test -f 'tools/tpm2_unseal.c' || echo './'`tools/tpm2_unseal.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_verifysignature.o `test -f 'tools/tpm2_verifysignature.c' || echo './'`tools/tpm2_verifysignature.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c: In function ‘on_option’: <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c:199:28: warning: dereference of possibly-NULL ‘ctx.msg_hash’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c:179:5: note: (1) following ‘case 100:’ branch... <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c:197:5: note: (2) ...to here <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c:198:24: note: (3) this call could return NULL <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_verifysignature.c:199:28: note: (4) ‘malloc(66)’ could be NULL: unchecked value from (3) <--[gcc]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_getcap.o `test -f 'tools/tpm2_getcap.c' || echo './'`tools/tpm2_getcap.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_getcap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_setcommandauditstatus.o `test -f 'tools/tpm2_setcommandauditstatus.c' || echo './'`tools/tpm2_setcommandauditstatus.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_getcommandauditdigest.o `test -f 'tools/tpm2_getcommandauditdigest.c' || echo './'`tools/tpm2_getcommandauditdigest.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_geteccparameters.o `test -f 'tools/tpm2_geteccparameters.c' || echo './'`tools/tpm2_geteccparameters.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_getsessionauditdigest.o `test -f 'tools/tpm2_getsessionauditdigest.c' || echo './'`tools/tpm2_getsessionauditdigest.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_ecephemeral.o `test -f 'tools/tpm2_ecephemeral.c' || echo './'`tools/tpm2_ecephemeral.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_commit.o `test -f 'tools/tpm2_commit.c' || echo './'`tools/tpm2_commit.c
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/tools/tpm2_commit.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_ecdhkeygen.o `test -f 'tools/tpm2_ecdhkeygen.c' || echo './'`tools/tpm2_ecdhkeygen.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_zgen2phase.o `test -f 'tools/tpm2_zgen2phase.c' || echo './'`tools/tpm2_zgen2phase.c
rm -f lib/libcommon.a
ar cru lib/libcommon.a lib/libcommon_a-files.o lib/libcommon_a-log.o lib/libcommon_a-object.o lib/libcommon_a-pcr.o lib/libcommon_a-tool_rc.o lib/libcommon_a-tpm2.o lib/libcommon_a-tpm2_alg_util.o lib/libcommon_a-tpm2_attr_util.o lib/libcommon_a-tpm2_auth_util.o lib/libcommon_a-tpm2_capability.o lib/libcommon_a-tpm2_cc_util.o lib/libcommon_a-tpm2_convert.o lib/libcommon_a-tpm2_ctx_mgmt.o lib/libcommon_a-tpm2_errata.o lib/libcommon_a-tpm2_eventlog.o lib/libcommon_a-tpm2_eventlog_yaml.o lib/libcommon_a-tpm2_hash.o lib/libcommon_a-tpm2_hierarchy.o lib/libcommon_a-tpm2_identity_util.o lib/libcommon_a-tpm2_kdfa.o lib/libcommon_a-tpm2_kdfe.o lib/libcommon_a-tpm2_openssl.o lib/libcommon_a-tpm2_options.o lib/libcommon_a-tpm2_policy.o lib/libcommon_a-tpm2_session.o lib/libcommon_a-tpm2_tool_output.o lib/libcommon_a-tpm2_util.o  
ranlib lib/libcommon.a
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_ecdhzgen.o `test -f 'tools/tpm2_ecdhzgen.c' || echo './'`tools/tpm2_ecdhzgen.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_sessionconfig.o `test -f 'tools/tpm2_sessionconfig.c' || echo './'`tools/tpm2_sessionconfig.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_getpolicydigest.o `test -f 'tools/tpm2_getpolicydigest.c' || echo './'`tools/tpm2_getpolicydigest.c
gcc -DHAVE_CONFIG_H -I. -I./lib    -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tools/tpm2-tpm2_startauthsession.o `test -f 'tools/tpm2_startauthsession.c' || echo './'`tools/tpm2_startauthsession.c
/bin/sh ./libtool  --tag=CC   --mode=link gcc -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid   -DTSS2_TOOLS_MAX="38" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -shared -pie -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections -ltss2-fapi -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -o tools/fapi/tss2 tools/fapi/tss2-tss2_template.o tools/fapi/tss2-tss2_decrypt.o tools/fapi/tss2-tss2_encrypt.o tools/fapi/tss2-tss2_list.o tools/fapi/tss2-tss2_changeauth.o tools/fapi/tss2-tss2_delete.o tools/fapi/tss2-tss2_import.o tools/fapi/tss2-tss2_getinfo.o tools/fapi/tss2-tss2_createkey.o tools/fapi/tss2-tss2_createseal.o tools/fapi/tss2-tss2_exportkey.o tools/fapi/tss2-tss2_getcertificate.o tools/fapi/tss2-tss2_getplatformcertificates.o tools/fapi/tss2-tss2_gettpmblobs.o tools/fapi/tss2-tss2_getappdata.o tools/fapi/tss2-tss2_gettpm2object.o tools/fapi/tss2-tss2_setappdata.o tools/fapi/tss2-tss2_setcertificate.o tools/fapi/tss2-tss2_sign.o tools/fapi/tss2-tss2_verifysignature.o tools/fapi/tss2-tss2_verifyquote.o tools/fapi/tss2-tss2_createnv.o tools/fapi/tss2-tss2_nvextend.o tools/fapi/tss2-tss2_nvincrement.o tools/fapi/tss2-tss2_nvread.o tools/fapi/tss2-tss2_nvsetbits.o tools/fapi/tss2-tss2_nvwrite.o tools/fapi/tss2-tss2_getdescription.o tools/fapi/tss2-tss2_setdescription.o tools/fapi/tss2-tss2_pcrextend.o tools/fapi/tss2-tss2_quote.o tools/fapi/tss2-tss2_pcrread.o tools/fapi/tss2-tss2_authorizepolicy.o tools/fapi/tss2-tss2_exportpolicy.o tools/fapi/tss2-tss2_import.o tools/fapi/tss2-tss2_provision.o tools/fapi/tss2-tss2_getrandom.o tools/fapi/tss2-tss2_unseal.o tools/fapi/tss2-tss2_writeauthorizenv.o lib/libcommon.a -ltss2-esys -ltss2-mu -lcrypto -ltss2-tctildr -ltss2-rc -ltss2-sys  
libtool: link: gcc -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/json-c -I/usr/include/uuid -DTSS2_TOOLS_MAX=38 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/fapi/tss2 tools/fapi/tss2-tss2_template.o tools/fapi/tss2-tss2_decrypt.o tools/fapi/tss2-tss2_encrypt.o tools/fapi/tss2-tss2_list.o tools/fapi/tss2-tss2_changeauth.o tools/fapi/tss2-tss2_delete.o tools/fapi/tss2-tss2_import.o tools/fapi/tss2-tss2_getinfo.o tools/fapi/tss2-tss2_createkey.o tools/fapi/tss2-tss2_createseal.o tools/fapi/tss2-tss2_exportkey.o tools/fapi/tss2-tss2_getcertificate.o tools/fapi/tss2-tss2_getplatformcertificates.o tools/fapi/tss2-tss2_gettpmblobs.o tools/fapi/tss2-tss2_getappdata.o tools/fapi/tss2-tss2_gettpm2object.o tools/fapi/tss2-tss2_setappdata.o tools/fapi/tss2-tss2_setcertificate.o tools/fapi/tss2-tss2_sign.o tools/fapi/tss2-tss2_verifysignature.o tools/fapi/tss2-tss2_verifyquote.o tools/fapi/tss2-tss2_createnv.o tools/fapi/tss2-tss2_nvextend.o tools/fapi/tss2-tss2_nvincrement.o tools/fapi/tss2-tss2_nvread.o tools/fapi/tss2-tss2_nvsetbits.o tools/fapi/tss2-tss2_nvwrite.o tools/fapi/tss2-tss2_getdescription.o tools/fapi/tss2-tss2_setdescription.o tools/fapi/tss2-tss2_pcrextend.o tools/fapi/tss2-tss2_quote.o tools/fapi/tss2-tss2_pcrread.o tools/fapi/tss2-tss2_authorizepolicy.o tools/fapi/tss2-tss2_exportpolicy.o tools/fapi/tss2-tss2_import.o tools/fapi/tss2-tss2_provision.o tools/fapi/tss2-tss2_getrandom.o tools/fapi/tss2-tss2_unseal.o tools/fapi/tss2-tss2_writeauthorizenv.o  -ltss2-fapi lib/libcommon.a -ltss2-esys -ltss2-mu -lcrypto -ltss2-tctildr -ltss2-rc -ltss2-sys
/bin/sh ./libtool  --tag=CC   --mode=link gcc -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2   -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2  -DTPM2_TOOLS_MAX="102" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -shared -pie -Wl,-z,relro -Wl,-z,now -Wl,--gc-sections  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -o tools/tpm2 tools/tpm2-tpm2_tool.o tools/misc/tpm2-tpm2_certifyX509certutil.o tools/misc/tpm2-tpm2_checkquote.o tools/misc/tpm2-tpm2_encodeobject.o tools/misc/tpm2-tpm2_eventlog.o tools/misc/tpm2-tpm2_print.o tools/misc/tpm2-tpm2_rc_decode.o tools/misc/tpm2-tpm2_tr_encode.o tools/tpm2-tpm2_activatecredential.o tools/tpm2-tpm2_certify.o tools/tpm2-tpm2_changeauth.o tools/tpm2-tpm2_changeeps.o tools/tpm2-tpm2_changepps.o tools/tpm2-tpm2_clear.o tools/tpm2-tpm2_clearcontrol.o tools/tpm2-tpm2_clockrateadjust.o tools/tpm2-tpm2_create.o tools/tpm2-tpm2_createak.o tools/tpm2-tpm2_createek.o tools/tpm2-tpm2_createpolicy.o tools/tpm2-tpm2_setprimarypolicy.o tools/tpm2-tpm2_createprimary.o tools/tpm2-tpm2_dictionarylockout.o tools/tpm2-tpm2_duplicate.o tools/tpm2-tpm2_getcap.o tools/tpm2-tpm2_gettestresult.o tools/tpm2-tpm2_encryptdecrypt.o tools/tpm2-tpm2_evictcontrol.o tools/tpm2-tpm2_flushcontext.o tools/tpm2-tpm2_getekcertificate.o tools/tpm2-tpm2_getrandom.o tools/tpm2-tpm2_gettime.o tools/tpm2-tpm2_hash.o tools/tpm2-tpm2_hierarchycontrol.o tools/tpm2-tpm2_hmac.o tools/tpm2-tpm2_import.o tools/tpm2-tpm2_incrementalselftest.o tools/tpm2-tpm2_load.o tools/tpm2-tpm2_loadexternal.o tools/tpm2-tpm2_makecredential.o tools/tpm2-tpm2_nvdefine.o tools/tpm2-tpm2_nvextend.o tools/tpm2-tpm2_nvincrement.o tools/tpm2-tpm2_nvreadpublic.o tools/tpm2-tpm2_nvread.o tools/tpm2-tpm2_nvreadlock.o tools/tpm2-tpm2_nvundefine.o tools/tpm2-tpm2_nvwrite.o tools/tpm2-tpm2_nvwritelock.o tools/tpm2-tpm2_nvsetbits.o tools/tpm2-tpm2_pcrallocate.o tools/tpm2-tpm2_pcrevent.o tools/tpm2-tpm2_pcrextend.o tools/tpm2-tpm2_pcrread.o tools/tpm2-tpm2_pcrreset.o tools/tpm2-tpm2_policypcr.o tools/tpm2-tpm2_policyauthorize.o tools/tpm2-tpm2_policyauthorizenv.o tools/tpm2-tpm2_policynv.o tools/tpm2-tpm2_policycountertimer.o tools/tpm2-tpm2_policyor.o tools/tpm2-tpm2_policynamehash.o tools/tpm2-tpm2_policytemplate.o tools/tpm2-tpm2_policycphash.o tools/tpm2-tpm2_policypassword.o tools/tpm2-tpm2_policysigned.o tools/tpm2-tpm2_policyticket.o tools/tpm2-tpm2_policyauthvalue.o tools/tpm2-tpm2_policysecret.o tools/tpm2-tpm2_policyrestart.o tools/tpm2-tpm2_policycommandcode.o tools/tpm2-tpm2_policynvwritten.o tools/tpm2-tpm2_policyduplicationselect.o tools/tpm2-tpm2_policylocality.o tools/tpm2-tpm2_quote.o tools/tpm2-tpm2_readclock.o tools/tpm2-tpm2_readpublic.o tools/tpm2-tpm2_rsadecrypt.o tools/tpm2-tpm2_rsaencrypt.o tools/tpm2-tpm2_send.o tools/tpm2-tpm2_selftest.o tools/tpm2-tpm2_setclock.o tools/tpm2-tpm2_shutdown.o tools/tpm2-tpm2_sign.o tools/tpm2-tpm2_certifycreation.o tools/tpm2-tpm2_nvcertify.o tools/tpm2-tpm2_startauthsession.o tools/tpm2-tpm2_startup.o tools/tpm2-tpm2_stirrandom.o tools/tpm2-tpm2_testparms.o tools/tpm2-tpm2_unseal.o tools/tpm2-tpm2_verifysignature.o tools/tpm2-tpm2_setcommandauditstatus.o tools/tpm2-tpm2_getcommandauditdigest.o tools/tpm2-tpm2_getsessionauditdigest.o tools/tpm2-tpm2_geteccparameters.o tools/tpm2-tpm2_ecephemeral.o tools/tpm2-tpm2_commit.o tools/tpm2-tpm2_ecdhkeygen.o tools/tpm2-tpm2_ecdhzgen.o tools/tpm2-tpm2_zgen2phase.o tools/tpm2-tpm2_sessionconfig.o tools/tpm2-tpm2_getpolicydigest.o lib/libcommon.a -ltss2-esys -ltss2-mu -lcrypto -ltss2-tctildr -ltss2-rc -ltss2-sys  -lcurl 
libtool: link: gcc -I./tools -I./lib -Wall -Wextra -Wformat -Wformat-security -Wstack-protector -fstack-protector-all -Wstrict-overflow=5 -O2 -fPIC -fPIE -D_GNU_SOURCE -std=gnu99 -Wstringop-overflow=4 -Wstringop-truncation -Wduplicated-branches -Wduplicated-cond -Wbool-compare -fdata-sections -ffunction-sections -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -I/usr/include/tss2 -DTPM2_TOOLS_MAX=102 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--gc-sections -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tools/tpm2 tools/tpm2-tpm2_tool.o tools/misc/tpm2-tpm2_certifyX509certutil.o tools/misc/tpm2-tpm2_checkquote.o tools/misc/tpm2-tpm2_encodeobject.o tools/misc/tpm2-tpm2_eventlog.o tools/misc/tpm2-tpm2_print.o tools/misc/tpm2-tpm2_rc_decode.o tools/misc/tpm2-tpm2_tr_encode.o tools/tpm2-tpm2_activatecredential.o tools/tpm2-tpm2_certify.o tools/tpm2-tpm2_changeauth.o tools/tpm2-tpm2_changeeps.o tools/tpm2-tpm2_changepps.o tools/tpm2-tpm2_clear.o tools/tpm2-tpm2_clearcontrol.o tools/tpm2-tpm2_clockrateadjust.o tools/tpm2-tpm2_create.o tools/tpm2-tpm2_createak.o tools/tpm2-tpm2_createek.o tools/tpm2-tpm2_createpolicy.o tools/tpm2-tpm2_setprimarypolicy.o tools/tpm2-tpm2_createprimary.o tools/tpm2-tpm2_dictionarylockout.o tools/tpm2-tpm2_duplicate.o tools/tpm2-tpm2_getcap.o tools/tpm2-tpm2_gettestresult.o tools/tpm2-tpm2_encryptdecrypt.o tools/tpm2-tpm2_evictcontrol.o tools/tpm2-tpm2_flushcontext.o tools/tpm2-tpm2_getekcertificate.o tools/tpm2-tpm2_getrandom.o tools/tpm2-tpm2_gettime.o tools/tpm2-tpm2_hash.o tools/tpm2-tpm2_hierarchycontrol.o tools/tpm2-tpm2_hmac.o tools/tpm2-tpm2_import.o tools/tpm2-tpm2_incrementalselftest.o tools/tpm2-tpm2_load.o tools/tpm2-tpm2_loadexternal.o tools/tpm2-tpm2_makecredential.o tools/tpm2-tpm2_nvdefine.o tools/tpm2-tpm2_nvextend.o tools/tpm2-tpm2_nvincrement.o tools/tpm2-tpm2_nvreadpublic.o tools/tpm2-tpm2_nvread.o tools/tpm2-tpm2_nvreadlock.o tools/tpm2-tpm2_nvundefine.o tools/tpm2-tpm2_nvwrite.o tools/tpm2-tpm2_nvwritelock.o tools/tpm2-tpm2_nvsetbits.o tools/tpm2-tpm2_pcrallocate.o tools/tpm2-tpm2_pcrevent.o tools/tpm2-tpm2_pcrextend.o tools/tpm2-tpm2_pcrread.o tools/tpm2-tpm2_pcrreset.o tools/tpm2-tpm2_policypcr.o tools/tpm2-tpm2_policyauthorize.o tools/tpm2-tpm2_policyauthorizenv.o tools/tpm2-tpm2_policynv.o tools/tpm2-tpm2_policycountertimer.o tools/tpm2-tpm2_policyor.o tools/tpm2-tpm2_policynamehash.o tools/tpm2-tpm2_policytemplate.o tools/tpm2-tpm2_policycphash.o tools/tpm2-tpm2_policypassword.o tools/tpm2-tpm2_policysigned.o tools/tpm2-tpm2_policyticket.o tools/tpm2-tpm2_policyauthvalue.o tools/tpm2-tpm2_policysecret.o tools/tpm2-tpm2_policyrestart.o tools/tpm2-tpm2_policycommandcode.o tools/tpm2-tpm2_policynvwritten.o tools/tpm2-tpm2_policyduplicationselect.o tools/tpm2-tpm2_policylocality.o tools/tpm2-tpm2_quote.o tools/tpm2-tpm2_readclock.o tools/tpm2-tpm2_readpublic.o tools/tpm2-tpm2_rsadecrypt.o tools/tpm2-tpm2_rsaencrypt.o tools/tpm2-tpm2_send.o tools/tpm2-tpm2_selftest.o tools/tpm2-tpm2_setclock.o tools/tpm2-tpm2_shutdown.o tools/tpm2-tpm2_sign.o tools/tpm2-tpm2_certifycreation.o tools/tpm2-tpm2_nvcertify.o tools/tpm2-tpm2_startauthsession.o tools/tpm2-tpm2_startup.o tools/tpm2-tpm2_stirrandom.o tools/tpm2-tpm2_testparms.o tools/tpm2-tpm2_unseal.o tools/tpm2-tpm2_verifysignature.o tools/tpm2-tpm2_setcommandauditstatus.o tools/tpm2-tpm2_getcommandauditdigest.o tools/tpm2-tpm2_getsessionauditdigest.o tools/tpm2-tpm2_geteccparameters.o tools/tpm2-tpm2_ecephemeral.o tools/tpm2-tpm2_commit.o tools/tpm2-tpm2_ecdhkeygen.o tools/tpm2-tpm2_ecdhzgen.o tools/tpm2-tpm2_zgen2phase.o tools/tpm2-tpm2_sessionconfig.o tools/tpm2-tpm2_getpolicydigest.o  lib/libcommon.a -ltss2-esys -ltss2-mu -lcrypto -ltss2-tctildr -ltss2-rc -ltss2-sys -lcurl
In function 'tpm2_util_object_load_tsspem',
    inlined from 'tpm2_util_object_load2' at lib/object.c:396:10:
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/object.c:304:8: warning: 'val' may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  304 |     if (!is_persistent_parent) {
      |        ^
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/object.c: In function 'tpm2_util_object_load2': <--[gcc]
/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/lib/object.c:297:14: note: 'val' was declared here <--[gcc]
  297 |     uint64_t val;
      |              ^
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""']
Finish: run

>>> 2024-07-03 18:21:53	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck"

>>> 2024-07-03 18:21:54	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\""
INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 5.6
INFO: Mock Version: 5.6
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1714262400
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SeOXmw
+ umask 022
+ cd /builddir/build/BUILD/tpm2-tools-5.7-build
+ '[' /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT
++ dirname /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/tpm2-tools-5.7-build
+ mkdir /builddir/build/BUILD/tpm2-tools-5.7-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 tpm2-tools-5.7
+ /usr/bin/make install DESTDIR=/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
make[1]: Entering directory '/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7'
 /usr/bin/mkdir -p '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -p tools/fapi/tss2 tools/tpm2 '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/bin'
libtool: install: /usr/bin/install -p tools/fapi/tss2 /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/bin/tss2
libtool: install: /usr/bin/install -p tools/tpm2 /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/bin/tpm2
/usr/bin/make  install-exec-hook
make[2]: Entering directory '/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7'
for tool in tpm2_certifyX509certutil tpm2_checkquote tpm2_encodeobject tpm2_eventlog tpm2_print tpm2_rc_decode tpm2_tr_encode tpm2_activatecredential tpm2_certify tpm2_changeauth tpm2_changeeps tpm2_changepps tpm2_clear tpm2_clearcontrol tpm2_clockrateadjust tpm2_create tpm2_createak tpm2_createek tpm2_createpolicy tpm2_setprimarypolicy tpm2_createprimary tpm2_dictionarylockout tpm2_duplicate tpm2_getcap tpm2_gettestresult tpm2_encryptdecrypt tpm2_evictcontrol tpm2_flushcontext tpm2_getekcertificate tpm2_getrandom tpm2_gettime tpm2_hash tpm2_hierarchycontrol tpm2_hmac tpm2_import tpm2_incrementalselftest tpm2_load tpm2_loadexternal tpm2_makecredential tpm2_nvdefine tpm2_nvextend tpm2_nvincrement tpm2_nvreadpublic tpm2_nvread tpm2_nvreadlock tpm2_nvundefine tpm2_nvwrite tpm2_nvwritelock tpm2_nvsetbits tpm2_pcrallocate tpm2_pcrevent tpm2_pcrextend tpm2_pcrread tpm2_pcrreset tpm2_policypcr tpm2_policyauthorize tpm2_policyauthorizenv tpm2_policynv tpm2_policycountertimer tpm2_policyor tpm2_policynamehash tpm2_policytemplate tpm2_policycphash tpm2_policypassword tpm2_policysigned tpm2_policyticket tpm2_policyauthvalue tpm2_policysecret tpm2_policyrestart tpm2_policycommandcode tpm2_policynvwritten tpm2_policyduplicationselect tpm2_policylocality tpm2_quote tpm2_readclock tpm2_readpublic tpm2_rsadecrypt tpm2_rsaencrypt tpm2_send tpm2_selftest tpm2_setclock tpm2_shutdown tpm2_sign tpm2_certifycreation tpm2_nvcertify tpm2_startauthsession tpm2_startup tpm2_stirrandom tpm2_testparms tpm2_unseal tpm2_verifysignature tpm2_setcommandauditstatus tpm2_getcommandauditdigest tpm2_getsessionauditdigest tpm2_geteccparameters tpm2_ecephemeral tpm2_commit tpm2_ecdhkeygen tpm2_ecdhzgen tpm2_zgen2phase tpm2_sessionconfig tpm2_getpolicydigest ; do \
	ln -s -f \
	"tpm2" \
	"/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/bin/$tool" ; \
done
for tool in tss2_decrypt tss2_encrypt tss2_list tss2_changeauth tss2_delete tss2_import tss2_getinfo tss2_createkey tss2_createseal tss2_exportkey tss2_getcertificate tss2_getplatformcertificates tss2_gettpmblobs tss2_getappdata tss2_gettpm2object tss2_setappdata tss2_setcertificate tss2_sign tss2_verifysignature tss2_verifyquote tss2_createnv tss2_nvextend tss2_nvincrement tss2_nvread tss2_nvsetbits tss2_nvwrite tss2_getdescription tss2_setdescription tss2_pcrextend tss2_quote tss2_pcrread tss2_authorizepolicy tss2_exportpolicy tss2_import tss2_provision tss2_getrandom tss2_unseal tss2_writeauthorizenv ; do \
	ln -s -f \
	"tss2" \
	"/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/bin/$tool" ; \
done
make[2]: Leaving directory '/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7'
 /usr/bin/mkdir -p '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/bash-completion/completions'
 /usr/bin/install -p -m 644 dist/bash-completion/tpm2-tools/tpm2_completion.bash dist/bash-completion/tpm2-tools/tss2_decrypt dist/bash-completion/tpm2-tools/tss2_encrypt dist/bash-completion/tpm2-tools/tss2_list dist/bash-completion/tpm2-tools/tss2_changeauth dist/bash-completion/tpm2-tools/tss2_delete dist/bash-completion/tpm2-tools/tss2_import dist/bash-completion/tpm2-tools/tss2_getinfo dist/bash-completion/tpm2-tools/tss2_createkey dist/bash-completion/tpm2-tools/tss2_createseal dist/bash-completion/tpm2-tools/tss2_exportkey dist/bash-completion/tpm2-tools/tss2_getcertificate dist/bash-completion/tpm2-tools/tss2_getplatformcertificates dist/bash-completion/tpm2-tools/tss2_gettpmblobs dist/bash-completion/tpm2-tools/tss2_setcertificate dist/bash-completion/tpm2-tools/tss2_getappdata dist/bash-completion/tpm2-tools/tss2_gettpm2object dist/bash-completion/tpm2-tools/tss2_setappdata dist/bash-completion/tpm2-tools/tss2_sign dist/bash-completion/tpm2-tools/tss2_verifysignature dist/bash-completion/tpm2-tools/tss2_verifyquote dist/bash-completion/tpm2-tools/tss2_createnv dist/bash-completion/tpm2-tools/tss2_nvextend dist/bash-completion/tpm2-tools/tss2_nvincrement dist/bash-completion/tpm2-tools/tss2_nvread dist/bash-completion/tpm2-tools/tss2_nvsetbits dist/bash-completion/tpm2-tools/tss2_nvwrite dist/bash-completion/tpm2-tools/tss2_getdescription dist/bash-completion/tpm2-tools/tss2_setdescription dist/bash-completion/tpm2-tools/tss2_pcrextend dist/bash-completion/tpm2-tools/tss2_quote dist/bash-completion/tpm2-tools/tss2_pcrread dist/bash-completion/tpm2-tools/tss2_authorizepolicy dist/bash-completion/tpm2-tools/tss2_exportpolicy dist/bash-completion/tpm2-tools/tss2_provision dist/bash-completion/tpm2-tools/tss2_getrandom dist/bash-completion/tpm2-tools/tss2_unseal dist/bash-completion/tpm2-tools/tss2_writeauthorizenv dist/bash-completion/tpm2-tools/tss2 '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/bash-completion/completions'
 /usr/bin/mkdir -p '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -p -m 644 man/man1/tpm2_activatecredential.1 man/man1/tpm2_certify.1 man/man1/tpm2_certifyX509certutil.1 man/man1/tpm2_changeauth.1 man/man1/tpm2_changeeps.1 man/man1/tpm2_changepps.1 man/man1/tpm2_checkquote.1 man/man1/tpm2_clear.1 man/man1/tpm2_clearcontrol.1 man/man1/tpm2_clockrateadjust.1 man/man1/tpm2_create.1 man/man1/tpm2_createak.1 man/man1/tpm2_createek.1 man/man1/tpm2_createpolicy.1 man/man1/tpm2_setprimarypolicy.1 man/man1/tpm2_createprimary.1 man/man1/tpm2_dictionarylockout.1 man/man1/tpm2_duplicate.1 man/man1/tpm2_encodeobject.1 man/man1/tpm2_getcap.1 man/man1/tpm2_encryptdecrypt.1 man/man1/tpm2_eventlog.1 man/man1/tpm2_evictcontrol.1 man/man1/tpm2_flushcontext.1 man/man1/tpm2_getekcertificate.1 man/man1/tpm2_getrandom.1 man/man1/tpm2_gettestresult.1 man/man1/tpm2_gettime.1 man/man1/tpm2_hierarchycontrol.1 man/man1/tpm2_hash.1 man/man1/tpm2_hmac.1 man/man1/tpm2_import.1 man/man1/tpm2_incrementalselftest.1 man/man1/tpm2_load.1 man/man1/tpm2_loadexternal.1 man/man1/tpm2_makecredential.1 man/man1/tpm2_nvdefine.1 man/man1/tpm2_nvextend.1 man/man1/tpm2_nvincrement.1 man/man1/tpm2_nvreadpublic.1 '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -p -m 644 man/man1/tpm2_nvread.1 man/man1/tpm2_nvreadlock.1 man/man1/tpm2_nvundefine.1 man/man1/tpm2_nvwrite.1 man/man1/tpm2_nvwritelock.1 man/man1/tpm2_nvsetbits.1 man/man1/tpm2_pcrallocate.1 man/man1/tpm2_pcrevent.1 man/man1/tpm2_pcrextend.1 man/man1/tpm2_pcrread.1 man/man1/tpm2_pcrreset.1 man/man1/tpm2_policypcr.1 man/man1/tpm2_policyrestart.1 man/man1/tpm2_policycommandcode.1 man/man1/tpm2_policynvwritten.1 man/man1/tpm2_policyduplicationselect.1 man/man1/tpm2_policylocality.1 man/man1/tpm2_policyauthorize.1 man/man1/tpm2_policyauthorizenv.1 man/man1/tpm2_policynv.1 man/man1/tpm2_policycountertimer.1 man/man1/tpm2_policyor.1 man/man1/tpm2_policynamehash.1 man/man1/tpm2_policytemplate.1 man/man1/tpm2_policycphash.1 man/man1/tpm2_policypassword.1 man/man1/tpm2_policysigned.1 man/man1/tpm2_policyticket.1 man/man1/tpm2_policyauthvalue.1 man/man1/tpm2_policysecret.1 man/man1/tpm2_print.1 man/man1/tpm2_quote.1 man/man1/tpm2_rc_decode.1 man/man1/tpm2_readclock.1 man/man1/tpm2_readpublic.1 man/man1/tpm2_rsadecrypt.1 man/man1/tpm2_rsaencrypt.1 man/man1/tpm2_send.1 man/man1/tpm2_selftest.1 man/man1/tpm2_setclock.1 '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -p -m 644 man/man1/tpm2_shutdown.1 man/man1/tpm2_sign.1 man/man1/tpm2_certifycreation.1 man/man1/tpm2_nvcertify.1 man/man1/tpm2_startauthsession.1 man/man1/tpm2_startup.1 man/man1/tpm2_stirrandom.1 man/man1/tpm2_testparms.1 man/man1/tpm2_tr_encode.1 man/man1/tpm2_unseal.1 man/man1/tpm2_verifysignature.1 man/man1/tpm2_setcommandauditstatus.1 man/man1/tpm2_getcommandauditdigest.1 man/man1/tpm2_getsessionauditdigest.1 man/man1/tpm2_geteccparameters.1 man/man1/tpm2_ecephemeral.1 man/man1/tpm2_commit.1 man/man1/tpm2_ecdhkeygen.1 man/man1/tpm2_ecdhzgen.1 man/man1/tpm2_zgen2phase.1 man/man1/tpm2_sessionconfig.1 man/man1/tpm2_getpolicydigest.1 man/man1/tpm2.1 man/man1/tss2_list.1 man/man1/tss2_changeauth.1 man/man1/tss2_delete.1 man/man1/tss2_import.1 man/man1/tss2_decrypt.1 man/man1/tss2_encrypt.1 man/man1/tss2_getinfo.1 man/man1/tss2_createnv.1 man/man1/tss2_nvread.1 man/man1/tss2_nvextend.1 man/man1/tss2_nvincrement.1 man/man1/tss2_nvsetbits.1 man/man1/tss2_nvwrite.1 man/man1/tss2_createkey.1 man/man1/tss2_createseal.1 man/man1/tss2_getcertificate.1 man/man1/tss2_getplatformcertificates.1 '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -p -m 644 man/man1/tss2_gettpmblobs.1 man/man1/tss2_getappdata.1 man/man1/tss2_gettpm2object.1 man/man1/tss2_setappdata.1 man/man1/tss2_setcertificate.1 man/man1/tss2_exportkey.1 man/man1/tss2_sign.1 man/man1/tss2_verifysignature.1 man/man1/tss2_verifyquote.1 man/man1/tss2_getdescription.1 man/man1/tss2_setdescription.1 man/man1/tss2_pcrextend.1 man/man1/tss2_quote.1 man/man1/tss2_pcrread.1 man/man1/tss2_provision.1 man/man1/tss2_authorizepolicy.1 man/man1/tss2_exportpolicy.1 man/man1/tss2_unseal.1 man/man1/tss2_import.1 man/man1/tss2_getrandom.1 man/man1/tss2_writeauthorizenv.1 '/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/man/man1'
/usr/bin/make  install-data-hook
make[2]: Entering directory '/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7'
cd /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/bash-completion/completions && \
for tool in tools/fapi/tss2 tools/tpm2; do \
	[ "${tool}" = "${tool#tools/fapi/*}" ] && ln -s -f tpm2_completion.bash ${tool##*/}; \
done
make[2]: Leaving directory '/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7'
make[1]: Leaving directory '/builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7'
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 5.7-1.fc41 --unique-debug-suffix -5.7-1.fc41.x86_64 --unique-debug-src-base tpm2-tools-5.7-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7
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/tpm2-tools-5.7-1.fc41.x86_64
3421 blocks
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT
Scanned 20 directories and 524 files,
               processed 0 inodes,
               0 modified (0 replaced + 0 rewritten),
               0 unsupported format, 0 errors
Reading /builddir/build/BUILD/tpm2-tools-5.7-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: tpm2-tools-5.7-1.fc41.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.K0HXJP
+ umask 022
+ cd /builddir/build/BUILD/tpm2-tools-5.7-build
+ cd tpm2-tools-5.7
+ DOCDIR=/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/doc/tpm2-tools
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/doc/tpm2-tools
+ cp -pr /builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/docs/README.md /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/doc/tpm2-tools
+ cp -pr /builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/docs/CHANGELOG.md /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/doc/tpm2-tools
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ae4Bai
+ umask 022
+ cd /builddir/build/BUILD/tpm2-tools-5.7-build
+ cd tpm2-tools-5.7
+ LICENSEDIR=/builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/licenses/tpm2-tools
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/licenses/tpm2-tools
+ cp -pr /builddir/build/BUILD/tpm2-tools-5.7-build/tpm2-tools-5.7/docs/LICENSE /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT/usr/share/licenses/tpm2-tools
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: tpm2-tools = 5.7-1.fc41 tpm2-tools(x86-64) = 5.7-1.fc41
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.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libtss2-esys.so.0()(64bit) libtss2-fapi.so.1()(64bit) libtss2-mu.so.0()(64bit) libtss2-rc.so.0()(64bit) libtss2-sys.so.1()(64bit) libtss2-tctildr.so.0()(64bit) rtld(GNU_HASH)
Processing files: tpm2-tools-debugsource-5.7-1.fc41.x86_64
Provides: tpm2-tools-debugsource = 5.7-1.fc41 tpm2-tools-debugsource(x86-64) = 5.7-1.fc41
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: tpm2-tools-debuginfo-5.7-1.fc41.x86_64
Provides: debuginfo(build-id) = 9a1b878cc46da49c07d5afee0f703353ed162ec3 debuginfo(build-id) = c15e113243823a49a49957b888ff16ca3c03b428 tpm2-tools-debuginfo = 5.7-1.fc41 tpm2-tools-debuginfo(x86-64) = 5.7-1.fc41
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: tpm2-tools-debugsource(x86-64) = 5.7-1.fc41
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/tpm2-tools-5.7-build/BUILDROOT
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/tpm2-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""']
Finish: run

>>> 2024-07-03 18:21:57	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err"

>>> 2024-07-03 18:21:58	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/raw-results'"
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets

>>> 2024-07-03 18:21:59	"cat '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/uni-results/cswrap-capture.js'"

>>> 2024-07-03 18:21:59	"csgrep --quiet '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/uni-results/shellcheck-capture.err'"

scan.ini: time-finished = 2024-07-03 18:21:59
scan.ini: exit-code = 0
>>> 2024-07-03 18:21:59	"cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan.ini' '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/uni-results'/* > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/scan-results-all.js'"

>>> 2024-07-03 18:21:59	"'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/scan-results-all.js' >'/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/scan-results-all.js.tmp'"

>>> 2024-07-03 18:22:00	"/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"

>>> 2024-07-03 18:22:03	"cat '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.js'"

>>> 2024-07-03 18:22:03	"cat '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.js' - | cssort > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results.js'"

>>> 2024-07-03 18:22:03	"csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results.js' > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results.err'"

>>> 2024-07-03 18:22:03	"csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results.html'"

>>> 2024-07-03 18:22:03	"csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/debug/suppressed-results-summary.txt'"

>>> 2024-07-03 18:22:03	"csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.js' > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.err'"

>>> 2024-07-03 18:22:03	"csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.js' | cshtml - > '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.html'"

>>> 2024-07-03 18:22:03	"csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results.js' | tee '/tmp/csmockez5hsour/tpm2-tools-5.7-1.fc41/scan-results-summary.txt'"
      1	CLANG_WARNING                                   	warning[deadcode.DeadStores]
      2	COMPILER_WARNING                                	warning[-Wcalloc-transposed-args]
      1	COMPILER_WARNING                                	warning[-Wmaybe-uninitialized]
     55	CPPCHECK_WARNING                                	information[normalCheckLevelMaxBranches]
      3	CPPCHECK_WARNING                                	warning[nullPointer]
      3	CPPCHECK_WARNING                                	warning[uninitvar]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-file-leak]
      7	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-malloc-leak]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-argument]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-out-of-bounds]
      4	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-argument]
      4	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-unsafe-call-within-signal-handler]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-write-to-string-literal]

<<< 2024-07-03 18:22:03	csmock exit code: 0

Wrote: /tmp/tmprtjgc5j0/tpm2-tools-5.7-1.fc41.tar.xz