starting build "a3496ae3-a09d-4cf5-91ed-16e3c626613c" 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 5.12kB Step #1: Step 1/5 : 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: 9972b9c00abc: Pulling fs layer Step #1: c1cee264f23a: Pulling fs layer Step #1: d484f5361839: Pulling fs layer Step #1: ad01a75e82b1: Pulling fs layer Step #1: 154710d33cae: Pulling fs layer Step #1: 2db359077a15: Pulling fs layer Step #1: da4b92f4d53a: Pulling fs layer Step #1: bd0d7eb2f767: Pulling fs layer Step #1: 4e1bd5e76e70: Pulling fs layer Step #1: 8845af462ba3: Pulling fs layer Step #1: 7e0bea9e2b23: Pulling fs layer Step #1: 55a353587c96: Pulling fs layer Step #1: db694399bbd5: Pulling fs layer Step #1: 1344ff2900a9: Pulling fs layer Step #1: 0e9c8bccade2: Pulling fs layer Step #1: 0bd32085c5a0: Pulling fs layer Step #1: e0ea8c553758: Pulling fs layer Step #1: 9ba64ee5bf10: Pulling fs layer Step #1: dce1e371eab3: Pulling fs layer Step #1: 9c87b6aa03c5: Pulling fs layer Step #1: b0e7bed0104d: Pulling fs layer Step #1: 994161def32c: Pulling fs layer Step #1: efa8ff68de54: Pulling fs layer Step #1: b63dd03a1a32: Pulling fs layer Step #1: 8addca260d57: Pulling fs layer Step #1: 161460791eb7: Pulling fs layer Step #1: d484f5361839: Waiting Step #1: a9bc547ca279: Pulling fs layer Step #1: ad01a75e82b1: Waiting Step #1: 395ef4ab0e5c: Pulling fs layer Step #1: 2e99bd6230bf: Pulling fs layer Step #1: e0ea8c553758: Waiting Step #1: 9ba64ee5bf10: Waiting Step #1: dce1e371eab3: Waiting Step #1: 9c87b6aa03c5: Waiting Step #1: da4b92f4d53a: Waiting Step #1: b0e7bed0104d: Waiting Step #1: 994161def32c: Waiting Step #1: bd0d7eb2f767: Waiting Step #1: efa8ff68de54: Waiting Step #1: 4e1bd5e76e70: Waiting Step #1: b63dd03a1a32: Waiting Step #1: 8845af462ba3: Waiting Step #1: 8addca260d57: Waiting Step #1: 7e0bea9e2b23: Waiting Step #1: 161460791eb7: Waiting Step #1: 55a353587c96: Waiting Step #1: a9bc547ca279: Waiting Step #1: 395ef4ab0e5c: Waiting Step #1: 2e99bd6230bf: Waiting Step #1: db694399bbd5: Waiting Step #1: 1344ff2900a9: Waiting Step #1: 154710d33cae: Waiting Step #1: 2db359077a15: Waiting Step #1: 0e9c8bccade2: Waiting Step #1: 0bd32085c5a0: Waiting Step #1: c1cee264f23a: Verifying Checksum Step #1: c1cee264f23a: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: d484f5361839: Verifying Checksum Step #1: d484f5361839: Download complete Step #1: ad01a75e82b1: Verifying Checksum Step #1: ad01a75e82b1: Download complete Step #1: 154710d33cae: Verifying Checksum Step #1: 154710d33cae: Download complete Step #1: da4b92f4d53a: Download complete Step #1: bd0d7eb2f767: Verifying Checksum Step #1: bd0d7eb2f767: Download complete Step #1: 9972b9c00abc: Verifying Checksum Step #1: 9972b9c00abc: Download complete Step #1: 8845af462ba3: Verifying Checksum Step #1: 8845af462ba3: Download complete Step #1: 7e0bea9e2b23: Verifying Checksum Step #1: 7e0bea9e2b23: Download complete Step #1: 55a353587c96: Verifying Checksum Step #1: 55a353587c96: Download complete Step #1: db694399bbd5: Download complete Step #1: 1344ff2900a9: Verifying Checksum Step #1: 1344ff2900a9: Download complete Step #1: b549f31133a9: Pull complete Step #1: 0e9c8bccade2: Verifying Checksum Step #1: 0e9c8bccade2: Download complete Step #1: 0bd32085c5a0: Verifying Checksum Step #1: 0bd32085c5a0: Download complete Step #1: e0ea8c553758: Download complete Step #1: 9ba64ee5bf10: Verifying Checksum Step #1: 9ba64ee5bf10: Download complete Step #1: 4e1bd5e76e70: Verifying Checksum Step #1: 4e1bd5e76e70: Download complete Step #1: dce1e371eab3: Verifying Checksum Step #1: dce1e371eab3: Download complete Step #1: 9c87b6aa03c5: Download complete Step #1: 994161def32c: Verifying Checksum Step #1: 994161def32c: Download complete Step #1: efa8ff68de54: Verifying Checksum Step #1: efa8ff68de54: Download complete Step #1: b0e7bed0104d: Download complete Step #1: 2db359077a15: Verifying Checksum Step #1: 2db359077a15: Download complete Step #1: 8addca260d57: Verifying Checksum Step #1: 8addca260d57: Download complete Step #1: b63dd03a1a32: Verifying Checksum Step #1: b63dd03a1a32: Download complete Step #1: 161460791eb7: Verifying Checksum Step #1: 161460791eb7: Download complete Step #1: a9bc547ca279: Verifying Checksum Step #1: a9bc547ca279: Download complete Step #1: 395ef4ab0e5c: Verifying Checksum Step #1: 395ef4ab0e5c: Download complete Step #1: 2e99bd6230bf: Download complete Step #1: 9972b9c00abc: Pull complete Step #1: c1cee264f23a: Pull complete Step #1: d484f5361839: Pull complete Step #1: ad01a75e82b1: Pull complete Step #1: 154710d33cae: Pull complete Step #1: 2db359077a15: Pull complete Step #1: da4b92f4d53a: Pull complete Step #1: bd0d7eb2f767: Pull complete Step #1: 4e1bd5e76e70: Pull complete Step #1: 8845af462ba3: Pull complete Step #1: 7e0bea9e2b23: Pull complete Step #1: 55a353587c96: Pull complete Step #1: db694399bbd5: Pull complete Step #1: 1344ff2900a9: Pull complete Step #1: 0e9c8bccade2: Pull complete Step #1: 0bd32085c5a0: Pull complete Step #1: e0ea8c553758: Pull complete Step #1: 9ba64ee5bf10: Pull complete Step #1: dce1e371eab3: Pull complete Step #1: 9c87b6aa03c5: Pull complete Step #1: b0e7bed0104d: Pull complete Step #1: 994161def32c: Pull complete Step #1: efa8ff68de54: Pull complete Step #1: b63dd03a1a32: Pull complete Step #1: 8addca260d57: Pull complete Step #1: 161460791eb7: Pull complete Step #1: a9bc547ca279: Pull complete Step #1: 395ef4ab0e5c: Pull complete Step #1: 2e99bd6230bf: Pull complete Step #1: Digest: sha256:1fef1028fb0c550bca637eaa7e31ca6bf6d704fbccef5d0404239d5130e589ca Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder:latest Step #1: ---> ce1a847bc111 Step #1: Step 2/5 : RUN apt-get update && apt-get install -y make autoconf automake libtool Step #1: ---> Running in 5b89340ee6a3 Step #1: Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease Step #1: Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB] Step #1: Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease Step #1: Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Step #1: Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [1138 kB] Step #1: Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1443 kB] Step #1: Get:7 http://archive.ubuntu.com/ubuntu focal-updates/universe i386 Packages [946 kB] Step #1: Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3754 kB] Step #1: Fetched 7394 kB in 2s (3646 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 m4 Step #1: 0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Step #1: Need to get 1774 kB of archives. Step #1: After this operation, 12.8 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: debconf: delaying package configuration, since apt-utils is not installed Step #1: Fetched 1774 kB in 0s (3969 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 ... 17383 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: 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 libltdl-dev:amd64 (2.4.6-14) ... Step #1: Processing triggers for libc-bin (2.31-0ubuntu9.14) ... Step #1: Removing intermediate container 5b89340ee6a3 Step #1: ---> 65ab1f558c45 Step #1: Step 3/5 : RUN git clone --depth 1 https://github.com/guidovranken/gfwx-fuzzers.git gfwx-fuzzers Step #1: ---> Running in 3852070cdaf4 Step #1: Cloning into 'gfwx-fuzzers'... Step #1: Removing intermediate container 3852070cdaf4 Step #1: ---> 500582896b71 Step #1: Step 4/5 : WORKDIR gfwx-fuzzers Step #1: ---> Running in f154274a6075 Step #1: Removing intermediate container f154274a6075 Step #1: ---> 2562e20dc502 Step #1: Step 5/5 : COPY build.sh $SRC/ Step #1: ---> a3ab942f7970 Step #1: Successfully built a3ab942f7970 Step #1: Successfully tagged gcr.io/oss-fuzz/gfwx:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/gfwx Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileI0Db1N 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/gfwx-fuzzers/.git Step #2 - "srcmap": + GIT_DIR=/src/gfwx-fuzzers Step #2 - "srcmap": + cd /src/gfwx-fuzzers Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/guidovranken/gfwx-fuzzers.git Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=9293b105b3f50033a4017f02685e3feb672f517a Step #2 - "srcmap": + jq_inplace /tmp/fileI0Db1N '."/src/gfwx-fuzzers" = { type: "git", url: "https://github.com/guidovranken/gfwx-fuzzers.git", rev: "9293b105b3f50033a4017f02685e3feb672f517a" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileo0TN09 Step #2 - "srcmap": + cat /tmp/fileI0Db1N Step #2 - "srcmap": + jq '."/src/gfwx-fuzzers" = { type: "git", url: "https://github.com/guidovranken/gfwx-fuzzers.git", rev: "9293b105b3f50033a4017f02685e3feb672f517a" }' Step #2 - "srcmap": + mv /tmp/fileo0TN09 /tmp/fileI0Db1N 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/fileI0Db1N Step #2 - "srcmap": + rm /tmp/fileI0Db1N Step #2 - "srcmap": { Step #2 - "srcmap": "/src/gfwx-fuzzers": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/guidovranken/gfwx-fuzzers.git", Step #2 - "srcmap": "rev": "9293b105b3f50033a4017f02685e3feb672f517a" 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": 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 -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 -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": + [[ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope = *sanitize=memory* ]] Step #3 - "compile-afl-address-x86_64": + make Step #3 - "compile-afl-address-x86_64": /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include encoder.cpp /usr/lib/libFuzzingEngine.a -o fuzzer-encoder Step #3 - "compile-afl-address-x86_64": In file included from encoder.cpp:7: Step #3 - "compile-afl-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #3 - "compile-afl-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #3 - "compile-afl-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #3 - "compile-afl-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #3 - "compile-afl-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #3 - "compile-afl-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": 2 warnings generated. Step #3 - "compile-afl-address-x86_64": /src/aflplusplus/afl-clang-fast++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -stdlib=libc++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include decoder.cpp /usr/lib/libFuzzingEngine.a -o fuzzer-decoder Step #3 - "compile-afl-address-x86_64": In file included from decoder.cpp:7: Step #3 - "compile-afl-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #3 - "compile-afl-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #3 - "compile-afl-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #3 - "compile-afl-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #3 - "compile-afl-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #3 - "compile-afl-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #3 - "compile-afl-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #3 - "compile-afl-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #3 - "compile-afl-address-x86_64": decoder.cpp:15:34: note: in instantiation of function template specialization 'GFWX::decompress' requested here Step #3 - "compile-afl-address-x86_64": ptrdiff_t result = GFWX::decompress((uint8_t*)0, header, data, size, 0, true); Step #3 - "compile-afl-address-x86_64":  ^ Step #3 - "compile-afl-address-x86_64": In file included from decoder.cpp:7: Step #3 - "compile-afl-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #3 - "compile-afl-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #3 - "compile-afl-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #3 - "compile-afl-address-x86_64": 4 warnings generated. Step #3 - "compile-afl-address-x86_64": + cp fuzzer-encoder /workspace/out/afl-address-x86_64/ Step #3 - "compile-afl-address-x86_64": + cp fuzzer-encoder_seed_corpus.zip /workspace/out/afl-address-x86_64/ Step #3 - "compile-afl-address-x86_64": + cp fuzzer-decoder /workspace/out/afl-address-x86_64/ Step #3 - "compile-afl-address-x86_64": + cp fuzzer-decoder_seed_corpus.zip /workspace/out/afl-address-x86_64/ 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": 9972b9c00abc: Already exists Step #4 - "build-check-afl-address-x86_64": c1cee264f23a: Already exists Step #4 - "build-check-afl-address-x86_64": df125396c707: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 7a20b461bb5a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 1e4d47e5128a: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 978d2e29ca36: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 928fa4419522: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b1b0470c951c: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 336a691a91de: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 3776783351a9: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 3864365165ac: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": a0ec81e862c4: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d5a2b85eb05c: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": 0c2a42867e22: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": ad575b81158e: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": d6e97065e6df: Pulling fs layer Step #4 - "build-check-afl-address-x86_64": b1b0470c951c: Waiting Step #4 - "build-check-afl-address-x86_64": 336a691a91de: Waiting Step #4 - "build-check-afl-address-x86_64": 3776783351a9: Waiting Step #4 - "build-check-afl-address-x86_64": 3864365165ac: Waiting Step #4 - "build-check-afl-address-x86_64": a0ec81e862c4: Waiting Step #4 - "build-check-afl-address-x86_64": d5a2b85eb05c: Waiting Step #4 - "build-check-afl-address-x86_64": 0c2a42867e22: Waiting Step #4 - "build-check-afl-address-x86_64": ad575b81158e: Waiting Step #4 - "build-check-afl-address-x86_64": d6e97065e6df: Waiting Step #4 - "build-check-afl-address-x86_64": 978d2e29ca36: Waiting Step #4 - "build-check-afl-address-x86_64": 928fa4419522: Waiting Step #4 - "build-check-afl-address-x86_64": 1e4d47e5128a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 1e4d47e5128a: Download complete Step #4 - "build-check-afl-address-x86_64": df125396c707: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 7a20b461bb5a: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 7a20b461bb5a: Download complete Step #4 - "build-check-afl-address-x86_64": 928fa4419522: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 928fa4419522: Download complete Step #4 - "build-check-afl-address-x86_64": b1b0470c951c: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": b1b0470c951c: Download complete Step #4 - "build-check-afl-address-x86_64": df125396c707: Pull complete Step #4 - "build-check-afl-address-x86_64": 336a691a91de: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 336a691a91de: Download complete Step #4 - "build-check-afl-address-x86_64": 3864365165ac: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 3864365165ac: Download complete Step #4 - "build-check-afl-address-x86_64": 3776783351a9: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 3776783351a9: Download complete Step #4 - "build-check-afl-address-x86_64": 7a20b461bb5a: Pull complete Step #4 - "build-check-afl-address-x86_64": 1e4d47e5128a: Pull complete Step #4 - "build-check-afl-address-x86_64": d5a2b85eb05c: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d5a2b85eb05c: Download complete Step #4 - "build-check-afl-address-x86_64": 978d2e29ca36: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 978d2e29ca36: Download complete Step #4 - "build-check-afl-address-x86_64": 0c2a42867e22: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": 0c2a42867e22: Download complete Step #4 - "build-check-afl-address-x86_64": d6e97065e6df: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": d6e97065e6df: Download complete Step #4 - "build-check-afl-address-x86_64": a0ec81e862c4: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": a0ec81e862c4: Download complete Step #4 - "build-check-afl-address-x86_64": ad575b81158e: Verifying Checksum Step #4 - "build-check-afl-address-x86_64": ad575b81158e: Download complete Step #4 - "build-check-afl-address-x86_64": 978d2e29ca36: Pull complete Step #4 - "build-check-afl-address-x86_64": 928fa4419522: Pull complete Step #4 - "build-check-afl-address-x86_64": b1b0470c951c: Pull complete Step #4 - "build-check-afl-address-x86_64": 336a691a91de: Pull complete Step #4 - "build-check-afl-address-x86_64": 3776783351a9: Pull complete Step #4 - "build-check-afl-address-x86_64": 3864365165ac: Pull complete Step #4 - "build-check-afl-address-x86_64": a0ec81e862c4: Pull complete Step #4 - "build-check-afl-address-x86_64": d5a2b85eb05c: Pull complete Step #4 - "build-check-afl-address-x86_64": 0c2a42867e22: Pull complete Step #4 - "build-check-afl-address-x86_64": ad575b81158e: Pull complete Step #4 - "build-check-afl-address-x86_64": d6e97065e6df: Pull complete Step #4 - "build-check-afl-address-x86_64": Digest: sha256:cb992ee14622772b6874b23d68558a0ffd1131745005a46c185bbb4911599006 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/tmphj6el7lm/fuzzer-encoder Step #4 - "build-check-afl-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmphj6el7lm/fuzzer-decoder 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/gfwx Step #6: adding: SanitizerCoveragePCGUARD.so (deflated 70%) Step #6: adding: afl-analyze (deflated 54%) Step #6: adding: afl-as (deflated 63%) Step #6: adding: afl-c++ (deflated 55%) Step #6: adding: afl-cc (deflated 55%) Step #6: adding: afl-clang (deflated 55%) Step #6: adding: afl-clang++ (deflated 55%) Step #6: adding: afl-clang-fast (deflated 55%) Step #6: adding: afl-clang-fast++ (deflated 55%) Step #6: adding: afl-clang-lto (deflated 55%) Step #6: adding: afl-clang-lto++ (deflated 55%) Step #6: adding: afl-cmin (deflated 71%) 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 55%) Step #6: adding: afl-gcc (deflated 55%) Step #6: adding: afl-gotcpu (deflated 63%) Step #6: adding: afl-ld-lto (deflated 63%) Step #6: adding: afl-llvm-dict2file.so (deflated 68%) Step #6: adding: afl-llvm-lto-instrumentlist.so (deflated 70%) Step #6: adding: afl-llvm-pass.so (deflated 68%) Step #6: adding: afl-lto (deflated 55%) Step #6: adding: afl-lto++ (deflated 55%) Step #6: adding: afl-persistent-config (deflated 60%) Step #6: adding: afl-plot (deflated 65%) Step #6: adding: afl-showmap (deflated 54%) Step #6: adding: afl-system-config (deflated 63%) Step #6: adding: afl-tmin (deflated 53%) 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 69%) 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: fuzzer-decoder (deflated 67%) Step #6: adding: fuzzer-decoder_seed_corpus.zip (stored 0%) Step #6: adding: fuzzer-encoder (deflated 66%) Step #6: adding: fuzzer-encoder_seed_corpus.zip (stored 0%) Step #6: adding: libAFLDriver.a (deflated 63%) Step #6: adding: libAFLQemuDriver.a (deflated 64%) Step #6: adding: llvm-symbolizer (deflated 64%) 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: 0062f774e994: Waiting Step #7: 7eb39101e508: Waiting Step #7: 6b33fd031fac: Waiting Step #7: 89257482f398: Waiting Step #7: d4fceeeb758e: Verifying Checksum Step #7: d4fceeeb758e: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: Download complete Step #7: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: 6b33fd031fac: Verifying Checksum 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 169 0 0 100 169 0 1000 --:--:-- --:--:-- --:--:-- 1005 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 9531k 0 0 100 9531k 0 35.2M --:--:-- --:--:-- --:--:-- 35.2M 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 30 0 0 100 30 0 126 --:--:-- --:--:-- --:--:-- 126 Finished Step #9 Starting Step #10 Step #10: Already have image (with digest): gcr.io/cloud-builders/curl Step #10: Step #10: ***** NOTICE ***** Step #10: Step #10: Supported `curl` versions can be found in the various images available at Step #10: https://console.cloud.google.com/launcher/details/google/ubuntu1604. Step #10: Step #10: ***** END OF NOTICE ***** Step #10: 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 29 0 0 100 29 0 144 --:--:-- --:--:-- --:--:-- 144 100 29 0 0 100 29 0 144 --:--:-- --:--:-- --:--:-- 144 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/gfwx 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": 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 -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 -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": + [[ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp = *sanitize=memory* ]] Step #12 - "compile-honggfuzz-address-x86_64": + make Step #12 - "compile-honggfuzz-address-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include encoder.cpp /usr/lib/libFuzzingEngine.a -o fuzzer-encoder Step #12 - "compile-honggfuzz-address-x86_64": In file included from encoder.cpp:7: Step #12 - "compile-honggfuzz-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #12 - "compile-honggfuzz-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #12 - "compile-honggfuzz-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #12 - "compile-honggfuzz-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #12 - "compile-honggfuzz-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #12 - "compile-honggfuzz-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 2 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -stdlib=libc++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include decoder.cpp /usr/lib/libFuzzingEngine.a -o fuzzer-decoder Step #12 - "compile-honggfuzz-address-x86_64": In file included from decoder.cpp:7: Step #12 - "compile-honggfuzz-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #12 - "compile-honggfuzz-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #12 - "compile-honggfuzz-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #12 - "compile-honggfuzz-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #12 - "compile-honggfuzz-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #12 - "compile-honggfuzz-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #12 - "compile-honggfuzz-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #12 - "compile-honggfuzz-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #12 - "compile-honggfuzz-address-x86_64": decoder.cpp:15:34: note: in instantiation of function template specialization 'GFWX::decompress' requested here Step #12 - "compile-honggfuzz-address-x86_64": ptrdiff_t result = GFWX::decompress((uint8_t*)0, header, data, size, 0, true); Step #12 - "compile-honggfuzz-address-x86_64":  ^ Step #12 - "compile-honggfuzz-address-x86_64": In file included from decoder.cpp:7: Step #12 - "compile-honggfuzz-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #12 - "compile-honggfuzz-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #12 - "compile-honggfuzz-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #12 - "compile-honggfuzz-address-x86_64": 4 warnings generated. Step #12 - "compile-honggfuzz-address-x86_64": + cp fuzzer-encoder /workspace/out/honggfuzz-address-x86_64/ Step #12 - "compile-honggfuzz-address-x86_64": + cp fuzzer-encoder_seed_corpus.zip /workspace/out/honggfuzz-address-x86_64/ Step #12 - "compile-honggfuzz-address-x86_64": + cp fuzzer-decoder /workspace/out/honggfuzz-address-x86_64/ Step #12 - "compile-honggfuzz-address-x86_64": + cp fuzzer-decoder_seed_corpus.zip /workspace/out/honggfuzz-address-x86_64/ 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/tmp7gj5335r/fuzzer-encoder Step #13 - "build-check-honggfuzz-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp7gj5335r/fuzzer-decoder 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/gfwx Step #15: adding: fuzzer-decoder (deflated 67%) Step #15: adding: fuzzer-decoder_seed_corpus.zip (stored 0%) Step #15: adding: fuzzer-encoder (deflated 66%) Step #15: adding: fuzzer-encoder_seed_corpus.zip (stored 0%) Step #15: adding: honggfuzz (deflated 66%) Step #15: adding: llvm-symbolizer (deflated 64%) 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 169 0 0 100 169 0 846 --:--:-- --:--:-- --:--:-- 849 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 5598k 0 0 100 5598k 0 17.2M --:--:-- --:--:-- --:--:-- 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 30 0 0 100 30 0 111 --:--:-- --:--:-- --:--:-- 111 Finished Step #18 Starting Step #19 Step #19: Already have image (with digest): gcr.io/cloud-builders/curl 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 29 0 0 100 29 0 142 --:--:-- --:--:-- --:--:-- 142 100 29 0 0 100 29 0 127 --:--:-- --:--:-- --:--:-- 127 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/gfwx 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": 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 -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 -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": + [[ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link = *sanitize=memory* ]] Step #21 - "compile-libfuzzer-address-x86_64": + make Step #21 - "compile-libfuzzer-address-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include encoder.cpp -fsanitize=fuzzer -o fuzzer-encoder Step #21 - "compile-libfuzzer-address-x86_64": In file included from encoder.cpp:7: Step #21 - "compile-libfuzzer-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #21 - "compile-libfuzzer-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #21 - "compile-libfuzzer-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #21 - "compile-libfuzzer-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #21 - "compile-libfuzzer-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #21 - "compile-libfuzzer-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 2 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address -fsanitize-address-use-after-scope -fsanitize=fuzzer-no-link -stdlib=libc++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include decoder.cpp -fsanitize=fuzzer -o fuzzer-decoder Step #21 - "compile-libfuzzer-address-x86_64": In file included from decoder.cpp:7: Step #21 - "compile-libfuzzer-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #21 - "compile-libfuzzer-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #21 - "compile-libfuzzer-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #21 - "compile-libfuzzer-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #21 - "compile-libfuzzer-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #21 - "compile-libfuzzer-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #21 - "compile-libfuzzer-address-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #21 - "compile-libfuzzer-address-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #21 - "compile-libfuzzer-address-x86_64": decoder.cpp:15:34: note: in instantiation of function template specialization 'GFWX::decompress' requested here Step #21 - "compile-libfuzzer-address-x86_64": ptrdiff_t result = GFWX::decompress((uint8_t*)0, header, data, size, 0, true); Step #21 - "compile-libfuzzer-address-x86_64":  ^ Step #21 - "compile-libfuzzer-address-x86_64": In file included from decoder.cpp:7: Step #21 - "compile-libfuzzer-address-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #21 - "compile-libfuzzer-address-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #21 - "compile-libfuzzer-address-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #21 - "compile-libfuzzer-address-x86_64": 4 warnings generated. Step #21 - "compile-libfuzzer-address-x86_64": + cp fuzzer-encoder /workspace/out/libfuzzer-address-x86_64/ Step #21 - "compile-libfuzzer-address-x86_64": + cp fuzzer-encoder_seed_corpus.zip /workspace/out/libfuzzer-address-x86_64/ Step #21 - "compile-libfuzzer-address-x86_64": + cp fuzzer-decoder /workspace/out/libfuzzer-address-x86_64/ Step #21 - "compile-libfuzzer-address-x86_64": + cp fuzzer-decoder_seed_corpus.zip /workspace/out/libfuzzer-address-x86_64/ 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/tmpfess4war/fuzzer-encoder Step #22 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpfess4war/fuzzer-decoder 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/gfwx Step #24: adding: fuzzer-decoder (deflated 67%) Step #24: adding: fuzzer-decoder_seed_corpus.zip (stored 0%) Step #24: adding: fuzzer-encoder (deflated 66%) Step #24: adding: fuzzer-encoder_seed_corpus.zip (stored 0%) Step #24: adding: llvm-symbolizer (deflated 64%) 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 100 169 0 0 100 169 0 946 --:--:-- --:--:-- --:--:-- 949 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 6521k 0 0 100 6521k 0 25.1M --:--:-- --:--:-- --:--:-- 25.1M 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 30 0 0 100 30 0 132 --:--:-- --:--:-- --:--:-- 133 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 29 0 0 100 29 0 136 --:--:-- --:--:-- --:--:-- 136 Finished Step #28 Starting Step #29 Step #29: Already have image: gcr.io/oss-fuzz/gfwx Finished Step #29 Starting Step #30 - "compile-libfuzzer-memory-x86_64" Step #30 - "compile-libfuzzer-memory-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #30 - "compile-libfuzzer-memory-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-memory-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #30 - "compile-libfuzzer-memory-x86_64": Building without MSan instrumented libraries. Step #30 - "compile-libfuzzer-memory-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-memory-x86_64": CC=clang Step #30 - "compile-libfuzzer-memory-x86_64": CXX=clang++ Step #30 - "compile-libfuzzer-memory-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link Step #30 - "compile-libfuzzer-memory-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link -stdlib=libc++ Step #30 - "compile-libfuzzer-memory-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=memory -Cdebuginfo=1 -Cforce-frame-pointers Step #30 - "compile-libfuzzer-memory-x86_64": --------------------------------------------------------------- Step #30 - "compile-libfuzzer-memory-x86_64": + [[ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link = *sanitize=memory* ]] Step #30 - "compile-libfuzzer-memory-x86_64": + export 'CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link -stdlib=libc++ -DMSAN' Step #30 - "compile-libfuzzer-memory-x86_64": + CXXFLAGS='-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link -stdlib=libc++ -DMSAN' Step #30 - "compile-libfuzzer-memory-x86_64": + make Step #30 - "compile-libfuzzer-memory-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link -stdlib=libc++ -DMSAN -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include encoder.cpp -fsanitize=fuzzer -o fuzzer-encoder Step #30 - "compile-libfuzzer-memory-x86_64": In file included from encoder.cpp:7: Step #30 - "compile-libfuzzer-memory-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #30 - "compile-libfuzzer-memory-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #30 - "compile-libfuzzer-memory-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #30 - "compile-libfuzzer-memory-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #30 - "compile-libfuzzer-memory-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #30 - "compile-libfuzzer-memory-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-memory-x86_64": 2 warnings generated. Step #30 - "compile-libfuzzer-memory-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=memory -fsanitize-memory-track-origins -fsanitize=fuzzer-no-link -stdlib=libc++ -DMSAN -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include decoder.cpp -fsanitize=fuzzer -o fuzzer-decoder Step #30 - "compile-libfuzzer-memory-x86_64": In file included from decoder.cpp:7: Step #30 - "compile-libfuzzer-memory-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #30 - "compile-libfuzzer-memory-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #30 - "compile-libfuzzer-memory-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #30 - "compile-libfuzzer-memory-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #30 - "compile-libfuzzer-memory-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #30 - "compile-libfuzzer-memory-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-memory-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #30 - "compile-libfuzzer-memory-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #30 - "compile-libfuzzer-memory-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #30 - "compile-libfuzzer-memory-x86_64": decoder.cpp:15:34: note: in instantiation of function template specialization 'GFWX::decompress' requested here Step #30 - "compile-libfuzzer-memory-x86_64": ptrdiff_t result = GFWX::decompress((uint8_t*)0, header, data, size, 0, true); Step #30 - "compile-libfuzzer-memory-x86_64":  ^ Step #30 - "compile-libfuzzer-memory-x86_64": In file included from decoder.cpp:7: Step #30 - "compile-libfuzzer-memory-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #30 - "compile-libfuzzer-memory-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #30 - "compile-libfuzzer-memory-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #30 - "compile-libfuzzer-memory-x86_64": 4 warnings generated. Step #30 - "compile-libfuzzer-memory-x86_64": + cp fuzzer-encoder /workspace/out/libfuzzer-memory-x86_64/ Step #30 - "compile-libfuzzer-memory-x86_64": + cp fuzzer-encoder_seed_corpus.zip /workspace/out/libfuzzer-memory-x86_64/ Step #30 - "compile-libfuzzer-memory-x86_64": + cp fuzzer-decoder /workspace/out/libfuzzer-memory-x86_64/ Step #30 - "compile-libfuzzer-memory-x86_64": + cp fuzzer-decoder_seed_corpus.zip /workspace/out/libfuzzer-memory-x86_64/ Finished Step #30 - "compile-libfuzzer-memory-x86_64" Starting Step #31 - "build-check-libfuzzer-memory-x86_64" Step #31 - "build-check-libfuzzer-memory-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #31 - "build-check-libfuzzer-memory-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppb7vc0ic/fuzzer-encoder Step #31 - "build-check-libfuzzer-memory-x86_64": INFO: performing bad build checks for /tmp/not-out/tmppb7vc0ic/fuzzer-decoder Finished Step #31 - "build-check-libfuzzer-memory-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/gfwx Step #33: adding: fuzzer-decoder (deflated 66%) Step #33: adding: fuzzer-decoder_seed_corpus.zip (stored 0%) Step #33: adding: fuzzer-encoder (deflated 64%) Step #33: adding: fuzzer-encoder_seed_corpus.zip (stored 0%) Step #33: adding: llvm-symbolizer (deflated 64%) 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 169 0 0 100 169 0 941 --:--:-- --:--:-- --:--:-- 944 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 7010k 0 0 100 7010k 0 33.4M --:--:-- --:--:-- --:--:-- 33.3M 100 7010k 0 0 100 7010k 0 25.5M --:--:-- --:--:-- --:--:-- 25.4M 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 30 0 0 100 30 0 123 --:--:-- --:--:-- --:--:-- 124 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 28 0 0 100 28 0 133 --:--:-- --:--:-- --:--:-- 133 Finished Step #37 Starting Step #38 Step #38: Already have image: gcr.io/oss-fuzz/gfwx Finished Step #38 Starting Step #39 - "compile-libfuzzer-undefined-x86_64" Step #39 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #39 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #39 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #39 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #39 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #39 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #39 - "compile-libfuzzer-undefined-x86_64": CFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,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,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link Step #39 - "compile-libfuzzer-undefined-x86_64": CXXFLAGS=-O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,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,float-divide-by-zero,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 #39 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #39 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #39 - "compile-libfuzzer-undefined-x86_64": + [[ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,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,float-divide-by-zero,function,integer-divide-by-zero,null,object-size,return,returns-nonnull-attribute,shift,signed-integer-overflow,unreachable,vla-bound,vptr -fsanitize=fuzzer-no-link = *sanitize=memory* ]] Step #39 - "compile-libfuzzer-undefined-x86_64": + make Step #39 - "compile-libfuzzer-undefined-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,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,float-divide-by-zero,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++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include encoder.cpp -fsanitize=fuzzer -o fuzzer-encoder Step #39 - "compile-libfuzzer-undefined-x86_64": In file included from encoder.cpp:7: Step #39 - "compile-libfuzzer-undefined-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #39 - "compile-libfuzzer-undefined-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #39 - "compile-libfuzzer-undefined-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #39 - "compile-libfuzzer-undefined-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #39 - "compile-libfuzzer-undefined-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #39 - "compile-libfuzzer-undefined-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #39 - "compile-libfuzzer-undefined-x86_64": 2 warnings generated. Step #39 - "compile-libfuzzer-undefined-x86_64": clang++ -O1 -fno-omit-frame-pointer -gline-tables-only -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=array-bounds,bool,builtin,enum,float-divide-by-zero,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,float-divide-by-zero,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++ -std=c++17 -D_GLIBCXX_DEBUG -Wall -Wextra -I fuzzing-headers/include decoder.cpp -fsanitize=fuzzer -o fuzzer-decoder Step #39 - "compile-libfuzzer-undefined-x86_64": In file included from decoder.cpp:7: Step #39 - "compile-libfuzzer-undefined-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #39 - "compile-libfuzzer-undefined-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #39 - "compile-libfuzzer-undefined-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #39 - "compile-libfuzzer-undefined-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #39 - "compile-libfuzzer-undefined-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #39 - "compile-libfuzzer-undefined-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #39 - "compile-libfuzzer-undefined-x86_64": ./gfwx.h:884:63: warning: performing pointer arithmetic on a null pointer has undefined behavior if the offset is nonzero [-Wnull-pointer-arithmetic] Step #39 - "compile-libfuzzer-undefined-x86_64": streamBlock[block].bufferEnd = static_cast(0) + *(stream.buffer ++); Step #39 - "compile-libfuzzer-undefined-x86_64":  ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ Step #39 - "compile-libfuzzer-undefined-x86_64": decoder.cpp:15:34: note: in instantiation of function template specialization 'GFWX::decompress' requested here Step #39 - "compile-libfuzzer-undefined-x86_64": ptrdiff_t result = GFWX::decompress((uint8_t*)0, header, data, size, 0, true); Step #39 - "compile-libfuzzer-undefined-x86_64":  ^ Step #39 - "compile-libfuzzer-undefined-x86_64": In file included from decoder.cpp:7: Step #39 - "compile-libfuzzer-undefined-x86_64": ./gfwx.h:887:45: warning: performing pointer subtraction with a null pointer may have undefined behavior [-Wnull-pointer-subtraction] Step #39 - "compile-libfuzzer-undefined-x86_64": + (streamBlock[block].bufferEnd - static_cast(0)); Step #39 - "compile-libfuzzer-undefined-x86_64":  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ Step #39 - "compile-libfuzzer-undefined-x86_64": 4 warnings generated. Step #39 - "compile-libfuzzer-undefined-x86_64": + cp fuzzer-encoder /workspace/out/libfuzzer-undefined-x86_64/ Step #39 - "compile-libfuzzer-undefined-x86_64": + cp fuzzer-encoder_seed_corpus.zip /workspace/out/libfuzzer-undefined-x86_64/ Step #39 - "compile-libfuzzer-undefined-x86_64": + cp fuzzer-decoder /workspace/out/libfuzzer-undefined-x86_64/ Step #39 - "compile-libfuzzer-undefined-x86_64": + cp fuzzer-decoder_seed_corpus.zip /workspace/out/libfuzzer-undefined-x86_64/ Finished Step #39 - "compile-libfuzzer-undefined-x86_64" Starting Step #40 - "build-check-libfuzzer-undefined-x86_64" Step #40 - "build-check-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #40 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp9x4h1l1l/fuzzer-encoder Step #40 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmp9x4h1l1l/fuzzer-decoder Finished Step #40 - "build-check-libfuzzer-undefined-x86_64" Starting Step #41 Step #41: Already have image (with digest): gcr.io/oss-fuzz-base/base-runner Finished Step #41 Starting Step #42 Step #42: Already have image: gcr.io/oss-fuzz/gfwx Step #42: adding: fuzzer-decoder (deflated 64%) Step #42: adding: fuzzer-decoder_seed_corpus.zip (stored 0%) Step #42: adding: fuzzer-encoder (deflated 64%) Step #42: adding: fuzzer-encoder_seed_corpus.zip (stored 0%) Step #42: adding: llvm-symbolizer (deflated 64%) Finished Step #42 Starting Step #43 Step #43: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #43: % Total % Received % Xferd Average Speed Time Time Time Current Step #43: Dload Upload Total Spent Left Speed Step #43: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 169 0 0 100 169 0 881 --:--:-- --:--:-- --:--:-- 884 Finished Step #43 Starting Step #44 Step #44: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #44: % Total % Received % Xferd Average Speed Time Time Time Current Step #44: Dload Upload Total Spent Left Speed Step #44: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5453k 0 0 100 5453k 0 19.0M --:--:-- --:--:-- --:--:-- 19.1M Finished Step #44 Starting Step #45 Step #45: Already have image (with digest): gcr.io/oss-fuzz-base/uploader Step #45: % Total % Received % Xferd Average Speed Time Time Time Current Step #45: Dload Upload Total Spent Left Speed Step #45: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 30 0 0 100 30 0 117 --:--:-- --:--:-- --:--:-- 118 Finished Step #45 Starting Step #46 Step #46: Already have image (with digest): gcr.io/cloud-builders/curl Step #46: % Total % Received % Xferd Average Speed Time Time Time Current Step #46: Dload Upload Total Spent Left Speed Step #46: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 31 0 0 100 31 0 171 --:--:-- --:--:-- --:--:-- 170 100 31 0 0 100 31 0 170 --:--:-- --:--:-- --:--:-- 170 Finished Step #46 Starting Step #47 Step #47: Already have image: gcr.io/oss-fuzz/gfwx Finished Step #47 PUSH DONE