starting build "90662fd1-3736-4ef6-9950-1ebba7f86e3e" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Cloning into 'oss-fuzz'... Finished Step #0 Starting Step #1 Step #1: Already have image (with digest): gcr.io/cloud-builders/docker Step #1: Sending build context to Docker daemon 16.38kB Step #1: Step 1/7 : FROM gcr.io/oss-fuzz-base/base-builder Step #1: latest: Pulling from oss-fuzz-base/base-builder Step #1: b549f31133a9: Pulling fs layer Step #1: 51df0d6876cd: Pulling fs layer Step #1: 38da3118a46e: Pulling fs layer Step #1: ec67c84a6d76: Pulling fs layer Step #1: 8bb7dd1116ca: Pulling fs layer Step #1: 1fb4fb3d2b01: Pulling fs layer Step #1: a7d3a0578149: Pulling fs layer Step #1: 23e3013e5b98: Pulling fs layer Step #1: 50e1ee57936a: Pulling fs layer Step #1: b46b6cdbb6f2: Pulling fs layer Step #1: c0d18e8fb1fa: Pulling fs layer Step #1: 29a663a40ba4: Pulling fs layer Step #1: d57e2535d3c0: Pulling fs layer Step #1: e530a9eecf2b: Pulling fs layer Step #1: 4f27abcdaf5d: Pulling fs layer Step #1: 81adce140048: Pulling fs layer Step #1: 1eaaa1542342: Pulling fs layer Step #1: 6becd2001539: Pulling fs layer Step #1: 22d4835417b0: Pulling fs layer Step #1: 601a9cbfd137: Pulling fs layer Step #1: ec67c84a6d76: Waiting Step #1: 972df7da24e8: Pulling fs layer Step #1: 535ecd0613d1: Pulling fs layer Step #1: 16949380c6e4: Pulling fs layer Step #1: c0d18e8fb1fa: Waiting Step #1: 1fb4fb3d2b01: Waiting Step #1: da4104990ff0: Pulling fs layer Step #1: c19b7fe83e8a: Pulling fs layer Step #1: 29a663a40ba4: Waiting Step #1: b46b6cdbb6f2: Waiting Step #1: 3c6277aa8e2b: Pulling fs layer Step #1: a7d3a0578149: Waiting Step #1: bcf869ca811e: Pulling fs layer Step #1: d57e2535d3c0: Waiting Step #1: 4a49dc7a9851: Pulling fs layer Step #1: 23e3013e5b98: Waiting Step #1: de9ad109123c: Pulling fs layer Step #1: 50e1ee57936a: Waiting Step #1: e530a9eecf2b: Waiting Step #1: d74dccfeea37: Pulling fs layer Step #1: 4f27abcdaf5d: Waiting Step #1: 9650ce23f886: Pulling fs layer Step #1: 972df7da24e8: Waiting Step #1: eaeb815cd75a: Pulling fs layer Step #1: 81adce140048: Waiting Step #1: 3ccdc7b565ee: Pulling fs layer Step #1: 1eaaa1542342: Waiting Step #1: 22d4835417b0: Waiting Step #1: 11c03f65d6c1: Pulling fs layer Step #1: da4104990ff0: Waiting Step #1: 535ecd0613d1: Waiting Step #1: 6becd2001539: Waiting Step #1: 601a9cbfd137: Waiting Step #1: 4a49dc7a9851: Waiting Step #1: 3c6277aa8e2b: Waiting Step #1: 16949380c6e4: Waiting Step #1: 8bb7dd1116ca: Waiting Step #1: c19b7fe83e8a: Waiting Step #1: de9ad109123c: Waiting Step #1: d74dccfeea37: Waiting Step #1: 11c03f65d6c1: Waiting Step #1: 9650ce23f886: Waiting Step #1: eaeb815cd75a: Waiting Step #1: 38da3118a46e: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 8bb7dd1116ca: Verifying Checksum Step #1: 8bb7dd1116ca: Download complete Step #1: ec67c84a6d76: Verifying Checksum Step #1: ec67c84a6d76: Download complete Step #1: 1fb4fb3d2b01: Verifying Checksum Step #1: 1fb4fb3d2b01: Download complete Step #1: 23e3013e5b98: Verifying Checksum Step #1: 23e3013e5b98: Download complete Step #1: 51df0d6876cd: Verifying Checksum Step #1: 51df0d6876cd: Download complete Step #1: 50e1ee57936a: Verifying Checksum Step #1: 50e1ee57936a: Download complete Step #1: b549f31133a9: Pull complete Step #1: c0d18e8fb1fa: Verifying Checksum Step #1: c0d18e8fb1fa: Download complete Step #1: 29a663a40ba4: Verifying Checksum Step #1: 29a663a40ba4: Download complete Step #1: d57e2535d3c0: Download complete Step #1: e530a9eecf2b: Verifying Checksum Step #1: e530a9eecf2b: Download complete Step #1: 4f27abcdaf5d: Verifying Checksum Step #1: 4f27abcdaf5d: Download complete Step #1: 81adce140048: Verifying Checksum Step #1: 81adce140048: Download complete Step #1: b46b6cdbb6f2: Verifying Checksum Step #1: b46b6cdbb6f2: Download complete Step #1: 1eaaa1542342: Verifying Checksum Step #1: 1eaaa1542342: Download complete Step #1: 6becd2001539: Verifying Checksum Step #1: 6becd2001539: Download complete Step #1: 22d4835417b0: Verifying Checksum Step #1: 22d4835417b0: Download complete Step #1: 972df7da24e8: Verifying Checksum Step #1: 972df7da24e8: Download complete Step #1: 601a9cbfd137: Verifying Checksum Step #1: 601a9cbfd137: Download complete Step #1: 535ecd0613d1: Verifying Checksum Step #1: 535ecd0613d1: Download complete Step #1: 16949380c6e4: Verifying Checksum Step #1: 16949380c6e4: Download complete Step #1: da4104990ff0: Verifying Checksum Step #1: da4104990ff0: Download complete Step #1: c19b7fe83e8a: Verifying Checksum Step #1: c19b7fe83e8a: Download complete Step #1: 3c6277aa8e2b: Verifying Checksum Step #1: 3c6277aa8e2b: Download complete Step #1: a7d3a0578149: Verifying Checksum Step #1: a7d3a0578149: Download complete Step #1: bcf869ca811e: Verifying Checksum Step #1: bcf869ca811e: Download complete Step #1: 4a49dc7a9851: Verifying Checksum Step #1: 4a49dc7a9851: Download complete Step #1: de9ad109123c: Verifying Checksum Step #1: de9ad109123c: Download complete Step #1: 9650ce23f886: Download complete Step #1: d74dccfeea37: Verifying Checksum Step #1: d74dccfeea37: Download complete Step #1: eaeb815cd75a: Verifying Checksum Step #1: eaeb815cd75a: Download complete Step #1: 11c03f65d6c1: Verifying Checksum Step #1: 11c03f65d6c1: Download complete Step #1: 3ccdc7b565ee: Download complete Step #1: 51df0d6876cd: Pull complete Step #1: 38da3118a46e: Pull complete Step #1: ec67c84a6d76: Pull complete Step #1: 8bb7dd1116ca: Pull complete Step #1: 1fb4fb3d2b01: Pull complete Step #1: a7d3a0578149: Pull complete Step #1: 23e3013e5b98: Pull complete Step #1: 50e1ee57936a: Pull complete Step #1: b46b6cdbb6f2: Pull complete Step #1: c0d18e8fb1fa: Pull complete Step #1: 29a663a40ba4: Pull complete Step #1: d57e2535d3c0: Pull complete Step #1: e530a9eecf2b: Pull complete Step #1: 4f27abcdaf5d: Pull complete Step #1: 81adce140048: Pull complete Step #1: 1eaaa1542342: Pull complete Step #1: 6becd2001539: Pull complete Step #1: 22d4835417b0: Pull complete Step #1: 601a9cbfd137: Pull complete Step #1: 972df7da24e8: Pull complete Step #1: 535ecd0613d1: Pull complete Step #1: 16949380c6e4: Pull complete Step #1: da4104990ff0: Pull complete Step #1: c19b7fe83e8a: Pull complete Step #1: 3c6277aa8e2b: Pull complete Step #1: bcf869ca811e: Pull complete Step #1: 4a49dc7a9851: Pull complete Step #1: de9ad109123c: Pull complete Step #1: d74dccfeea37: Pull complete Step #1: 9650ce23f886: Pull complete Step #1: eaeb815cd75a: Pull complete Step #1: 3ccdc7b565ee: Pull complete Step #1: 11c03f65d6c1: Pull complete Step #1: Digest: sha256:718d1e1f9fed057967ab647b50af41708389951cff904f6fdaac999ad1b3973e Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> 01958c5bb573 Step #1: Step 2/7 : RUN apt-get update && apt-get install -y make autoconf automake libtool libtool-bin Step #1: ---> Running in be59a1ea6464 Step #1: Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB] Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Fetched 128 kB in 1s (136 kB/s) Step #1: Reading package lists... Step #1: Reading package lists... Step #1: Building dependency tree... Step #1: Reading state information... Step #1: make is already the newest version (4.2.1-1.2). Step #1: make set to manually installed. Step #1: The following additional packages will be installed: Step #1: autotools-dev file libltdl-dev libltdl7 libmagic-mgc libmagic1 libsigsegv2 Step #1: m4 Step #1: Suggested packages: Step #1: autoconf-archive gnu-standards autoconf-doc gettext libtool-doc gfortran Step #1: | fortran95-compiler gcj-jdk m4-doc Step #1: The following NEW packages will be installed: Step #1: autoconf automake autotools-dev file libltdl-dev libltdl7 libmagic-mgc Step #1: libmagic1 libsigsegv2 libtool libtool-bin m4 Step #1: 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 1854 kB of archives. Step #1: After this operation, 13.2 MB of additional disk space will be used. Step #1: Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libmagic-mgc amd64 1:5.38-4 [218 kB] Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 libmagic1 amd64 1:5.38-4 [75.9 kB] Step #1: Get:3 http://archive.ubuntu.com/ubuntu focal/main amd64 file amd64 1:5.38-4 [23.3 kB] Step #1: Get:4 http://archive.ubuntu.com/ubuntu focal/main amd64 libsigsegv2 amd64 2.12-2 [13.9 kB] Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal/main amd64 m4 amd64 1.4.18-4 [199 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal/main amd64 autoconf all 2.69-11.1 [321 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 autotools-dev all 20180224.1 [39.6 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal/main amd64 automake all 1:1.16.1-4ubuntu6 [522 kB] Step #1: Get:9 http://archive.ubuntu.com/ubuntu focal/main amd64 libltdl7 amd64 2.4.6-14 [38.5 kB] Step #1: Get:10 http://archive.ubuntu.com/ubuntu focal/main amd64 libltdl-dev amd64 2.4.6-14 [162 kB] Step #1: Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 libtool all 2.4.6-14 [161 kB] Step #1: Get:12 http://archive.ubuntu.com/ubuntu focal/main amd64 libtool-bin amd64 2.4.6-14 [80.1 kB] Step #1: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 1854 kB in 1s (1556 kB/s) Step #1: Selecting previously unselected package libmagic-mgc. Step #1: (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17393 files and directories currently installed.) Step #1: Preparing to unpack .../00-libmagic-mgc_1%3a5.38-4_amd64.deb ... Step #1: Unpacking libmagic-mgc (1:5.38-4) ... Step #1: Selecting previously unselected package libmagic1:amd64. Step #1: Preparing to unpack .../01-libmagic1_1%3a5.38-4_amd64.deb ... Step #1: Unpacking libmagic1:amd64 (1:5.38-4) ... Step #1: Selecting previously unselected package file. Step #1: Preparing to unpack .../02-file_1%3a5.38-4_amd64.deb ... Step #1: Unpacking file (1:5.38-4) ... Step #1: Selecting previously unselected package libsigsegv2:amd64. Step #1: Preparing to unpack .../03-libsigsegv2_2.12-2_amd64.deb ... Step #1: Unpacking libsigsegv2:amd64 (2.12-2) ... Step #1: Selecting previously unselected package m4. Step #1: Preparing to unpack .../04-m4_1.4.18-4_amd64.deb ... Step #1: Unpacking m4 (1.4.18-4) ... Step #1: Selecting previously unselected package autoconf. Step #1: Preparing to unpack .../05-autoconf_2.69-11.1_all.deb ... Step #1: Unpacking autoconf (2.69-11.1) ... Step #1: Selecting previously unselected package autotools-dev. Step #1: Preparing to unpack .../06-autotools-dev_20180224.1_all.deb ... Step #1: Unpacking autotools-dev (20180224.1) ... Step #1: Selecting previously unselected package automake. Step #1: Preparing to unpack .../07-automake_1%3a1.16.1-4ubuntu6_all.deb ... Step #1: Unpacking automake (1:1.16.1-4ubuntu6) ... Step #1: Selecting previously unselected package libltdl7:amd64. Step #1: Preparing to unpack .../08-libltdl7_2.4.6-14_amd64.deb ... Step #1: Unpacking libltdl7:amd64 (2.4.6-14) ... Step #1: Selecting previously unselected package libltdl-dev:amd64. Step #1: Preparing to unpack .../09-libltdl-dev_2.4.6-14_amd64.deb ... Step #1: Unpacking libltdl-dev:amd64 (2.4.6-14) ... Step #1: Selecting previously unselected package libtool. Step #1: Preparing to unpack .../10-libtool_2.4.6-14_all.deb ... Step #1: Unpacking libtool (2.4.6-14) ... Step #1: Selecting previously unselected package libtool-bin. Step #1: Preparing to unpack .../11-libtool-bin_2.4.6-14_amd64.deb ... Step #1: Unpacking libtool-bin (2.4.6-14) ... Step #1: Setting up libmagic-mgc (1:5.38-4) ... Step #1: Setting up libmagic1:amd64 (1:5.38-4) ... Step #1: Setting up file (1:5.38-4) ... Step #1: Setting up autotools-dev (20180224.1) ... Step #1: Setting up libsigsegv2:amd64 (2.12-2) ... Step #1: Setting up libltdl7:amd64 (2.4.6-14) ... Step #1: Setting up libtool (2.4.6-14) ... Step #1: Setting up m4 (1.4.18-4) ... Step #1: Setting up autoconf (2.69-11.1) ... Step #1: Setting up automake (1:1.16.1-4ubuntu6) ... Step #1: update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/automake.1.gz because associated file /usr/share/man/man1/automake-1.16.1.gz (of link group automake) doesn't exist Step #1: update-alternatives: warning: skip creation of /usr/share/man/man1/aclocal.1.gz because associated file /usr/share/man/man1/aclocal-1.16.1.gz (of link group automake) doesn't exist Step #1: Setting up libtool-bin (2.4.6-14) ... Step #1: Setting up libltdl-dev:amd64 (2.4.6-14) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.16) ... Step #1: Removing intermediate container be59a1ea6464 Step #1: ---> 092d4ff6ca5f Step #1: Step 3/7 : RUN git clone https://github.com/stephane/libmodbus.git Step #1: ---> Running in a0a6db5f112a Step #1: Cloning into 'libmodbus'... Step #1: Removing intermediate container a0a6db5f112a Step #1: ---> 31272bd4dccf Step #1: Step 4/7 : RUN git clone https://github.com/pkillarjun/oss-fuzz-bloat.git Step #1: ---> Running in a2ce3b85d71c Step #1: Cloning into 'oss-fuzz-bloat'... Step #1: Removing intermediate container a2ce3b85d71c Step #1: ---> e6c09519aab7 Step #1: Step 5/7 : COPY build.sh $SRC/ Step #1: ---> 4ddb60433cca Step #1: Step 6/7 : COPY fuzz/ $SRC/libmodbus/fuzz/ Step #1: ---> 9c6c6963b9ca Step #1: Step 7/7 : WORKDIR $SRC/libmodbus/ Step #1: ---> Running in 6c22c3c2ecce Step #1: Removing intermediate container 6c22c3c2ecce Step #1: ---> 1430f6562a4c Step #1: Successfully built 1430f6562a4c Step #1: Successfully tagged gcr.io/oss-fuzz/libmodbus:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/libmodbus Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileuyhJGM Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ c == \g\o ]] Step #2 - "srcmap": ++ find /src -name .git -type d Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/libmodbus/.git Step #2 - "srcmap": + GIT_DIR=/src/libmodbus Step #2 - "srcmap": + cd /src/libmodbus Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/stephane/libmodbus.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=bb1344325025e59bb33144394bdacd8298283834 Step #2 - "srcmap": + jq_inplace /tmp/fileuyhJGM '."/src/libmodbus" = { type: "git", url: "https://github.com/stephane/libmodbus.git", rev: "bb1344325025e59bb33144394bdacd8298283834" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileDTOYh9 Step #2 - "srcmap": + cat /tmp/fileuyhJGM Step #2 - "srcmap": + jq '."/src/libmodbus" = { type: "git", url: "https://github.com/stephane/libmodbus.git", rev: "bb1344325025e59bb33144394bdacd8298283834" }' Step #2 - "srcmap": + mv /tmp/fileDTOYh9 /tmp/fileuyhJGM Step #2 - "srcmap": + for DOT_GIT_DIR in $(find $PATHS_TO_SCAN -name ".git" -type d) Step #2 - "srcmap": ++ dirname /src/oss-fuzz-bloat/.git Step #2 - "srcmap": + GIT_DIR=/src/oss-fuzz-bloat Step #2 - "srcmap": + cd /src/oss-fuzz-bloat Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/pkillarjun/oss-fuzz-bloat.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=4e52c62eecf2c7d9405d4992b4b297cf193c28ae Step #2 - "srcmap": + jq_inplace /tmp/fileuyhJGM '."/src/oss-fuzz-bloat" = { type: "git", url: "https://github.com/pkillarjun/oss-fuzz-bloat.git", rev: "4e52c62eecf2c7d9405d4992b4b297cf193c28ae" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/filej403uI Step #2 - "srcmap": + cat /tmp/fileuyhJGM Step #2 - "srcmap": + jq '."/src/oss-fuzz-bloat" = { type: "git", url: "https://github.com/pkillarjun/oss-fuzz-bloat.git", rev: "4e52c62eecf2c7d9405d4992b4b297cf193c28ae" }' Step #2 - "srcmap": + mv /tmp/filej403uI /tmp/fileuyhJGM Step #2 - "srcmap": ++ find /src -name .svn -type d Step #2 - "srcmap": ++ find /src -name .hg -type d Step #2 - "srcmap": + '[' '' '!=' '' ']' Step #2 - "srcmap": + cat /tmp/fileuyhJGM Step #2 - "srcmap": + rm /tmp/fileuyhJGM Step #2 - "srcmap": { Step #2 - "srcmap": "/src/libmodbus": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/stephane/libmodbus.git", Step #2 - "srcmap": "rev": "bb1344325025e59bb33144394bdacd8298283834" Step #2 - "srcmap": }, Step #2 - "srcmap": "/src/oss-fuzz-bloat": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/pkillarjun/oss-fuzz-bloat.git", Step #2 - "srcmap": "rev": "4e52c62eecf2c7d9405d4992b4b297cf193c28ae" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-afl-address-x86_64" Step #3 - "compile-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-afl-address-x86_64": Copying precompiled AFL++ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": AFL++ target compilation setup: Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_UNKNOWN_ENVS=1 Step #3 - "compile-afl-address-x86_64": AFL_QUIET=1 Step #3 - "compile-afl-address-x86_64": AFL_IGNORE_PROBLEMS=1 Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": done. Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": CC=/src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": CXX=/src/aflplusplus/afl-clang-fast++ Step #3 - "compile-afl-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope Step #3 - "compile-afl-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ Step #3 - "compile-afl-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-afl-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-afl-address-x86_64": + cd fuzz Step #3 - "compile-afl-address-x86_64": + make all Step #3 - "compile-afl-address-x86_64": cd ../ && ./autogen.sh Step #3 - "compile-afl-address-x86_64": libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. Step #3 - "compile-afl-address-x86_64": libtoolize: linking file 'build-aux/ltmain.sh' Step #3 - "compile-afl-address-x86_64": libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. Step #3 - "compile-afl-address-x86_64": libtoolize: linking file 'm4/libtool.m4' Step #3 - "compile-afl-address-x86_64": libtoolize: linking file 'm4/ltoptions.m4' Step #3 - "compile-afl-address-x86_64": libtoolize: linking file 'm4/ltsugar.m4' Step #3 - "compile-afl-address-x86_64": libtoolize: linking file 'm4/ltversion.m4' Step #3 - "compile-afl-address-x86_64": libtoolize: linking file 'm4/lt~obsolete.m4' Step #3 - "compile-afl-address-x86_64": configure.ac:33: installing 'build-aux/compile' Step #3 - "compile-afl-address-x86_64": configure.ac:56: installing 'build-aux/config.guess' Step #3 - "compile-afl-address-x86_64": configure.ac:56: installing 'build-aux/config.sub' Step #3 - "compile-afl-address-x86_64": configure.ac:32: installing 'build-aux/install-sh' Step #3 - "compile-afl-address-x86_64": configure.ac:32: installing 'build-aux/missing' Step #3 - "compile-afl-address-x86_64": src/Makefile.am: installing 'build-aux/depcomp' Step #3 - "compile-afl-address-x86_64": parallel-tests: installing 'build-aux/test-driver' Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": ------------------------------------------------------ Step #3 - "compile-afl-address-x86_64": Initialized build system. You can now run ./configure Step #3 - "compile-afl-address-x86_64": ------------------------------------------------------ Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": cd ../ && ./configure --disable-shared CC=/src/aflplusplus/afl-clang-fast CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope " LDFLAGS="" Step #3 - "compile-afl-address-x86_64": checking for a BSD-compatible install... /usr/bin/install -c Step #3 - "compile-afl-address-x86_64": checking whether build environment is sane... yes Step #3 - "compile-afl-address-x86_64": checking for a thread-safe mkdir -p... /usr/bin/mkdir -p Step #3 - "compile-afl-address-x86_64": checking for gawk... no Step #3 - "compile-afl-address-x86_64": checking for mawk... mawk Step #3 - "compile-afl-address-x86_64": checking whether make sets $(MAKE)... yes Step #3 - "compile-afl-address-x86_64": checking whether make supports nested variables... yes Step #3 - "compile-afl-address-x86_64": checking how to create a pax tar archive... gnutar Step #3 - "compile-afl-address-x86_64": checking for gcc... /src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": checking whether the C compiler works... yes Step #3 - "compile-afl-address-x86_64": checking for C compiler default output file name... a.out Step #3 - "compile-afl-address-x86_64": checking for suffix of executables... Step #3 - "compile-afl-address-x86_64": checking whether we are cross compiling... no Step #3 - "compile-afl-address-x86_64": checking for suffix of object files... o Step #3 - "compile-afl-address-x86_64": checking whether we are using the GNU C compiler... yes Step #3 - "compile-afl-address-x86_64": checking whether /src/aflplusplus/afl-clang-fast accepts -g... yes Step #3 - "compile-afl-address-x86_64": checking for /src/aflplusplus/afl-clang-fast option to accept ISO C89... none needed Step #3 - "compile-afl-address-x86_64": checking whether /src/aflplusplus/afl-clang-fast understands -c and -o together... yes Step #3 - "compile-afl-address-x86_64": checking whether make supports the include directive... yes (GNU style) Step #3 - "compile-afl-address-x86_64": checking dependency style of /src/aflplusplus/afl-clang-fast... gcc3 Step #3 - "compile-afl-address-x86_64": checking how to run the C preprocessor... /src/aflplusplus/afl-clang-fast -E Step #3 - "compile-afl-address-x86_64": checking for grep that handles long lines and -e... /usr/bin/grep Step #3 - "compile-afl-address-x86_64": checking for egrep... /usr/bin/grep -E Step #3 - "compile-afl-address-x86_64": checking for ANSI C header files... yes Step #3 - "compile-afl-address-x86_64": checking for sys/types.h... yes Step #3 - "compile-afl-address-x86_64": checking for sys/stat.h... yes Step #3 - "compile-afl-address-x86_64": checking for stdlib.h... yes Step #3 - "compile-afl-address-x86_64": checking for string.h... yes Step #3 - "compile-afl-address-x86_64": checking for memory.h... yes Step #3 - "compile-afl-address-x86_64": checking for strings.h... yes Step #3 - "compile-afl-address-x86_64": checking for inttypes.h... yes Step #3 - "compile-afl-address-x86_64": checking for stdint.h... yes Step #3 - "compile-afl-address-x86_64": checking for unistd.h... yes Step #3 - "compile-afl-address-x86_64": checking minix/config.h usability... no Step #3 - "compile-afl-address-x86_64": checking minix/config.h presence... no Step #3 - "compile-afl-address-x86_64": checking for minix/config.h... no Step #3 - "compile-afl-address-x86_64": checking whether it is safe to define __EXTENSIONS__... yes Step #3 - "compile-afl-address-x86_64": checking for special C compiler options needed for large files... no Step #3 - "compile-afl-address-x86_64": checking for _FILE_OFFSET_BITS value needed for large files... no Step #3 - "compile-afl-address-x86_64": checking whether make supports nested variables... (cached) yes Step #3 - "compile-afl-address-x86_64": checking build system type... x86_64-pc-linux-gnu Step #3 - "compile-afl-address-x86_64": checking host system type... x86_64-pc-linux-gnu Step #3 - "compile-afl-address-x86_64": checking how to print strings... printf Step #3 - "compile-afl-address-x86_64": checking for a sed that does not truncate output... /usr/bin/sed Step #3 - "compile-afl-address-x86_64": checking for fgrep... /usr/bin/grep -F Step #3 - "compile-afl-address-x86_64": checking for ld used by /src/aflplusplus/afl-clang-fast... /usr/bin/ld Step #3 - "compile-afl-address-x86_64": checking if the linker (/usr/bin/ld) is GNU ld... yes Step #3 - "compile-afl-address-x86_64": checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B Step #3 - "compile-afl-address-x86_64": checking the name lister (/usr/bin/nm -B) interface... BSD nm Step #3 - "compile-afl-address-x86_64": checking whether ln -s works... yes Step #3 - "compile-afl-address-x86_64": checking the maximum length of command line arguments... 1572864 Step #3 - "compile-afl-address-x86_64": checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop Step #3 - "compile-afl-address-x86_64": checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop Step #3 - "compile-afl-address-x86_64": checking for /usr/bin/ld option to reload object files... -r Step #3 - "compile-afl-address-x86_64": checking for objdump... objdump Step #3 - "compile-afl-address-x86_64": checking how to recognize dependent libraries... pass_all Step #3 - "compile-afl-address-x86_64": checking for dlltool... no Step #3 - "compile-afl-address-x86_64": checking how to associate runtime and link libraries... printf %s\n Step #3 - "compile-afl-address-x86_64": checking for ar... ar Step #3 - "compile-afl-address-x86_64": checking for archiver @FILE support... @ Step #3 - "compile-afl-address-x86_64": checking for strip... strip Step #3 - "compile-afl-address-x86_64": checking for ranlib... ranlib Step #3 - "compile-afl-address-x86_64": checking command to parse /usr/bin/nm -B output from /src/aflplusplus/afl-clang-fast object... ok Step #3 - "compile-afl-address-x86_64": checking for sysroot... no Step #3 - "compile-afl-address-x86_64": checking for a working dd... /usr/bin/dd Step #3 - "compile-afl-address-x86_64": checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 Step #3 - "compile-afl-address-x86_64": checking for mt... no Step #3 - "compile-afl-address-x86_64": checking if : is a manifest tool... no Step #3 - "compile-afl-address-x86_64": checking for dlfcn.h... yes Step #3 - "compile-afl-address-x86_64": checking for objdir... .libs Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast supports -fno-rtti -fno-exceptions... yes Step #3 - "compile-afl-address-x86_64": checking for /src/aflplusplus/afl-clang-fast option to produce PIC... -fPIC -DPIC Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast PIC flag -fPIC -DPIC works... yes Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast static flag -static works... no Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast supports -c -o file.o... yes Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast supports -c -o file.o... (cached) yes Step #3 - "compile-afl-address-x86_64": checking whether the /src/aflplusplus/afl-clang-fast linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #3 - "compile-afl-address-x86_64": checking dynamic linker characteristics... GNU/Linux ld.so Step #3 - "compile-afl-address-x86_64": checking how to hardcode library paths into programs... immediate Step #3 - "compile-afl-address-x86_64": checking whether stripping libraries is possible... yes Step #3 - "compile-afl-address-x86_64": checking if libtool supports shared libraries... yes Step #3 - "compile-afl-address-x86_64": checking whether to build shared libraries... no Step #3 - "compile-afl-address-x86_64": checking whether to build static libraries... yes Step #3 - "compile-afl-address-x86_64": checking arpa/inet.h usability... yes Step #3 - "compile-afl-address-x86_64": checking arpa/inet.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for arpa/inet.h... yes Step #3 - "compile-afl-address-x86_64": checking byteswap.h usability... yes Step #3 - "compile-afl-address-x86_64": checking byteswap.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for byteswap.h... yes Step #3 - "compile-afl-address-x86_64": checking errno.h usability... yes Step #3 - "compile-afl-address-x86_64": checking errno.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for errno.h... yes Step #3 - "compile-afl-address-x86_64": checking fcntl.h usability... yes Step #3 - "compile-afl-address-x86_64": checking fcntl.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for fcntl.h... yes Step #3 - "compile-afl-address-x86_64": checking limits.h usability... yes Step #3 - "compile-afl-address-x86_64": checking limits.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for limits.h... yes Step #3 - "compile-afl-address-x86_64": checking linux/serial.h usability... yes Step #3 - "compile-afl-address-x86_64": checking linux/serial.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for linux/serial.h... yes Step #3 - "compile-afl-address-x86_64": checking netdb.h usability... yes Step #3 - "compile-afl-address-x86_64": checking netdb.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for netdb.h... yes Step #3 - "compile-afl-address-x86_64": checking netinet/in.h usability... yes Step #3 - "compile-afl-address-x86_64": checking netinet/in.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for netinet/in.h... yes Step #3 - "compile-afl-address-x86_64": checking netinet/ip.h usability... yes Step #3 - "compile-afl-address-x86_64": checking netinet/ip.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for netinet/ip.h... yes Step #3 - "compile-afl-address-x86_64": checking netinet/tcp.h usability... yes Step #3 - "compile-afl-address-x86_64": checking netinet/tcp.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for netinet/tcp.h... yes Step #3 - "compile-afl-address-x86_64": checking sys/ioctl.h usability... yes Step #3 - "compile-afl-address-x86_64": checking sys/ioctl.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for sys/ioctl.h... yes Step #3 - "compile-afl-address-x86_64": checking sys/params.h usability... no Step #3 - "compile-afl-address-x86_64": checking sys/params.h presence... no Step #3 - "compile-afl-address-x86_64": checking for sys/params.h... no Step #3 - "compile-afl-address-x86_64": checking sys/socket.h usability... yes Step #3 - "compile-afl-address-x86_64": checking sys/socket.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for sys/socket.h... yes Step #3 - "compile-afl-address-x86_64": checking sys/time.h usability... yes Step #3 - "compile-afl-address-x86_64": checking sys/time.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for sys/time.h... yes Step #3 - "compile-afl-address-x86_64": checking for sys/types.h... (cached) yes Step #3 - "compile-afl-address-x86_64": checking termios.h usability... yes Step #3 - "compile-afl-address-x86_64": checking termios.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for termios.h... yes Step #3 - "compile-afl-address-x86_64": checking time.h usability... yes Step #3 - "compile-afl-address-x86_64": checking time.h presence... yes Step #3 - "compile-afl-address-x86_64": checking for time.h... yes Step #3 - "compile-afl-address-x86_64": checking for unistd.h... (cached) yes Step #3 - "compile-afl-address-x86_64": checking whether __CYGWIN__ is declared... no Step #3 - "compile-afl-address-x86_64": checking for library containing accept... none required Step #3 - "compile-afl-address-x86_64": checking for accept4... yes Step #3 - "compile-afl-address-x86_64": checking for gai_strerror... yes Step #3 - "compile-afl-address-x86_64": checking for getaddrinfo... yes Step #3 - "compile-afl-address-x86_64": checking for gettimeofday... yes Step #3 - "compile-afl-address-x86_64": checking for inet_pton... yes Step #3 - "compile-afl-address-x86_64": checking for inet_ntop... yes Step #3 - "compile-afl-address-x86_64": checking for select... yes Step #3 - "compile-afl-address-x86_64": checking for socket... yes Step #3 - "compile-afl-address-x86_64": checking for strerror... yes Step #3 - "compile-afl-address-x86_64": checking for strlcpy... no Step #3 - "compile-afl-address-x86_64": checking for inline... inline Step #3 - "compile-afl-address-x86_64": checking whether we are using the GNU C++ compiler... yes Step #3 - "compile-afl-address-x86_64": checking whether /src/aflplusplus/afl-clang-fast++ accepts -g... yes Step #3 - "compile-afl-address-x86_64": checking dependency style of /src/aflplusplus/afl-clang-fast++... gcc3 Step #3 - "compile-afl-address-x86_64": checking how to run the C++ preprocessor... /src/aflplusplus/afl-clang-fast++ -E Step #3 - "compile-afl-address-x86_64": checking for ld used by /src/aflplusplus/afl-clang-fast++... /usr/bin/ld -m elf_x86_64 Step #3 - "compile-afl-address-x86_64": checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes Step #3 - "compile-afl-address-x86_64": checking whether the /src/aflplusplus/afl-clang-fast++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #3 - "compile-afl-address-x86_64": checking for /src/aflplusplus/afl-clang-fast++ option to produce PIC... -fPIC -DPIC Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast++ PIC flag -fPIC -DPIC works... yes Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast++ static flag -static works... no Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast++ supports -c -o file.o... yes Step #3 - "compile-afl-address-x86_64": checking if /src/aflplusplus/afl-clang-fast++ supports -c -o file.o... (cached) yes Step #3 - "compile-afl-address-x86_64": checking whether the /src/aflplusplus/afl-clang-fast++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #3 - "compile-afl-address-x86_64": checking dynamic linker characteristics... (cached) GNU/Linux ld.so Step #3 - "compile-afl-address-x86_64": checking how to hardcode library paths into programs... immediate Step #3 - "compile-afl-address-x86_64": checking for int64_t... yes Step #3 - "compile-afl-address-x86_64": checking for size_t... yes Step #3 - "compile-afl-address-x86_64": checking for ssize_t... yes Step #3 - "compile-afl-address-x86_64": checking for uint16_t... yes Step #3 - "compile-afl-address-x86_64": checking for uint32_t... yes Step #3 - "compile-afl-address-x86_64": checking for uint8_t... yes Step #3 - "compile-afl-address-x86_64": checking winsock2.h usability... no Step #3 - "compile-afl-address-x86_64": checking winsock2.h presence... no Step #3 - "compile-afl-address-x86_64": checking for winsock2.h... no Step #3 - "compile-afl-address-x86_64": checking whether TIOCSRS485 is declared... yes Step #3 - "compile-afl-address-x86_64": checking whether TIOCM_RTS is declared... yes Step #3 - "compile-afl-address-x86_64": checking that generated files are newer than configure... done Step #3 - "compile-afl-address-x86_64": configure: creating ./config.status Step #3 - "compile-afl-address-x86_64": config.status: creating Makefile Step #3 - "compile-afl-address-x86_64": config.status: creating src/Makefile Step #3 - "compile-afl-address-x86_64": config.status: creating src/modbus-version.h Step #3 - "compile-afl-address-x86_64": config.status: creating src/win32/modbus.dll.manifest Step #3 - "compile-afl-address-x86_64": config.status: creating tests/Makefile Step #3 - "compile-afl-address-x86_64": config.status: creating libmodbus.pc Step #3 - "compile-afl-address-x86_64": config.status: creating config.h Step #3 - "compile-afl-address-x86_64": config.status: creating tests/unit-test.h Step #3 - "compile-afl-address-x86_64": config.status: executing depfiles commands Step #3 - "compile-afl-address-x86_64": config.status: executing libtool commands Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": libmodbus 3.1.11 Step #3 - "compile-afl-address-x86_64": =============== Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": prefix: /usr/local Step #3 - "compile-afl-address-x86_64": sysconfdir: ${prefix}/etc Step #3 - "compile-afl-address-x86_64": libdir: ${exec_prefix}/lib Step #3 - "compile-afl-address-x86_64": includedir: ${prefix}/include Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": compiler: /src/aflplusplus/afl-clang-fast Step #3 - "compile-afl-address-x86_64": cflags: -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security Step #3 - "compile-afl-address-x86_64": ldflags: Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": tests: yes Step #3 - "compile-afl-address-x86_64": Step #3 - "compile-afl-address-x86_64": cd ../ && make -j Step #3 - "compile-afl-address-x86_64": make[1]: Entering directory '/src/libmodbus' Step #3 - "compile-afl-address-x86_64": make --no-print-directory all-recursive Step #3 - "compile-afl-address-x86_64": Making all in src Step #3 - "compile-afl-address-x86_64": CC modbus.lo Step #3 - "compile-afl-address-x86_64": CC modbus-data.lo Step #3 - "compile-afl-address-x86_64": CC modbus-rtu.lo Step #3 - "compile-afl-address-x86_64": CC modbus-tcp.lo Step #3 - "compile-afl-address-x86_64": CCLD libmodbus.la Step #3 - "compile-afl-address-x86_64": Making all in tests Step #3 - "compile-afl-address-x86_64": make all-am Step #3 - "compile-afl-address-x86_64": CC bandwidth-server-one.o Step #3 - "compile-afl-address-x86_64": CC bandwidth-server-many-up.o Step #3 - "compile-afl-address-x86_64": CC bandwidth-client.o Step #3 - "compile-afl-address-x86_64": CC random-test-server.o Step #3 - "compile-afl-address-x86_64": CC random-test-client.o Step #3 - "compile-afl-address-x86_64": CC unit-test-client.o Step #3 - "compile-afl-address-x86_64": CC unit-test-server.o Step #3 - "compile-afl-address-x86_64": CC version.o Step #3 - "compile-afl-address-x86_64": CCLD version Step #3 - "compile-afl-address-x86_64": CCLD random-test-server Step #3 - "compile-afl-address-x86_64": CCLD bandwidth-server-one Step #3 - "compile-afl-address-x86_64": CCLD bandwidth-server-many-up Step #3 - "compile-afl-address-x86_64": CCLD bandwidth-client Step #3 - "compile-afl-address-x86_64": CCLD unit-test-server Step #3 - "compile-afl-address-x86_64": CCLD random-test-client Step #3 - "compile-afl-address-x86_64": CCLD unit-test-client Step #3 - "compile-afl-address-x86_64": make[1]: Leaving directory '/src/libmodbus' Step #3 - "compile-afl-address-x86_64": cp ../tests/unit-test.h . Step #3 - "compile-afl-address-x86_64": /src/aflplusplus/afl-clang-fast -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -I../src/ -c FuzzClient.c Step #3 - "compile-afl-address-x86_64": FuzzClient.c:100:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #3 - "compile-afl-address-x86_64": 100 | fuzzer->buffer = data; Step #3 - "compile-afl-address-x86_64": |  ^ ~~~~ Step #3 - "compile-afl-address-x86_64": 1 warning generated. Step #3 - "compile-afl-address-x86_64": libtool --mode=link --tag=CXX /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ../src/libmodbus.la /usr/lib/libFuzzingEngine.a FuzzClient.o -o FuzzClient Step #3 - "compile-afl-address-x86_64": libtool: link: /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope FuzzClient.o -o FuzzClient ../src/.libs/libmodbus.a /usr/lib/libFuzzingEngine.a Step #3 - "compile-afl-address-x86_64": /src/aflplusplus/afl-clang-fast -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -I../src/ -c FuzzServer.c Step #3 - "compile-afl-address-x86_64": FuzzServer.c:82:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #3 - "compile-afl-address-x86_64": 82 | fuzzer->buffer = data; Step #3 - "compile-afl-address-x86_64": |  ^ ~~~~ Step #3 - "compile-afl-address-x86_64": 1 warning generated. Step #3 - "compile-afl-address-x86_64": libtool --mode=link --tag=CXX /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope ../src/libmodbus.la /usr/lib/libFuzzingEngine.a FuzzServer.o -o FuzzServer Step #3 - "compile-afl-address-x86_64": libtool: link: /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope FuzzServer.o -o FuzzServer ../src/.libs/libmodbus.a /usr/lib/libFuzzingEngine.a Step #3 - "compile-afl-address-x86_64": + cp FuzzClient /workspace/out/afl-address-x86_64/FuzzClient Step #3 - "compile-afl-address-x86_64": + cp FuzzServer /workspace/out/afl-address-x86_64/FuzzServer Step #3 - "compile-afl-address-x86_64": + pushd /src/oss-fuzz-bloat/libmodbus/ Step #3 - "compile-afl-address-x86_64": /src/oss-fuzz-bloat/libmodbus /src/libmodbus/fuzz Step #3 - "compile-afl-address-x86_64": + cp FuzzClient_seed_corpus.zip /workspace/out/afl-address-x86_64/FuzzClient_seed_corpus.zip Step #3 - "compile-afl-address-x86_64": + cp FuzzServer_seed_corpus.zip /workspace/out/afl-address-x86_64/FuzzServer_seed_corpus.zip Step #3 - "compile-afl-address-x86_64": + popd Step #3 - "compile-afl-address-x86_64": /src/libmodbus/fuzz Finished Step #3 - "compile-afl-address-x86_64" Starting Step #4 - "build-check-afl-address-x86_64" Step #4 - "build-check-afl-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-afl-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-afl-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-afl-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-afl-address-x86_64": 51df0d6876cd: Already exists Step #4 - "build-check-afl-address-x86_64": 38da3118a46e: Already exists Step #4 - "build-check-afl-address-x86_64": 76485c50adab: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 6e454ec0415e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": fcc56198b7b3: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 839d42049c75: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 9b7f47b799be: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 885b716fb19d: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 1f82e1e2eaac: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 3582fe5817de: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a221f9a44ef5: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": e9f45d43ad23: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": db56863ee7be: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 84816e0f3769: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a6399624745a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0715e4009fac: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 4e5763569d03: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 7f4c947f7af3: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 30d1cf1bf2b4: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 3582fe5817de: Waiting Step #4 - "build-check-afl-address-x86_64": 0715e4009fac: Waiting Step #4 - "build-check-afl-address-x86_64": a221f9a44ef5: Waiting Step #4 - "build-check-afl-address-x86_64": 4e5763569d03: Waiting Step #4 - "build-check-afl-address-x86_64": 84816e0f3769: Waiting Step #4 - "build-check-afl-address-x86_64": 7f4c947f7af3: Waiting Step #4 - "build-check-afl-address-x86_64": e9f45d43ad23: Waiting Step #4 - "build-check-afl-address-x86_64": db56863ee7be: Waiting Step #4 - "build-check-afl-address-x86_64": 30d1cf1bf2b4: Waiting Step #4 - "build-check-afl-address-x86_64": a6399624745a: Waiting Step #4 - "build-check-afl-address-x86_64": 9b7f47b799be: Waiting Step #4 - "build-check-afl-address-x86_64": 885b716fb19d: Waiting Step #4 - "build-check-afl-address-x86_64": 839d42049c75: Waiting Step #4 - "build-check-afl-address-x86_64": fcc56198b7b3: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": fcc56198b7b3: Download complete Step #4 - "build-check-afl-address-x86_64": 76485c50adab: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 76485c50adab: Download complete Step #4 - "build-check-afl-address-x86_64": 6e454ec0415e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 6e454ec0415e: Download complete Step #4 - "build-check-afl-address-x86_64": 9b7f47b799be: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 9b7f47b799be: Download complete Step #4 - "build-check-afl-address-x86_64": 76485c50adab: Pull complete Step #4 - "build-check-afl-address-x86_64": 885b716fb19d: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 885b716fb19d: Download complete Step #4 - "build-check-afl-address-x86_64": 1f82e1e2eaac: Download complete Step #4 - "build-check-afl-address-x86_64": a221f9a44ef5: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a221f9a44ef5: Download complete Step #4 - "build-check-afl-address-x86_64": 6e454ec0415e: Pull complete Step #4 - "build-check-afl-address-x86_64": 3582fe5817de: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 3582fe5817de: Download complete Step #4 - "build-check-afl-address-x86_64": fcc56198b7b3: Pull complete Step #4 - "build-check-afl-address-x86_64": db56863ee7be: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": db56863ee7be: Download complete Step #4 - "build-check-afl-address-x86_64": 839d42049c75: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 839d42049c75: Download complete Step #4 - "build-check-afl-address-x86_64": 84816e0f3769: Download complete Step #4 - "build-check-afl-address-x86_64": a6399624745a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a6399624745a: Download complete Step #4 - "build-check-afl-address-x86_64": 0715e4009fac: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0715e4009fac: Download complete Step #4 - "build-check-afl-address-x86_64": 4e5763569d03: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 4e5763569d03: Download complete Step #4 - "build-check-afl-address-x86_64": 7f4c947f7af3: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 7f4c947f7af3: Download complete Step #4 - "build-check-afl-address-x86_64": 30d1cf1bf2b4: Download complete Step #4 - "build-check-afl-address-x86_64": e9f45d43ad23: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": e9f45d43ad23: Download complete Step #4 - "build-check-afl-address-x86_64": 839d42049c75: Pull complete Step #4 - "build-check-afl-address-x86_64": 9b7f47b799be: Pull complete Step #4 - "build-check-afl-address-x86_64": 885b716fb19d: Pull complete Step #4 - "build-check-afl-address-x86_64": 1f82e1e2eaac: Pull complete Step #4 - "build-check-afl-address-x86_64": 3582fe5817de: Pull complete Step #4 - "build-check-afl-address-x86_64": a221f9a44ef5: Pull complete Step #4 - "build-check-afl-address-x86_64": e9f45d43ad23: Pull complete Step #4 - "build-check-afl-address-x86_64": db56863ee7be: Pull complete Step #4 - "build-check-afl-address-x86_64": 84816e0f3769: Pull complete Step #4 - "build-check-afl-address-x86_64": a6399624745a: Pull complete Step #4 - "build-check-afl-address-x86_64": 0715e4009fac: Pull complete Step #4 - "build-check-afl-address-x86_64": 4e5763569d03: Pull complete Step #4 - "build-check-afl-address-x86_64": 7f4c947f7af3: Pull complete Step #4 - "build-check-afl-address-x86_64": 30d1cf1bf2b4: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:cb894d78b81942499e77d79f91f562ce74c084f3ca1001f2c72a30e5404d1f69 Step #4 - "build-check-afl-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpv8805tw3/FuzzClient Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpv8805tw3/FuzzServer Finished Step #4 - "build-check-afl-address-x86_64" Starting Step #5 Step #5: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #5 Starting Step #6 Step #6: Already have image: gcr.io/oss-fuzz/libmodbus Step #6: adding: FuzzClient (deflated 66%) Step #6: adding: FuzzClient_seed_corpus.zip (stored 0%) Step #6: adding: FuzzServer (deflated 66%) Step #6: adding: FuzzServer_seed_corpus.zip (stored 0%) Step #6: adding: SanitizerCoverageLTO.so (deflated 70%) Step #6: adding: SanitizerCoveragePCGUARD.so (deflated 70%) Step #6: adding: afl-addseeds (deflated 56%) Step #6: adding: afl-analyze (deflated 54%) Step #6: adding: afl-as (deflated 63%) Step #6: adding: afl-c++ (deflated 57%) Step #6: adding: afl-c++.8 (deflated 56%) Step #6: adding: afl-cc (deflated 57%) Step #6: adding: afl-cc.8 (deflated 56%) Step #6: adding: afl-clang (deflated 57%) Step #6: adding: afl-clang++ (deflated 57%) Step #6: adding: afl-clang-fast (deflated 57%) Step #6: adding: afl-clang-fast++ (deflated 57%) Step #6: adding: afl-clang-fast++.8 (deflated 56%) Step #6: adding: afl-clang-fast.8 (deflated 56%) Step #6: adding: afl-clang-lto (deflated 57%) Step #6: adding: afl-clang-lto++ (deflated 57%) Step #6: adding: afl-clang-lto++.8 (deflated 56%) Step #6: adding: afl-clang-lto.8 (deflated 56%) Step #6: adding: afl-cmin (deflated 70%) Step #6: adding: afl-cmin.bash (deflated 65%) Step #6: adding: afl-compiler-rt-32.o (deflated 56%) Step #6: adding: afl-compiler-rt-64.o (deflated 67%) Step #6: adding: afl-compiler-rt.o (deflated 67%) Step #6: adding: afl-fuzz (deflated 55%) Step #6: adding: afl-g++ (deflated 57%) Step #6: adding: afl-gcc (deflated 57%) Step #6: adding: afl-gotcpu (deflated 61%) Step #6: adding: afl-ld-lto (deflated 63%) Step #6: adding: afl-llvm-dict2file.so (deflated 69%) Step #6: adding: afl-llvm-lto-instrumentlist.so (deflated 70%) Step #6: adding: afl-llvm-pass.so (deflated 68%) Step #6: adding: afl-llvm-rt-lto-32.o (deflated 21%) Step #6: adding: afl-llvm-rt-lto-64.o (deflated 20%) Step #6: adding: afl-llvm-rt-lto.o (deflated 20%) Step #6: adding: afl-lto (deflated 57%) Step #6: adding: afl-lto++ (deflated 57%) Step #6: adding: afl-lto++.8 (deflated 56%) Step #6: adding: afl-lto.8 (deflated 56%) Step #6: adding: afl-persistent-config (deflated 60%) Step #6: adding: afl-plot (deflated 65%) Step #6: adding: afl-showmap (deflated 55%) Step #6: adding: afl-system-config (deflated 63%) Step #6: adding: afl-tmin (deflated 54%) Step #6: adding: afl-whatsup (deflated 69%) Step #6: adding: afl-wine-trace (deflated 70%) Step #6: adding: afl_options.txt (deflated 20%) Step #6: adding: cmplog-instructions-pass.so (deflated 69%) Step #6: adding: cmplog-routines-pass.so (deflated 70%) Step #6: adding: cmplog-switches-pass.so (deflated 69%) Step #6: adding: compare-transform-pass.so (deflated 69%) Step #6: adding: dynamic_list.txt (deflated 76%) Step #6: adding: libAFLDriver.a (deflated 64%) Step #6: adding: libAFLQemuDriver.a (deflated 64%) Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: split-compares-pass.so (deflated 68%) Step #6: adding: split-switches-pass.so (deflated 69%) Finished Step #6 Starting Step #7 Step #7: Pulling image: gcr.io/oss-fuzz-base/uploader Step #7: Using default tag: latest Step #7: latest: Pulling from oss-fuzz-base/uploader Step #7: c62795f78da9: Pulling fs layer Step #7: d4fceeeb758e: Pulling fs layer Step #7: 5c9125a401ae: Pulling fs layer Step #7: 0062f774e994: Pulling fs layer Step #7: 6b33fd031fac: Pulling fs layer Step #7: 7eb39101e508: Pulling fs layer Step #7: 89257482f398: Pulling fs layer Step #7: 7eb39101e508: Waiting Step #7: 0062f774e994: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 6b33fd031fac: Download complete Step #7: 89257482f398: Verifying Checksum Step #7: 89257482f398: Download complete Step #7: c62795f78da9: Verifying Checksum Step #7: c62795f78da9: Download complete Step #7: 7eb39101e508: Verifying Checksum Step #7: 7eb39101e508: Download complete Step #7: c62795f78da9: Pull complete Step #7: d4fceeeb758e: Pull complete Step #7: 5c9125a401ae: Pull complete Step #7: 0062f774e994: Pull complete Step #7: 6b33fd031fac: Pull complete Step #7: 7eb39101e508: Pull complete Step #7: 89257482f398: Pull complete Step #7: Digest: sha256:5717ba63d13b5515063e2a6ccad09fb5bf32a86c8e0798a363d81c2be522e411 Step #7: Status: Downloaded newer image for gcr.io/oss-fuzz-base/uploader:latest Step #7: gcr.io/oss-fuzz-base/uploader:latest Step #7: % Total % Received % Xferd Average Speed Time Time Time Current Step #7: Dload Upload Total Spent Left Speed Step #7: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 327 0 0 100 327 0 1624 --:--:-- --:--:-- --:--:-- 1626 Finished Step #7 Starting Step #8 Step #8: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #8: % Total % Received % Xferd Average Speed Time Time Time Current Step #8: Dload Upload Total Spent Left Speed Step #8: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9469k 0 0 100 9469k 0 34.6M --:--:-- --:--:-- --:--:-- 34.7M Finished Step #8 Starting Step #9 Step #9: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #9: % Total % Received % Xferd Average Speed Time Time Time Current Step #9: Dload Upload Total Spent Left Speed Step #9: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22 0 0 100 22 0 107 --:--:-- --:--:-- --:--:-- 107 100 22 0 0 100 22 0 84 --:--:-- --:--:-- --:--:-- 83 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: % Total % Received % Xferd Average Speed Time Time Time Current Step #10: Dload Upload Total Spent Left Speed Step #10: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 164 --:--:-- --:--:-- --:--:-- 164 100 34 0 0 100 34 0 155 --:--:-- --:--:-- --:--:-- 155 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/libmodbus Finished Step #11 Starting Step #12 - "compile-honggfuzz-address-x86_64" Step #12 - "compile-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-honggfuzz-address-x86_64": Skipping compilation; using precompiled honggfuzz Step #12 - "compile-honggfuzz-address-x86_64": done. Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": CC=clang Step #12 - "compile-honggfuzz-address-x86_64": CXX=clang++ Step #12 - "compile-honggfuzz-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp Step #12 - "compile-honggfuzz-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ Step #12 - "compile-honggfuzz-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-honggfuzz-address-x86_64": --------------------------------------------------------------- Step #12 - "compile-honggfuzz-address-x86_64": + cd fuzz Step #12 - "compile-honggfuzz-address-x86_64": + make all Step #12 - "compile-honggfuzz-address-x86_64": cd ../ && ./autogen.sh Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: linking file 'build-aux/ltmain.sh' Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: linking file 'm4/libtool.m4' Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: linking file 'm4/ltoptions.m4' Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: linking file 'm4/ltsugar.m4' Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: linking file 'm4/ltversion.m4' Step #12 - "compile-honggfuzz-address-x86_64": libtoolize: linking file 'm4/lt~obsolete.m4' Step #12 - "compile-honggfuzz-address-x86_64": configure.ac:33: installing 'build-aux/compile' Step #12 - "compile-honggfuzz-address-x86_64": configure.ac:56: installing 'build-aux/config.guess' Step #12 - "compile-honggfuzz-address-x86_64": configure.ac:56: installing 'build-aux/config.sub' Step #12 - "compile-honggfuzz-address-x86_64": configure.ac:32: installing 'build-aux/install-sh' Step #12 - "compile-honggfuzz-address-x86_64": configure.ac:32: installing 'build-aux/missing' Step #12 - "compile-honggfuzz-address-x86_64": src/Makefile.am: installing 'build-aux/depcomp' Step #12 - "compile-honggfuzz-address-x86_64": parallel-tests: installing 'build-aux/test-driver' Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": ------------------------------------------------------ Step #12 - "compile-honggfuzz-address-x86_64": Initialized build system. You can now run ./configure Step #12 - "compile-honggfuzz-address-x86_64": ------------------------------------------------------ Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": cd ../ && ./configure --disable-shared CC=clang CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp" LDFLAGS="" Step #12 - "compile-honggfuzz-address-x86_64": checking for a BSD-compatible install... /usr/bin/install -c Step #12 - "compile-honggfuzz-address-x86_64": checking whether build environment is sane... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for a thread-safe mkdir -p... /usr/bin/mkdir -p Step #12 - "compile-honggfuzz-address-x86_64": checking for gawk... no Step #12 - "compile-honggfuzz-address-x86_64": checking for mawk... mawk Step #12 - "compile-honggfuzz-address-x86_64": checking whether make sets $(MAKE)... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether make supports nested variables... yes Step #12 - "compile-honggfuzz-address-x86_64": checking how to create a pax tar archive... gnutar Step #12 - "compile-honggfuzz-address-x86_64": checking for gcc... clang Step #12 - "compile-honggfuzz-address-x86_64": checking whether the C compiler works... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for C compiler default output file name... a.out Step #12 - "compile-honggfuzz-address-x86_64": checking for suffix of executables... Step #12 - "compile-honggfuzz-address-x86_64": checking whether we are cross compiling... no Step #12 - "compile-honggfuzz-address-x86_64": checking for suffix of object files... o Step #12 - "compile-honggfuzz-address-x86_64": checking whether we are using the GNU C compiler... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether clang accepts -g... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for clang option to accept ISO C89... none needed Step #12 - "compile-honggfuzz-address-x86_64": checking whether clang understands -c and -o together... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether make supports the include directive... yes (GNU style) Step #12 - "compile-honggfuzz-address-x86_64": checking dependency style of clang... gcc3 Step #12 - "compile-honggfuzz-address-x86_64": checking how to run the C preprocessor... clang -E Step #12 - "compile-honggfuzz-address-x86_64": checking for grep that handles long lines and -e... /usr/bin/grep Step #12 - "compile-honggfuzz-address-x86_64": checking for egrep... /usr/bin/grep -E Step #12 - "compile-honggfuzz-address-x86_64": checking for ANSI C header files... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/types.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/stat.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for stdlib.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for string.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for memory.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for strings.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for inttypes.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for stdint.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for unistd.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking minix/config.h usability... no Step #12 - "compile-honggfuzz-address-x86_64": checking minix/config.h presence... no Step #12 - "compile-honggfuzz-address-x86_64": checking for minix/config.h... no Step #12 - "compile-honggfuzz-address-x86_64": checking whether it is safe to define __EXTENSIONS__... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for special C compiler options needed for large files... no Step #12 - "compile-honggfuzz-address-x86_64": checking for _FILE_OFFSET_BITS value needed for large files... no Step #12 - "compile-honggfuzz-address-x86_64": checking whether make supports nested variables... (cached) yes Step #12 - "compile-honggfuzz-address-x86_64": checking build system type... x86_64-pc-linux-gnu Step #12 - "compile-honggfuzz-address-x86_64": checking host system type... x86_64-pc-linux-gnu Step #12 - "compile-honggfuzz-address-x86_64": checking how to print strings... printf Step #12 - "compile-honggfuzz-address-x86_64": checking for a sed that does not truncate output... /usr/bin/sed Step #12 - "compile-honggfuzz-address-x86_64": checking for fgrep... /usr/bin/grep -F Step #12 - "compile-honggfuzz-address-x86_64": checking for ld used by clang... /usr/bin/ld Step #12 - "compile-honggfuzz-address-x86_64": checking if the linker (/usr/bin/ld) is GNU ld... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B Step #12 - "compile-honggfuzz-address-x86_64": checking the name lister (/usr/bin/nm -B) interface... BSD nm Step #12 - "compile-honggfuzz-address-x86_64": checking whether ln -s works... yes Step #12 - "compile-honggfuzz-address-x86_64": checking the maximum length of command line arguments... 1572864 Step #12 - "compile-honggfuzz-address-x86_64": checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop Step #12 - "compile-honggfuzz-address-x86_64": checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop Step #12 - "compile-honggfuzz-address-x86_64": checking for /usr/bin/ld option to reload object files... -r Step #12 - "compile-honggfuzz-address-x86_64": checking for objdump... objdump Step #12 - "compile-honggfuzz-address-x86_64": checking how to recognize dependent libraries... pass_all Step #12 - "compile-honggfuzz-address-x86_64": checking for dlltool... no Step #12 - "compile-honggfuzz-address-x86_64": checking how to associate runtime and link libraries... printf %s\n Step #12 - "compile-honggfuzz-address-x86_64": checking for ar... ar Step #12 - "compile-honggfuzz-address-x86_64": checking for archiver @FILE support... @ Step #12 - "compile-honggfuzz-address-x86_64": checking for strip... strip Step #12 - "compile-honggfuzz-address-x86_64": checking for ranlib... ranlib Step #12 - "compile-honggfuzz-address-x86_64": checking command to parse /usr/bin/nm -B output from clang object... ok Step #12 - "compile-honggfuzz-address-x86_64": checking for sysroot... no Step #12 - "compile-honggfuzz-address-x86_64": checking for a working dd... /usr/bin/dd Step #12 - "compile-honggfuzz-address-x86_64": checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 Step #12 - "compile-honggfuzz-address-x86_64": checking for mt... no Step #12 - "compile-honggfuzz-address-x86_64": checking if : is a manifest tool... no Step #12 - "compile-honggfuzz-address-x86_64": checking for dlfcn.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for objdir... .libs Step #12 - "compile-honggfuzz-address-x86_64": checking if clang supports -fno-rtti -fno-exceptions... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for clang option to produce PIC... -fPIC -DPIC Step #12 - "compile-honggfuzz-address-x86_64": checking if clang PIC flag -fPIC -DPIC works... yes Step #12 - "compile-honggfuzz-address-x86_64": checking if clang static flag -static works... no Step #12 - "compile-honggfuzz-address-x86_64": checking if clang supports -c -o file.o... yes Step #12 - "compile-honggfuzz-address-x86_64": checking if clang supports -c -o file.o... (cached) yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #12 - "compile-honggfuzz-address-x86_64": checking dynamic linker characteristics... GNU/Linux ld.so Step #12 - "compile-honggfuzz-address-x86_64": checking how to hardcode library paths into programs... immediate Step #12 - "compile-honggfuzz-address-x86_64": checking whether stripping libraries is possible... yes Step #12 - "compile-honggfuzz-address-x86_64": checking if libtool supports shared libraries... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether to build shared libraries... no Step #12 - "compile-honggfuzz-address-x86_64": checking whether to build static libraries... yes Step #12 - "compile-honggfuzz-address-x86_64": checking arpa/inet.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking arpa/inet.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for arpa/inet.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking byteswap.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking byteswap.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for byteswap.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking errno.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking errno.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for errno.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking fcntl.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking fcntl.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for fcntl.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking limits.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking limits.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for limits.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking linux/serial.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking linux/serial.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for linux/serial.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netdb.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netdb.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for netdb.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netinet/in.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netinet/in.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for netinet/in.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netinet/ip.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netinet/ip.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for netinet/ip.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netinet/tcp.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking netinet/tcp.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for netinet/tcp.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking sys/ioctl.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking sys/ioctl.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/ioctl.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking sys/params.h usability... no Step #12 - "compile-honggfuzz-address-x86_64": checking sys/params.h presence... no Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/params.h... no Step #12 - "compile-honggfuzz-address-x86_64": checking sys/socket.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking sys/socket.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/socket.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking sys/time.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking sys/time.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/time.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for sys/types.h... (cached) yes Step #12 - "compile-honggfuzz-address-x86_64": checking termios.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking termios.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for termios.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking time.h usability... yes Step #12 - "compile-honggfuzz-address-x86_64": checking time.h presence... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for time.h... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for unistd.h... (cached) yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether __CYGWIN__ is declared... no Step #12 - "compile-honggfuzz-address-x86_64": checking for library containing accept... none required Step #12 - "compile-honggfuzz-address-x86_64": checking for accept4... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for gai_strerror... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for getaddrinfo... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for gettimeofday... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for inet_pton... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for inet_ntop... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for select... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for socket... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for strerror... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for strlcpy... no Step #12 - "compile-honggfuzz-address-x86_64": checking for inline... inline Step #12 - "compile-honggfuzz-address-x86_64": checking whether we are using the GNU C++ compiler... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether clang++ accepts -g... yes Step #12 - "compile-honggfuzz-address-x86_64": checking dependency style of clang++... gcc3 Step #12 - "compile-honggfuzz-address-x86_64": checking how to run the C++ preprocessor... clang++ -E Step #12 - "compile-honggfuzz-address-x86_64": checking for ld used by clang++... /usr/bin/ld -m elf_x86_64 Step #12 - "compile-honggfuzz-address-x86_64": checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for clang++ option to produce PIC... -fPIC -DPIC Step #12 - "compile-honggfuzz-address-x86_64": checking if clang++ PIC flag -fPIC -DPIC works... yes Step #12 - "compile-honggfuzz-address-x86_64": checking if clang++ static flag -static works... no Step #12 - "compile-honggfuzz-address-x86_64": checking if clang++ supports -c -o file.o... yes Step #12 - "compile-honggfuzz-address-x86_64": checking if clang++ supports -c -o file.o... (cached) yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #12 - "compile-honggfuzz-address-x86_64": checking dynamic linker characteristics... (cached) GNU/Linux ld.so Step #12 - "compile-honggfuzz-address-x86_64": checking how to hardcode library paths into programs... immediate Step #12 - "compile-honggfuzz-address-x86_64": checking for int64_t... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for size_t... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for ssize_t... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for uint16_t... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for uint32_t... yes Step #12 - "compile-honggfuzz-address-x86_64": checking for uint8_t... yes Step #12 - "compile-honggfuzz-address-x86_64": checking winsock2.h usability... no Step #12 - "compile-honggfuzz-address-x86_64": checking winsock2.h presence... no Step #12 - "compile-honggfuzz-address-x86_64": checking for winsock2.h... no Step #12 - "compile-honggfuzz-address-x86_64": checking whether TIOCSRS485 is declared... yes Step #12 - "compile-honggfuzz-address-x86_64": checking whether TIOCM_RTS is declared... yes Step #12 - "compile-honggfuzz-address-x86_64": checking that generated files are newer than configure... done Step #12 - "compile-honggfuzz-address-x86_64": configure: creating ./config.status Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating Makefile Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating src/Makefile Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating src/modbus-version.h Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating src/win32/modbus.dll.manifest Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating tests/Makefile Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating libmodbus.pc Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating config.h Step #12 - "compile-honggfuzz-address-x86_64": config.status: creating tests/unit-test.h Step #12 - "compile-honggfuzz-address-x86_64": config.status: executing depfiles commands Step #12 - "compile-honggfuzz-address-x86_64": config.status: executing libtool commands Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": libmodbus 3.1.11 Step #12 - "compile-honggfuzz-address-x86_64": =============== Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": prefix: /usr/local Step #12 - "compile-honggfuzz-address-x86_64": sysconfdir: ${prefix}/etc Step #12 - "compile-honggfuzz-address-x86_64": libdir: ${exec_prefix}/lib Step #12 - "compile-honggfuzz-address-x86_64": includedir: ${prefix}/include Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": compiler: clang Step #12 - "compile-honggfuzz-address-x86_64": cflags: -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security Step #12 - "compile-honggfuzz-address-x86_64": ldflags: Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": tests: yes Step #12 - "compile-honggfuzz-address-x86_64": Step #12 - "compile-honggfuzz-address-x86_64": cd ../ && make -j Step #12 - "compile-honggfuzz-address-x86_64": make[1]: Entering directory '/src/libmodbus' Step #12 - "compile-honggfuzz-address-x86_64": make --no-print-directory all-recursive Step #12 - "compile-honggfuzz-address-x86_64": Making all in src Step #12 - "compile-honggfuzz-address-x86_64": CC modbus.lo Step #12 - "compile-honggfuzz-address-x86_64": CC modbus-data.lo Step #12 - "compile-honggfuzz-address-x86_64": CC modbus-rtu.lo Step #12 - "compile-honggfuzz-address-x86_64": CC modbus-tcp.lo Step #12 - "compile-honggfuzz-address-x86_64": CCLD libmodbus.la Step #12 - "compile-honggfuzz-address-x86_64": Making all in tests Step #12 - "compile-honggfuzz-address-x86_64": make all-am Step #12 - "compile-honggfuzz-address-x86_64": CC bandwidth-server-one.o Step #12 - "compile-honggfuzz-address-x86_64": CC bandwidth-server-many-up.o Step #12 - "compile-honggfuzz-address-x86_64": CC bandwidth-client.o Step #12 - "compile-honggfuzz-address-x86_64": CC random-test-server.o Step #12 - "compile-honggfuzz-address-x86_64": CC random-test-client.o Step #12 - "compile-honggfuzz-address-x86_64": CC unit-test-server.o Step #12 - "compile-honggfuzz-address-x86_64": CC unit-test-client.o Step #12 - "compile-honggfuzz-address-x86_64": CC version.o Step #12 - "compile-honggfuzz-address-x86_64": CCLD version Step #12 - "compile-honggfuzz-address-x86_64": CCLD random-test-server Step #12 - "compile-honggfuzz-address-x86_64": CCLD bandwidth-server-one Step #12 - "compile-honggfuzz-address-x86_64": CCLD bandwidth-server-many-up Step #12 - "compile-honggfuzz-address-x86_64": CCLD bandwidth-client Step #12 - "compile-honggfuzz-address-x86_64": CCLD unit-test-server Step #12 - "compile-honggfuzz-address-x86_64": CCLD random-test-client Step #12 - "compile-honggfuzz-address-x86_64": CCLD unit-test-client Step #12 - "compile-honggfuzz-address-x86_64": make[1]: Leaving directory '/src/libmodbus' Step #12 - "compile-honggfuzz-address-x86_64": cp ../tests/unit-test.h . Step #12 - "compile-honggfuzz-address-x86_64": clang -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -I../src/ -c FuzzClient.c Step #12 - "compile-honggfuzz-address-x86_64": FuzzClient.c:100:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #12 - "compile-honggfuzz-address-x86_64": 100 | fuzzer->buffer = data; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ ~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 1 warning generated. Step #12 - "compile-honggfuzz-address-x86_64": libtool --mode=link --tag=CXX clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp ../src/libmodbus.la /usr/lib/libFuzzingEngine.a FuzzClient.o -o FuzzClient Step #12 - "compile-honggfuzz-address-x86_64": libtool: link: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp FuzzClient.o -o FuzzClient ../src/.libs/libmodbus.a /usr/lib/libFuzzingEngine.a Step #12 - "compile-honggfuzz-address-x86_64": clang -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -I../src/ -c FuzzServer.c Step #12 - "compile-honggfuzz-address-x86_64": FuzzServer.c:82:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #12 - "compile-honggfuzz-address-x86_64": 82 | fuzzer->buffer = data; Step #12 - "compile-honggfuzz-address-x86_64": |  ^ ~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 1 warning generated. Step #12 - "compile-honggfuzz-address-x86_64": libtool --mode=link --tag=CXX clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp ../src/libmodbus.la /usr/lib/libFuzzingEngine.a FuzzServer.o -o FuzzServer Step #12 - "compile-honggfuzz-address-x86_64": libtool: link: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp FuzzServer.o -o FuzzServer ../src/.libs/libmodbus.a /usr/lib/libFuzzingEngine.a Step #12 - "compile-honggfuzz-address-x86_64": + cp FuzzClient /workspace/out/honggfuzz-address-x86_64/FuzzClient Step #12 - "compile-honggfuzz-address-x86_64": + cp FuzzServer /workspace/out/honggfuzz-address-x86_64/FuzzServer Step #12 - "compile-honggfuzz-address-x86_64": + pushd /src/oss-fuzz-bloat/libmodbus/ Step #12 - "compile-honggfuzz-address-x86_64": /src/oss-fuzz-bloat/libmodbus /src/libmodbus/fuzz Step #12 - "compile-honggfuzz-address-x86_64": + cp FuzzClient_seed_corpus.zip /workspace/out/honggfuzz-address-x86_64/FuzzClient_seed_corpus.zip Step #12 - "compile-honggfuzz-address-x86_64": + cp FuzzServer_seed_corpus.zip /workspace/out/honggfuzz-address-x86_64/FuzzServer_seed_corpus.zip Step #12 - "compile-honggfuzz-address-x86_64": + popd Step #12 - "compile-honggfuzz-address-x86_64": /src/libmodbus/fuzz Finished Step #12 - "compile-honggfuzz-address-x86_64" Starting Step #13 - "build-check-honggfuzz-address-x86_64" Step #13 - "build-check-honggfuzz-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpo_5z5juu/FuzzClient Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpo_5z5juu/FuzzServer Finished Step #13 - "build-check-honggfuzz-address-x86_64" Starting Step #14 Step #14: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #14 Starting Step #15 Step #15: Already have image: gcr.io/oss-fuzz/libmodbus Step #15: adding: FuzzClient (deflated 66%) Step #15: adding: FuzzClient_seed_corpus.zip (stored 0%) Step #15: adding: FuzzServer (deflated 66%) Step #15: adding: FuzzServer_seed_corpus.zip (stored 0%) Step #15: adding: honggfuzz (deflated 66%) Step #15: adding: llvm-symbolizer (deflated 66%) Finished Step #15 Starting Step #16 Step #16: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #16: % Total % Received % Xferd Average Speed Time Time Time Current Step #16: Dload Upload Total Spent Left Speed Step #16: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 327 0 0 100 327 0 1401 --:--:-- --:--:-- --:--:-- 1403 Finished Step #16 Starting Step #17 Step #17: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #17: % Total % Received % Xferd Average Speed Time Time Time Current Step #17: Dload Upload Total Spent Left Speed Step #17: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4659k 0 0 100 4659k 0 17.1M --:--:-- --:--:-- --:--:-- 17.2M Finished Step #17 Starting Step #18 Step #18: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #18: % Total % Received % Xferd Average Speed Time Time Time Current Step #18: Dload Upload Total Spent Left Speed Step #18: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22 0 0 100 22 0 76 --:--:-- --:--:-- --:--:-- 76 Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/cloud-builders/curl Step #19: Step #19: ***** NOTICE ***** Step #19: Step #19: Supported `curl` versions can be found in the various images available at Step #19: https://console.cloud.google.com/launcher/details/google/ubuntu1604. Step #19: Step #19: ***** END OF NOTICE ***** Step #19: Step #19: % Total % Received % Xferd Average Speed Time Time Time Current Step #19: Dload Upload Total Spent Left Speed Step #19: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 140 --:--:-- --:--:-- --:--:-- 140 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/libmodbus Finished Step #20 Starting Step #21 - "compile-libfuzzer-address-x86_64" Step #21 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #21 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": CC=clang Step #21 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #21 - "compile-libfuzzer-address-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link Step #21 - "compile-libfuzzer-address-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ Step #21 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #21 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #21 - "compile-libfuzzer-address-x86_64": + cd fuzz Step #21 - "compile-libfuzzer-address-x86_64": + make all Step #21 - "compile-libfuzzer-address-x86_64": cd ../ && ./autogen.sh Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: linking file 'build-aux/ltmain.sh' Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: linking file 'm4/libtool.m4' Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: linking file 'm4/ltoptions.m4' Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: linking file 'm4/ltsugar.m4' Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: linking file 'm4/ltversion.m4' Step #21 - "compile-libfuzzer-address-x86_64": libtoolize: linking file 'm4/lt~obsolete.m4' Step #21 - "compile-libfuzzer-address-x86_64": configure.ac:33: installing 'build-aux/compile' Step #21 - "compile-libfuzzer-address-x86_64": configure.ac:56: installing 'build-aux/config.guess' Step #21 - "compile-libfuzzer-address-x86_64": configure.ac:56: installing 'build-aux/config.sub' Step #21 - "compile-libfuzzer-address-x86_64": configure.ac:32: installing 'build-aux/install-sh' Step #21 - "compile-libfuzzer-address-x86_64": configure.ac:32: installing 'build-aux/missing' Step #21 - "compile-libfuzzer-address-x86_64": src/Makefile.am: installing 'build-aux/depcomp' Step #21 - "compile-libfuzzer-address-x86_64": parallel-tests: installing 'build-aux/test-driver' Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": ------------------------------------------------------ Step #21 - "compile-libfuzzer-address-x86_64": Initialized build system. You can now run ./configure Step #21 - "compile-libfuzzer-address-x86_64": ------------------------------------------------------ Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": cd ../ && ./configure --disable-shared CC=clang CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link" LDFLAGS="" Step #21 - "compile-libfuzzer-address-x86_64": checking for a BSD-compatible install... /usr/bin/install -c Step #21 - "compile-libfuzzer-address-x86_64": checking whether build environment is sane... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for a thread-safe mkdir -p... /usr/bin/mkdir -p Step #21 - "compile-libfuzzer-address-x86_64": checking for gawk... no Step #21 - "compile-libfuzzer-address-x86_64": checking for mawk... mawk Step #21 - "compile-libfuzzer-address-x86_64": checking whether make sets $(MAKE)... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether make supports nested variables... yes Step #21 - "compile-libfuzzer-address-x86_64": checking how to create a pax tar archive... gnutar Step #21 - "compile-libfuzzer-address-x86_64": checking for gcc... clang Step #21 - "compile-libfuzzer-address-x86_64": checking whether the C compiler works... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for C compiler default output file name... a.out Step #21 - "compile-libfuzzer-address-x86_64": checking for suffix of executables... Step #21 - "compile-libfuzzer-address-x86_64": checking whether we are cross compiling... no Step #21 - "compile-libfuzzer-address-x86_64": checking for suffix of object files... o Step #21 - "compile-libfuzzer-address-x86_64": checking whether we are using the GNU C compiler... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether clang accepts -g... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for clang option to accept ISO C89... none needed Step #21 - "compile-libfuzzer-address-x86_64": checking whether clang understands -c and -o together... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether make supports the include directive... yes (GNU style) Step #21 - "compile-libfuzzer-address-x86_64": checking dependency style of clang... gcc3 Step #21 - "compile-libfuzzer-address-x86_64": checking how to run the C preprocessor... clang -E Step #21 - "compile-libfuzzer-address-x86_64": checking for grep that handles long lines and -e... /usr/bin/grep Step #21 - "compile-libfuzzer-address-x86_64": checking for egrep... /usr/bin/grep -E Step #21 - "compile-libfuzzer-address-x86_64": checking for ANSI C header files... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/types.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/stat.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for stdlib.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for string.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for memory.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for strings.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for inttypes.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for stdint.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for unistd.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking minix/config.h usability... no Step #21 - "compile-libfuzzer-address-x86_64": checking minix/config.h presence... no Step #21 - "compile-libfuzzer-address-x86_64": checking for minix/config.h... no Step #21 - "compile-libfuzzer-address-x86_64": checking whether it is safe to define __EXTENSIONS__... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for special C compiler options needed for large files... no Step #21 - "compile-libfuzzer-address-x86_64": checking for _FILE_OFFSET_BITS value needed for large files... no Step #21 - "compile-libfuzzer-address-x86_64": checking whether make supports nested variables... (cached) yes Step #21 - "compile-libfuzzer-address-x86_64": checking build system type... x86_64-pc-linux-gnu Step #21 - "compile-libfuzzer-address-x86_64": checking host system type... x86_64-pc-linux-gnu Step #21 - "compile-libfuzzer-address-x86_64": checking how to print strings... printf Step #21 - "compile-libfuzzer-address-x86_64": checking for a sed that does not truncate output... /usr/bin/sed Step #21 - "compile-libfuzzer-address-x86_64": checking for fgrep... /usr/bin/grep -F Step #21 - "compile-libfuzzer-address-x86_64": checking for ld used by clang... /usr/bin/ld Step #21 - "compile-libfuzzer-address-x86_64": checking if the linker (/usr/bin/ld) is GNU ld... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B Step #21 - "compile-libfuzzer-address-x86_64": checking the name lister (/usr/bin/nm -B) interface... BSD nm Step #21 - "compile-libfuzzer-address-x86_64": checking whether ln -s works... yes Step #21 - "compile-libfuzzer-address-x86_64": checking the maximum length of command line arguments... 1572864 Step #21 - "compile-libfuzzer-address-x86_64": checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop Step #21 - "compile-libfuzzer-address-x86_64": checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop Step #21 - "compile-libfuzzer-address-x86_64": checking for /usr/bin/ld option to reload object files... -r Step #21 - "compile-libfuzzer-address-x86_64": checking for objdump... objdump Step #21 - "compile-libfuzzer-address-x86_64": checking how to recognize dependent libraries... pass_all Step #21 - "compile-libfuzzer-address-x86_64": checking for dlltool... no Step #21 - "compile-libfuzzer-address-x86_64": checking how to associate runtime and link libraries... printf %s\n Step #21 - "compile-libfuzzer-address-x86_64": checking for ar... ar Step #21 - "compile-libfuzzer-address-x86_64": checking for archiver @FILE support... @ Step #21 - "compile-libfuzzer-address-x86_64": checking for strip... strip Step #21 - "compile-libfuzzer-address-x86_64": checking for ranlib... ranlib Step #21 - "compile-libfuzzer-address-x86_64": checking command to parse /usr/bin/nm -B output from clang object... ok Step #21 - "compile-libfuzzer-address-x86_64": checking for sysroot... no Step #21 - "compile-libfuzzer-address-x86_64": checking for a working dd... /usr/bin/dd Step #21 - "compile-libfuzzer-address-x86_64": checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 Step #21 - "compile-libfuzzer-address-x86_64": checking for mt... no Step #21 - "compile-libfuzzer-address-x86_64": checking if : is a manifest tool... no Step #21 - "compile-libfuzzer-address-x86_64": checking for dlfcn.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for objdir... .libs Step #21 - "compile-libfuzzer-address-x86_64": checking if clang supports -fno-rtti -fno-exceptions... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for clang option to produce PIC... -fPIC -DPIC Step #21 - "compile-libfuzzer-address-x86_64": checking if clang PIC flag -fPIC -DPIC works... yes Step #21 - "compile-libfuzzer-address-x86_64": checking if clang static flag -static works... no Step #21 - "compile-libfuzzer-address-x86_64": checking if clang supports -c -o file.o... yes Step #21 - "compile-libfuzzer-address-x86_64": checking if clang supports -c -o file.o... (cached) yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #21 - "compile-libfuzzer-address-x86_64": checking dynamic linker characteristics... GNU/Linux ld.so Step #21 - "compile-libfuzzer-address-x86_64": checking how to hardcode library paths into programs... immediate Step #21 - "compile-libfuzzer-address-x86_64": checking whether stripping libraries is possible... yes Step #21 - "compile-libfuzzer-address-x86_64": checking if libtool supports shared libraries... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether to build shared libraries... no Step #21 - "compile-libfuzzer-address-x86_64": checking whether to build static libraries... yes Step #21 - "compile-libfuzzer-address-x86_64": checking arpa/inet.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking arpa/inet.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for arpa/inet.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking byteswap.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking byteswap.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for byteswap.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking errno.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking errno.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for errno.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking fcntl.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking fcntl.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for fcntl.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking limits.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking limits.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for limits.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking linux/serial.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking linux/serial.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for linux/serial.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netdb.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netdb.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for netdb.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netinet/in.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netinet/in.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for netinet/in.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netinet/ip.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netinet/ip.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for netinet/ip.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netinet/tcp.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking netinet/tcp.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for netinet/tcp.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking sys/ioctl.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking sys/ioctl.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/ioctl.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking sys/params.h usability... no Step #21 - "compile-libfuzzer-address-x86_64": checking sys/params.h presence... no Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/params.h... no Step #21 - "compile-libfuzzer-address-x86_64": checking sys/socket.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking sys/socket.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/socket.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking sys/time.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking sys/time.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/time.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for sys/types.h... (cached) yes Step #21 - "compile-libfuzzer-address-x86_64": checking termios.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking termios.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for termios.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking time.h usability... yes Step #21 - "compile-libfuzzer-address-x86_64": checking time.h presence... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for time.h... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for unistd.h... (cached) yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether __CYGWIN__ is declared... no Step #21 - "compile-libfuzzer-address-x86_64": checking for library containing accept... none required Step #21 - "compile-libfuzzer-address-x86_64": checking for accept4... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for gai_strerror... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for getaddrinfo... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for gettimeofday... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for inet_pton... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for inet_ntop... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for select... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for socket... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for strerror... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for strlcpy... no Step #21 - "compile-libfuzzer-address-x86_64": checking for inline... inline Step #21 - "compile-libfuzzer-address-x86_64": checking whether we are using the GNU C++ compiler... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether clang++ accepts -g... yes Step #21 - "compile-libfuzzer-address-x86_64": checking dependency style of clang++... gcc3 Step #21 - "compile-libfuzzer-address-x86_64": checking how to run the C++ preprocessor... clang++ -E Step #21 - "compile-libfuzzer-address-x86_64": checking for ld used by clang++... /usr/bin/ld -m elf_x86_64 Step #21 - "compile-libfuzzer-address-x86_64": checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for clang++ option to produce PIC... -fPIC -DPIC Step #21 - "compile-libfuzzer-address-x86_64": checking if clang++ PIC flag -fPIC -DPIC works... yes Step #21 - "compile-libfuzzer-address-x86_64": checking if clang++ static flag -static works... no Step #21 - "compile-libfuzzer-address-x86_64": checking if clang++ supports -c -o file.o... yes Step #21 - "compile-libfuzzer-address-x86_64": checking if clang++ supports -c -o file.o... (cached) yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #21 - "compile-libfuzzer-address-x86_64": checking dynamic linker characteristics... (cached) GNU/Linux ld.so Step #21 - "compile-libfuzzer-address-x86_64": checking how to hardcode library paths into programs... immediate Step #21 - "compile-libfuzzer-address-x86_64": checking for int64_t... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for size_t... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for ssize_t... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for uint16_t... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for uint32_t... yes Step #21 - "compile-libfuzzer-address-x86_64": checking for uint8_t... yes Step #21 - "compile-libfuzzer-address-x86_64": checking winsock2.h usability... no Step #21 - "compile-libfuzzer-address-x86_64": checking winsock2.h presence... no Step #21 - "compile-libfuzzer-address-x86_64": checking for winsock2.h... no Step #21 - "compile-libfuzzer-address-x86_64": checking whether TIOCSRS485 is declared... yes Step #21 - "compile-libfuzzer-address-x86_64": checking whether TIOCM_RTS is declared... yes Step #21 - "compile-libfuzzer-address-x86_64": checking that generated files are newer than configure... done Step #21 - "compile-libfuzzer-address-x86_64": configure: creating ./config.status Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating Makefile Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating src/Makefile Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating src/modbus-version.h Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating src/win32/modbus.dll.manifest Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating tests/Makefile Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating libmodbus.pc Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating config.h Step #21 - "compile-libfuzzer-address-x86_64": config.status: creating tests/unit-test.h Step #21 - "compile-libfuzzer-address-x86_64": config.status: executing depfiles commands Step #21 - "compile-libfuzzer-address-x86_64": config.status: executing libtool commands Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": libmodbus 3.1.11 Step #21 - "compile-libfuzzer-address-x86_64": =============== Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": prefix: /usr/local Step #21 - "compile-libfuzzer-address-x86_64": sysconfdir: ${prefix}/etc Step #21 - "compile-libfuzzer-address-x86_64": libdir: ${exec_prefix}/lib Step #21 - "compile-libfuzzer-address-x86_64": includedir: ${prefix}/include Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": compiler: clang Step #21 - "compile-libfuzzer-address-x86_64": cflags: -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security Step #21 - "compile-libfuzzer-address-x86_64": ldflags: Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": tests: yes Step #21 - "compile-libfuzzer-address-x86_64": Step #21 - "compile-libfuzzer-address-x86_64": cd ../ && make -j Step #21 - "compile-libfuzzer-address-x86_64": make[1]: Entering directory '/src/libmodbus' Step #21 - "compile-libfuzzer-address-x86_64": make --no-print-directory all-recursive Step #21 - "compile-libfuzzer-address-x86_64": Making all in src Step #21 - "compile-libfuzzer-address-x86_64": CC modbus.lo Step #21 - "compile-libfuzzer-address-x86_64": CC modbus-data.lo Step #21 - "compile-libfuzzer-address-x86_64": CC modbus-rtu.lo Step #21 - "compile-libfuzzer-address-x86_64": CC modbus-tcp.lo Step #21 - "compile-libfuzzer-address-x86_64": CCLD libmodbus.la Step #21 - "compile-libfuzzer-address-x86_64": Making all in tests Step #21 - "compile-libfuzzer-address-x86_64": make all-am Step #21 - "compile-libfuzzer-address-x86_64": CC bandwidth-server-one.o Step #21 - "compile-libfuzzer-address-x86_64": CC bandwidth-server-many-up.o Step #21 - "compile-libfuzzer-address-x86_64": CC bandwidth-client.o Step #21 - "compile-libfuzzer-address-x86_64": CC random-test-server.o Step #21 - "compile-libfuzzer-address-x86_64": CC random-test-client.o Step #21 - "compile-libfuzzer-address-x86_64": CC unit-test-server.o Step #21 - "compile-libfuzzer-address-x86_64": CC unit-test-client.o Step #21 - "compile-libfuzzer-address-x86_64": CC version.o Step #21 - "compile-libfuzzer-address-x86_64": CCLD version Step #21 - "compile-libfuzzer-address-x86_64": CCLD random-test-server Step #21 - "compile-libfuzzer-address-x86_64": CCLD bandwidth-server-one Step #21 - "compile-libfuzzer-address-x86_64": CCLD bandwidth-server-many-up Step #21 - "compile-libfuzzer-address-x86_64": CCLD bandwidth-client Step #21 - "compile-libfuzzer-address-x86_64": CCLD unit-test-server Step #21 - "compile-libfuzzer-address-x86_64": CCLD random-test-client Step #21 - "compile-libfuzzer-address-x86_64": CCLD unit-test-client Step #21 - "compile-libfuzzer-address-x86_64": make[1]: Leaving directory '/src/libmodbus' Step #21 - "compile-libfuzzer-address-x86_64": cp ../tests/unit-test.h . Step #21 - "compile-libfuzzer-address-x86_64": clang -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -I../src/ -c FuzzClient.c Step #21 - "compile-libfuzzer-address-x86_64": FuzzClient.c:100:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #21 - "compile-libfuzzer-address-x86_64": 100 | fuzzer->buffer = data; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ ~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 1 warning generated. Step #21 - "compile-libfuzzer-address-x86_64": libtool --mode=link --tag=CXX clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link ../src/libmodbus.la -fsanitize=fuzzer FuzzClient.o -o FuzzClient Step #21 - "compile-libfuzzer-address-x86_64": libtool: link: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fsanitize=fuzzer FuzzClient.o -o FuzzClient ../src/.libs/libmodbus.a Step #21 - "compile-libfuzzer-address-x86_64": clang -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -I../src/ -c FuzzServer.c Step #21 - "compile-libfuzzer-address-x86_64": FuzzServer.c:82:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #21 - "compile-libfuzzer-address-x86_64": 82 | fuzzer->buffer = data; Step #21 - "compile-libfuzzer-address-x86_64": |  ^ ~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 1 warning generated. Step #21 - "compile-libfuzzer-address-x86_64": libtool --mode=link --tag=CXX clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link ../src/libmodbus.la -fsanitize=fuzzer FuzzServer.o -o FuzzServer Step #21 - "compile-libfuzzer-address-x86_64": libtool: link: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -fsanitize=fuzzer FuzzServer.o -o FuzzServer ../src/.libs/libmodbus.a Step #21 - "compile-libfuzzer-address-x86_64": + cp FuzzClient /workspace/out/libfuzzer-address-x86_64/FuzzClient Step #21 - "compile-libfuzzer-address-x86_64": + cp FuzzServer /workspace/out/libfuzzer-address-x86_64/FuzzServer Step #21 - "compile-libfuzzer-address-x86_64": + pushd /src/oss-fuzz-bloat/libmodbus/ Step #21 - "compile-libfuzzer-address-x86_64": /src/oss-fuzz-bloat/libmodbus /src/libmodbus/fuzz Step #21 - "compile-libfuzzer-address-x86_64": + cp FuzzClient_seed_corpus.zip /workspace/out/libfuzzer-address-x86_64/FuzzClient_seed_corpus.zip Step #21 - "compile-libfuzzer-address-x86_64": + cp FuzzServer_seed_corpus.zip /workspace/out/libfuzzer-address-x86_64/FuzzServer_seed_corpus.zip Step #21 - "compile-libfuzzer-address-x86_64": + popd Step #21 - "compile-libfuzzer-address-x86_64": /src/libmodbus/fuzz Finished Step #21 - "compile-libfuzzer-address-x86_64" Starting Step #22 - "build-check-libfuzzer-address-x86_64" Step #22 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpryteoc3w/FuzzClient Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpryteoc3w/FuzzServer Finished Step #22 - "build-check-libfuzzer-address-x86_64" Starting Step #23 Step #23: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #23 Starting Step #24 Step #24: Already have image: gcr.io/oss-fuzz/libmodbus Step #24: adding: FuzzClient (deflated 66%) Step #24: adding: FuzzClient_seed_corpus.zip (stored 0%) Step #24: adding: FuzzServer (deflated 66%) Step #24: adding: FuzzServer_seed_corpus.zip (stored 0%) Step #24: adding: llvm-symbolizer (deflated 66%) Finished Step #24 Starting Step #25 Step #25: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #25: % Total % Received % Xferd Average Speed Time Time Time Current Step #25: Dload Upload Total Spent Left Speed Step #25: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 327 0 0 100 327 0 1194 --:--:-- --:--:-- --:--:-- 1193 Finished Step #25 Starting Step #26 Step #26: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #26: % Total % Received % Xferd Average Speed Time Time Time Current Step #26: Dload Upload Total Spent Left Speed Step #26: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5536k 0 0 100 5536k 0 16.7M --:--:-- --:--:-- --:--:-- 16.7M 100 5536k 0 0 100 5536k 0 16.7M --:--:-- --:--:-- --:--:-- 16.7M Finished Step #26 Starting Step #27 Step #27: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #27: % Total % Received % Xferd Average Speed Time Time Time Current Step #27: Dload Upload Total Spent Left Speed Step #27: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22 0 0 100 22 0 73 --:--:-- --:--:-- --:--:-- 73 Finished Step #27 Starting Step #28 Step #28: Already have image (with digest): gcr.io/cloud-builders/curl Step #28: % Total % Received % Xferd Average Speed Time Time Time Current Step #28: Dload Upload Total Spent Left Speed Step #28: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34 0 0 100 34 0 172 --:--:-- --:--:-- --:--:-- 172 Finished Step #28 Starting Step #29 Step #29: Already have image: gcr.io/oss-fuzz/libmodbus Finished Step #29 Starting Step #30 - "compile-libfuzzer-undefined-x86_64" Step #30 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #30 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #30 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #30 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function Step #30 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -stdlib=libc++ Step #30 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #30 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-undefined-x86_64": + cd fuzz Step #30 - "compile-libfuzzer-undefined-x86_64": + make all Step #30 - "compile-libfuzzer-undefined-x86_64": cd ../ && ./autogen.sh Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: linking file 'build-aux/ltmain.sh' Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: linking file 'm4/libtool.m4' Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: linking file 'm4/ltoptions.m4' Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: linking file 'm4/ltsugar.m4' Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: linking file 'm4/ltversion.m4' Step #30 - "compile-libfuzzer-undefined-x86_64": libtoolize: linking file 'm4/lt~obsolete.m4' Step #30 - "compile-libfuzzer-undefined-x86_64": configure.ac:33: installing 'build-aux/compile' Step #30 - "compile-libfuzzer-undefined-x86_64": configure.ac:56: installing 'build-aux/config.guess' Step #30 - "compile-libfuzzer-undefined-x86_64": configure.ac:56: installing 'build-aux/config.sub' Step #30 - "compile-libfuzzer-undefined-x86_64": configure.ac:32: installing 'build-aux/install-sh' Step #30 - "compile-libfuzzer-undefined-x86_64": configure.ac:32: installing 'build-aux/missing' Step #30 - "compile-libfuzzer-undefined-x86_64": src/Makefile.am: installing 'build-aux/depcomp' Step #30 - "compile-libfuzzer-undefined-x86_64": parallel-tests: installing 'build-aux/test-driver' Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": ------------------------------------------------------ Step #30 - "compile-libfuzzer-undefined-x86_64": Initialized build system. You can now run ./configure Step #30 - "compile-libfuzzer-undefined-x86_64": ------------------------------------------------------ Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": cd ../ && ./configure --disable-shared CC=clang CFLAGS="-O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function" LDFLAGS="" Step #30 - "compile-libfuzzer-undefined-x86_64": checking for a BSD-compatible install... /usr/bin/install -c Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether build environment is sane... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for a thread-safe mkdir -p... /usr/bin/mkdir -p Step #30 - "compile-libfuzzer-undefined-x86_64": checking for gawk... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for mawk... mawk Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether make sets $(MAKE)... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether make supports nested variables... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to create a pax tar archive... gnutar Step #30 - "compile-libfuzzer-undefined-x86_64": checking for gcc... clang Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether the C compiler works... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for C compiler default output file name... a.out Step #30 - "compile-libfuzzer-undefined-x86_64": checking for suffix of executables... Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether we are cross compiling... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for suffix of object files... o Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether we are using the GNU C compiler... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether clang accepts -g... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for clang option to accept ISO C89... none needed Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether clang understands -c and -o together... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether make supports the include directive... yes (GNU style) Step #30 - "compile-libfuzzer-undefined-x86_64": checking dependency style of clang... gcc3 Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to run the C preprocessor... clang -E Step #30 - "compile-libfuzzer-undefined-x86_64": checking for grep that handles long lines and -e... /usr/bin/grep Step #30 - "compile-libfuzzer-undefined-x86_64": checking for egrep... /usr/bin/grep -E Step #30 - "compile-libfuzzer-undefined-x86_64": checking for ANSI C header files... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/types.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/stat.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for stdlib.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for string.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for memory.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for strings.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for inttypes.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for stdint.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for unistd.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking minix/config.h usability... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking minix/config.h presence... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for minix/config.h... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether it is safe to define __EXTENSIONS__... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for special C compiler options needed for large files... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for _FILE_OFFSET_BITS value needed for large files... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether make supports nested variables... (cached) yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking build system type... x86_64-pc-linux-gnu Step #30 - "compile-libfuzzer-undefined-x86_64": checking host system type... x86_64-pc-linux-gnu Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to print strings... printf Step #30 - "compile-libfuzzer-undefined-x86_64": checking for a sed that does not truncate output... /usr/bin/sed Step #30 - "compile-libfuzzer-undefined-x86_64": checking for fgrep... /usr/bin/grep -F Step #30 - "compile-libfuzzer-undefined-x86_64": checking for ld used by clang... /usr/bin/ld Step #30 - "compile-libfuzzer-undefined-x86_64": checking if the linker (/usr/bin/ld) is GNU ld... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B Step #30 - "compile-libfuzzer-undefined-x86_64": checking the name lister (/usr/bin/nm -B) interface... BSD nm Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether ln -s works... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking the maximum length of command line arguments... 1572864 Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop Step #30 - "compile-libfuzzer-undefined-x86_64": checking for /usr/bin/ld option to reload object files... -r Step #30 - "compile-libfuzzer-undefined-x86_64": checking for objdump... objdump Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to recognize dependent libraries... pass_all Step #30 - "compile-libfuzzer-undefined-x86_64": checking for dlltool... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to associate runtime and link libraries... printf %s\n Step #30 - "compile-libfuzzer-undefined-x86_64": checking for ar... ar Step #30 - "compile-libfuzzer-undefined-x86_64": checking for archiver @FILE support... @ Step #30 - "compile-libfuzzer-undefined-x86_64": checking for strip... strip Step #30 - "compile-libfuzzer-undefined-x86_64": checking for ranlib... ranlib Step #30 - "compile-libfuzzer-undefined-x86_64": checking command to parse /usr/bin/nm -B output from clang object... ok Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sysroot... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for a working dd... /usr/bin/dd Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 Step #30 - "compile-libfuzzer-undefined-x86_64": checking for mt... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking if : is a manifest tool... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for dlfcn.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for objdir... .libs Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang supports -fno-rtti -fno-exceptions... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for clang option to produce PIC... -fPIC -DPIC Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang PIC flag -fPIC -DPIC works... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang static flag -static works... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang supports -c -o file.o... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang supports -c -o file.o... (cached) yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether the clang linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking dynamic linker characteristics... GNU/Linux ld.so Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to hardcode library paths into programs... immediate Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether stripping libraries is possible... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if libtool supports shared libraries... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether to build shared libraries... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether to build static libraries... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking arpa/inet.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking arpa/inet.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for arpa/inet.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking byteswap.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking byteswap.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for byteswap.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking errno.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking errno.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for errno.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking fcntl.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking fcntl.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for fcntl.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking limits.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking limits.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for limits.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking linux/serial.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking linux/serial.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for linux/serial.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netdb.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netdb.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for netdb.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netinet/in.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netinet/in.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for netinet/in.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netinet/ip.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netinet/ip.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for netinet/ip.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netinet/tcp.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking netinet/tcp.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for netinet/tcp.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/ioctl.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/ioctl.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/ioctl.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/params.h usability... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/params.h presence... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/params.h... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/socket.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/socket.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/socket.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/time.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking sys/time.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/time.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for sys/types.h... (cached) yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking termios.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking termios.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for termios.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking time.h usability... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking time.h presence... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for time.h... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for unistd.h... (cached) yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether __CYGWIN__ is declared... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for library containing accept... none required Step #30 - "compile-libfuzzer-undefined-x86_64": checking for accept4... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for gai_strerror... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for getaddrinfo... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for gettimeofday... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for inet_pton... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for inet_ntop... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for select... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for socket... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for strerror... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for strlcpy... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for inline... inline Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether we are using the GNU C++ compiler... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether clang++ accepts -g... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking dependency style of clang++... gcc3 Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to run the C++ preprocessor... clang++ -E Step #30 - "compile-libfuzzer-undefined-x86_64": checking for ld used by clang++... /usr/bin/ld -m elf_x86_64 Step #30 - "compile-libfuzzer-undefined-x86_64": checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for clang++ option to produce PIC... -fPIC -DPIC Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang++ PIC flag -fPIC -DPIC works... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang++ static flag -static works... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang++ supports -c -o file.o... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking if clang++ supports -c -o file.o... (cached) yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether the clang++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking dynamic linker characteristics... (cached) GNU/Linux ld.so Step #30 - "compile-libfuzzer-undefined-x86_64": checking how to hardcode library paths into programs... immediate Step #30 - "compile-libfuzzer-undefined-x86_64": checking for int64_t... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for size_t... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for ssize_t... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for uint16_t... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for uint32_t... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking for uint8_t... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking winsock2.h usability... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking winsock2.h presence... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking for winsock2.h... no Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether TIOCSRS485 is declared... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking whether TIOCM_RTS is declared... yes Step #30 - "compile-libfuzzer-undefined-x86_64": checking that generated files are newer than configure... done Step #30 - "compile-libfuzzer-undefined-x86_64": configure: creating ./config.status Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating Makefile Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating src/Makefile Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating src/modbus-version.h Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating src/win32/modbus.dll.manifest Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating tests/Makefile Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating libmodbus.pc Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating config.h Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: creating tests/unit-test.h Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: executing depfiles commands Step #30 - "compile-libfuzzer-undefined-x86_64": config.status: executing libtool commands Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": libmodbus 3.1.11 Step #30 - "compile-libfuzzer-undefined-x86_64": =============== Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": prefix: /usr/local Step #30 - "compile-libfuzzer-undefined-x86_64": sysconfdir: ${prefix}/etc Step #30 - "compile-libfuzzer-undefined-x86_64": libdir: ${exec_prefix}/lib Step #30 - "compile-libfuzzer-undefined-x86_64": includedir: ${prefix}/include Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": compiler: clang Step #30 - "compile-libfuzzer-undefined-x86_64": cflags: -O2 -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security Step #30 - "compile-libfuzzer-undefined-x86_64": ldflags: Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": tests: yes Step #30 - "compile-libfuzzer-undefined-x86_64": Step #30 - "compile-libfuzzer-undefined-x86_64": cd ../ && make -j Step #30 - "compile-libfuzzer-undefined-x86_64": make[1]: Entering directory '/src/libmodbus' Step #30 - "compile-libfuzzer-undefined-x86_64": make --no-print-directory all-recursive Step #30 - "compile-libfuzzer-undefined-x86_64": Making all in src Step #30 - "compile-libfuzzer-undefined-x86_64": CC modbus.lo Step #30 - "compile-libfuzzer-undefined-x86_64": CC modbus-data.lo Step #30 - "compile-libfuzzer-undefined-x86_64": CC modbus-rtu.lo Step #30 - "compile-libfuzzer-undefined-x86_64": CC modbus-tcp.lo Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD libmodbus.la Step #30 - "compile-libfuzzer-undefined-x86_64": Making all in tests Step #30 - "compile-libfuzzer-undefined-x86_64": make all-am Step #30 - "compile-libfuzzer-undefined-x86_64": CC bandwidth-server-one.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC bandwidth-server-many-up.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC bandwidth-client.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC random-test-server.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC random-test-client.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC unit-test-server.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC unit-test-client.o Step #30 - "compile-libfuzzer-undefined-x86_64": CC version.o Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD version Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD random-test-server Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD bandwidth-server-one Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD bandwidth-server-many-up Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD bandwidth-client Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD unit-test-server Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD random-test-client Step #30 - "compile-libfuzzer-undefined-x86_64": CCLD unit-test-client Step #30 - "compile-libfuzzer-undefined-x86_64": make[1]: Leaving directory '/src/libmodbus' Step #30 - "compile-libfuzzer-undefined-x86_64": cp ../tests/unit-test.h . Step #30 - "compile-libfuzzer-undefined-x86_64": clang -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -I../src/ -c FuzzClient.c Step #30 - "compile-libfuzzer-undefined-x86_64": FuzzClient.c:100:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #30 - "compile-libfuzzer-undefined-x86_64": 100 | fuzzer->buffer = data; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ ~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": 1 warning generated. Step #30 - "compile-libfuzzer-undefined-x86_64": libtool --mode=link --tag=CXX clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function ../src/libmodbus.la -fsanitize=fuzzer FuzzClient.o -o FuzzClient Step #30 - "compile-libfuzzer-undefined-x86_64": libtool: link: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -fsanitize=fuzzer FuzzClient.o -o FuzzClient ../src/.libs/libmodbus.a Step #30 - "compile-libfuzzer-undefined-x86_64": clang -Wall -Wextra -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -I../src/ -c FuzzServer.c Step #30 - "compile-libfuzzer-undefined-x86_64": FuzzServer.c:82:20: warning: assigning to 'uint8_t *' (aka 'unsigned char *') from 'const uint8_t *' (aka 'const unsigned char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Step #30 - "compile-libfuzzer-undefined-x86_64": 82 | fuzzer->buffer = data; Step #30 - "compile-libfuzzer-undefined-x86_64": |  ^ ~~~~ Step #30 - "compile-libfuzzer-undefined-x86_64": 1 warning generated. Step #30 - "compile-libfuzzer-undefined-x86_64": libtool --mode=link --tag=CXX clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function ../src/libmodbus.la -fsanitize=fuzzer FuzzServer.o -o FuzzServer Step #30 - "compile-libfuzzer-undefined-x86_64": libtool: link: clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -Wno-error=enum-constexpr-conversion -Wno-error=incompatible-function-pointer-types -Wno-error=int-conversion -Wno-error=deprecated-declarations -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=vla-cxx-extension -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unsigned-integer-overflow,unreachable,vla-bound,vptr -fno-sanitize-recover=array-bounds,bool,builtin,enum,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link -fno-sanitize=function -fsanitize=fuzzer FuzzServer.o -o FuzzServer ../src/.libs/libmodbus.a Step #30 - "compile-libfuzzer-undefined-x86_64": + cp FuzzClient /workspace/out/libfuzzer-undefined-x86_64/FuzzClient Step #30 - "compile-libfuzzer-undefined-x86_64": + cp FuzzServer /workspace/out/libfuzzer-undefined-x86_64/FuzzServer Step #30 - "compile-libfuzzer-undefined-x86_64": + pushd /src/oss-fuzz-bloat/libmodbus/ Step #30 - "compile-libfuzzer-undefined-x86_64": /src/oss-fuzz-bloat/libmodbus /src/libmodbus/fuzz Step #30 - "compile-libfuzzer-undefined-x86_64": + cp FuzzClient_seed_corpus.zip /workspace/out/libfuzzer-undefined-x86_64/FuzzClient_seed_corpus.zip Step #30 - "compile-libfuzzer-undefined-x86_64": + cp FuzzServer_seed_corpus.zip /workspace/out/libfuzzer-undefined-x86_64/FuzzServer_seed_corpus.zip Step #30 - "compile-libfuzzer-undefined-x86_64": + popd Step #30 - "compile-libfuzzer-undefined-x86_64": /src/libmodbus/fuzz Finished Step #30 - "compile-libfuzzer-undefined-x86_64" Starting Step #31 - "build-check-libfuzzer-undefined-x86_64" Step #31 - "build-check-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp9boh9toj/FuzzClient Step #31 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp9boh9toj/FuzzServer Finished Step #31 - "build-check-libfuzzer-undefined-x86_64" Starting Step #32 Step #32: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #32 Starting Step #33 Step #33: Already have image: gcr.io/oss-fuzz/libmodbus Step #33: adding: FuzzClient (deflated 65%) Step #33: adding: FuzzClient_seed_corpus.zip (stored 0%) Step #33: adding: FuzzServer (deflated 65%) Step #33: adding: FuzzServer_seed_corpus.zip (stored 0%) Step #33: adding: llvm-symbolizer (deflated 66%) Finished Step #33 Starting Step #34 Step #34: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #34: % Total % Received % Xferd Average Speed Time Time Time Current Step #34: Dload Upload Total Spent Left Speed Step #34: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 327 0 0 100 327 0 1729 --:--:-- --:--:-- --:--:-- 1739 Finished Step #34 Starting Step #35 Step #35: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #35: % Total % Received % Xferd Average Speed Time Time Time Current Step #35: Dload Upload Total Spent Left Speed Step #35: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4195k 0 0 100 4195k 0 18.0M --:--:-- --:--:-- --:--:-- 18.1M Finished Step #35 Starting Step #36 Step #36: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #36: % Total % Received % Xferd Average Speed Time Time Time Current Step #36: Dload Upload Total Spent Left Speed Step #36: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22 0 0 100 22 0 80 --:--:-- --:--:-- --:--:-- 80 Finished Step #36 Starting Step #37 Step #37: Already have image (with digest): gcr.io/cloud-builders/curl Step #37: % Total % Received % Xferd Average Speed Time Time Time Current Step #37: Dload Upload Total Spent Left Speed Step #37: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 36 0 0 100 36 0 192 --:--:-- --:--:-- --:--:-- 191 100 36 0 0 100 36 0 192 --:--:-- --:--:-- --:--:-- 191 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/libmodbus Finished Step #38 PUSH DONE