starting build "97a90177-3659-446e-bdea-d81e1a2f4fe0" FETCHSOURCE BUILD Starting Step #0 Step #0: Already have image (with digest): gcr.io/cloud-builders/git Step #0: Step #0: ***** NOTICE ***** Step #0: Step #0: Official `cloud-sdk` images, including multiple tagged versions across multiple Step #0: platforms, can be found at Step #0: https://github.com/GoogleCloudPlatform/cloud-sdk-docker and may be more suitable Step #0: for some use cases when interacting with Cloud Source Repositories. Step #0: Step #0: For additional information, please visit Step #0: https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/git Step #0: Step #0: ***** END OF NOTICE ***** Step #0: 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 7.168kB Step #1: Step 1/4 : FROM gcr.io/oss-fuzz-base/base-builder-python Step #1: latest: Pulling from oss-fuzz-base/base-builder-python Step #1: b549f31133a9: Pulling fs layer Step #1: 293d3efd0c81: Pulling fs layer Step #1: 8208f1ca5926: Pulling fs layer Step #1: 306af84606bb: Pulling fs layer Step #1: 91314e098097: Pulling fs layer Step #1: 75687c0c216f: Pulling fs layer Step #1: 3d53e6caf725: Pulling fs layer Step #1: 9de89c95a6f3: Pulling fs layer Step #1: ddd8cdace8fb: Pulling fs layer Step #1: 3684f4fe92fa: Pulling fs layer Step #1: e4731fc4fec5: Pulling fs layer Step #1: f2e1b111e18f: Pulling fs layer Step #1: 8a2982595d1c: Pulling fs layer Step #1: 5fce88628b54: Pulling fs layer Step #1: be585d6152f3: Pulling fs layer Step #1: 341970a54879: Pulling fs layer Step #1: 65ba59552199: Pulling fs layer Step #1: a648368bf15a: Pulling fs layer Step #1: 0ec031bef710: Pulling fs layer Step #1: c9a4d8973309: Pulling fs layer Step #1: 602c598e5b9c: Pulling fs layer Step #1: e4731fc4fec5: Waiting Step #1: f2e1b111e18f: Waiting Step #1: ddd8cdace8fb: Waiting Step #1: 976cfce82eb9: Pulling fs layer Step #1: 8a2982595d1c: Waiting Step #1: bcb6307f2c2e: Pulling fs layer Step #1: a023e3eaa20e: Pulling fs layer Step #1: 5fce88628b54: Waiting Step #1: 3684f4fe92fa: Waiting Step #1: 0b43a70f65d4: Pulling fs layer Step #1: 9130045539a3: Pulling fs layer Step #1: be585d6152f3: Waiting Step #1: 742b687ef9a3: Pulling fs layer Step #1: 341970a54879: Waiting Step #1: 662b5d6646a1: Pulling fs layer Step #1: e441b489d336: Pulling fs layer Step #1: a0b4a73a5c7b: Pulling fs layer Step #1: 306af84606bb: Waiting Step #1: 6edb04b9486f: Pulling fs layer Step #1: 7bcd99b5e656: Pulling fs layer Step #1: 91314e098097: Waiting Step #1: 5077048007f6: Pulling fs layer Step #1: 93af653dba89: Pulling fs layer Step #1: 65ba59552199: Waiting Step #1: a07cd6e85570: Pulling fs layer Step #1: 75687c0c216f: Waiting Step #1: a648368bf15a: Waiting Step #1: 3d53e6caf725: Waiting Step #1: 0ec031bef710: Waiting Step #1: bcb6307f2c2e: Waiting Step #1: c9a4d8973309: Waiting Step #1: a0b4a73a5c7b: Waiting Step #1: 602c598e5b9c: Waiting Step #1: 742b687ef9a3: Waiting Step #1: 9de89c95a6f3: Waiting Step #1: 976cfce82eb9: Waiting Step #1: 6edb04b9486f: Waiting Step #1: 662b5d6646a1: Waiting Step #1: 7bcd99b5e656: Waiting Step #1: e441b489d336: Waiting Step #1: 93af653dba89: Waiting Step #1: 5077048007f6: Waiting Step #1: a07cd6e85570: Waiting Step #1: 0b43a70f65d4: Waiting Step #1: 8208f1ca5926: Verifying Checksum Step #1: 8208f1ca5926: Download complete Step #1: b549f31133a9: Verifying Checksum Step #1: b549f31133a9: Download complete Step #1: 91314e098097: Download complete Step #1: 306af84606bb: Verifying Checksum Step #1: 306af84606bb: Download complete Step #1: 75687c0c216f: Download complete Step #1: 293d3efd0c81: Verifying Checksum Step #1: 293d3efd0c81: Download complete Step #1: 9de89c95a6f3: Verifying Checksum Step #1: 9de89c95a6f3: Download complete Step #1: ddd8cdace8fb: Verifying Checksum Step #1: ddd8cdace8fb: Download complete Step #1: b549f31133a9: Pull complete Step #1: e4731fc4fec5: Verifying Checksum Step #1: e4731fc4fec5: Download complete Step #1: f2e1b111e18f: Verifying Checksum Step #1: f2e1b111e18f: Download complete Step #1: 8a2982595d1c: Download complete Step #1: 5fce88628b54: Verifying Checksum Step #1: 5fce88628b54: Download complete Step #1: be585d6152f3: Verifying Checksum Step #1: be585d6152f3: Download complete Step #1: 341970a54879: Verifying Checksum Step #1: 341970a54879: Download complete Step #1: 3684f4fe92fa: Verifying Checksum Step #1: 3684f4fe92fa: Download complete Step #1: 65ba59552199: Verifying Checksum Step #1: 65ba59552199: Download complete Step #1: a648368bf15a: Verifying Checksum Step #1: a648368bf15a: Download complete Step #1: 0ec031bef710: Verifying Checksum Step #1: 0ec031bef710: Download complete Step #1: c9a4d8973309: Verifying Checksum Step #1: c9a4d8973309: Download complete Step #1: 602c598e5b9c: Verifying Checksum Step #1: 602c598e5b9c: Download complete Step #1: 976cfce82eb9: Verifying Checksum Step #1: 976cfce82eb9: Download complete Step #1: bcb6307f2c2e: Verifying Checksum Step #1: bcb6307f2c2e: Download complete Step #1: 3d53e6caf725: Verifying Checksum Step #1: 3d53e6caf725: Download complete Step #1: a023e3eaa20e: Verifying Checksum Step #1: a023e3eaa20e: Download complete Step #1: 0b43a70f65d4: Download complete Step #1: 9130045539a3: Download complete Step #1: 742b687ef9a3: Download complete Step #1: 662b5d6646a1: Verifying Checksum Step #1: 662b5d6646a1: Download complete Step #1: e441b489d336: Verifying Checksum Step #1: e441b489d336: Download complete Step #1: 6edb04b9486f: Verifying Checksum Step #1: 6edb04b9486f: Download complete Step #1: a0b4a73a5c7b: Verifying Checksum Step #1: a0b4a73a5c7b: Download complete Step #1: 293d3efd0c81: Pull complete Step #1: 7bcd99b5e656: Verifying Checksum Step #1: 7bcd99b5e656: Download complete Step #1: 5077048007f6: Verifying Checksum Step #1: 5077048007f6: Download complete Step #1: 8208f1ca5926: Pull complete Step #1: 93af653dba89: Download complete Step #1: a07cd6e85570: Verifying Checksum Step #1: a07cd6e85570: Download complete Step #1: 306af84606bb: Pull complete Step #1: 91314e098097: Pull complete Step #1: 75687c0c216f: Pull complete Step #1: 3d53e6caf725: Pull complete Step #1: 9de89c95a6f3: Pull complete Step #1: ddd8cdace8fb: Pull complete Step #1: 3684f4fe92fa: Pull complete Step #1: e4731fc4fec5: Pull complete Step #1: f2e1b111e18f: Pull complete Step #1: 8a2982595d1c: Pull complete Step #1: 5fce88628b54: Pull complete Step #1: be585d6152f3: Pull complete Step #1: 341970a54879: Pull complete Step #1: 65ba59552199: Pull complete Step #1: a648368bf15a: Pull complete Step #1: 0ec031bef710: Pull complete Step #1: c9a4d8973309: Pull complete Step #1: 602c598e5b9c: Pull complete Step #1: 976cfce82eb9: Pull complete Step #1: bcb6307f2c2e: Pull complete Step #1: a023e3eaa20e: Pull complete Step #1: 0b43a70f65d4: Pull complete Step #1: 9130045539a3: Pull complete Step #1: 742b687ef9a3: Pull complete Step #1: 662b5d6646a1: Pull complete Step #1: e441b489d336: Pull complete Step #1: a0b4a73a5c7b: Pull complete Step #1: 6edb04b9486f: Pull complete Step #1: 7bcd99b5e656: Pull complete Step #1: 5077048007f6: Pull complete Step #1: 93af653dba89: Pull complete Step #1: a07cd6e85570: Pull complete Step #1: Digest: sha256:ee7d93fac184c071754a55ca92ea9ed2a2633ca3d8ad4294707a63906b13f3a3 Step #1: Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-builder-python:latest Step #1: ---> d64fff335309 Step #1: Step 2/4 : RUN git clone https://github.com/eliben/pycparser pycparser Step #1: ---> Running in 0a546e599af6 Step #1: Cloning into 'pycparser'... Step #1: Removing intermediate container 0a546e599af6 Step #1: ---> 6278b931fc01 Step #1: Step 3/4 : COPY *.sh *py $SRC/ Step #1: ---> 980f7bff04b1 Step #1: Step 4/4 : WORKDIR $SRC/pycparser Step #1: ---> Running in 89622ddc2ed8 Step #1: Removing intermediate container 89622ddc2ed8 Step #1: ---> aae358ee7548 Step #1: Successfully built aae358ee7548 Step #1: Successfully tagged gcr.io/oss-fuzz/pycparser:latest Finished Step #1 Starting Step #2 - "srcmap" Step #2 - "srcmap": Already have image: gcr.io/oss-fuzz/pycparser Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + SRCMAP=/tmp/fileYK0mFO Step #2 - "srcmap": + echo '{}' Step #2 - "srcmap": + PATHS_TO_SCAN=/src Step #2 - "srcmap": + [[ python == \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/pycparser/.git Step #2 - "srcmap": + GIT_DIR=/src/pycparser Step #2 - "srcmap": + cd /src/pycparser Step #2 - "srcmap": ++ git config --get remote.origin.url Step #2 - "srcmap": + GIT_URL=https://github.com/eliben/pycparser Step #2 - "srcmap": ++ git rev-parse HEAD Step #2 - "srcmap": + GIT_REV=9cecc090151b31d8821786bca3b25851a4a33272 Step #2 - "srcmap": + jq_inplace /tmp/fileYK0mFO '."/src/pycparser" = { type: "git", url: "https://github.com/eliben/pycparser", rev: "9cecc090151b31d8821786bca3b25851a4a33272" }' Step #2 - "srcmap": ++ tempfile Step #2 - "srcmap": + F=/tmp/fileBe69xd Step #2 - "srcmap": + cat /tmp/fileYK0mFO Step #2 - "srcmap": + jq '."/src/pycparser" = { type: "git", url: "https://github.com/eliben/pycparser", rev: "9cecc090151b31d8821786bca3b25851a4a33272" }' Step #2 - "srcmap": + mv /tmp/fileBe69xd /tmp/fileYK0mFO 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/fileYK0mFO Step #2 - "srcmap": + rm /tmp/fileYK0mFO Step #2 - "srcmap": { Step #2 - "srcmap": "/src/pycparser": { Step #2 - "srcmap": "type": "git", Step #2 - "srcmap": "url": "https://github.com/eliben/pycparser", Step #2 - "srcmap": "rev": "9cecc090151b31d8821786bca3b25851a4a33272" Step #2 - "srcmap": } Step #2 - "srcmap": } Finished Step #2 - "srcmap" Starting Step #3 - "compile-libfuzzer-address-x86_64" Step #3 - "compile-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": vm.mmap_rnd_bits = 28 Step #3 - "compile-libfuzzer-address-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": CC=clang Step #3 - "compile-libfuzzer-address-x86_64": CXX=clang++ Step #3 - "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 -fno-sanitize=function,leak,vptr, Step #3 - "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++ -fno-sanitize=function,leak,vptr Step #3 - "compile-libfuzzer-address-x86_64": RUSTFLAGS=--cfg fuzzing -Zsanitizer=address -Cdebuginfo=1 -Cforce-frame-pointers Step #3 - "compile-libfuzzer-address-x86_64": --------------------------------------------------------------- Step #3 - "compile-libfuzzer-address-x86_64": + pip3 install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /src/pycparser Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ | done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: pycparser Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for pycparser (pyproject.toml) ... [?25l- \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for pycparser: filename=pycparser-2.22-py3-none-any.whl size=118053 sha256=ac804188aad9160606d9cf573d1cb40c90fbd2a55d76a0c2ff6eb2384d3a35e7 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-2zfrxwf_/wheels/0c/aa/4a/f4adb4afc43ccc14b4ab938b37257c2035c4e11c167b744fba Step #3 - "compile-libfuzzer-address-x86_64": Successfully built pycparser Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: pycparser Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed pycparser-2.22 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #3 - "compile-libfuzzer-address-x86_64": + '[' address = address ']' Step #3 - "compile-libfuzzer-address-x86_64": + export ENABLE_PYSECSAN=1 Step #3 - "compile-libfuzzer-address-x86_64": + ENABLE_PYSECSAN=1 Step #3 - "compile-libfuzzer-address-x86_64": ++ find /src -name 'fuzz_*.py' Step #3 - "compile-libfuzzer-address-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #3 - "compile-libfuzzer-address-x86_64": + compile_python_fuzzer /src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_path=/src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": + shift 1 Step #3 - "compile-libfuzzer-address-x86_64": ++ basename -s .py /src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_basename=fuzz_c_parser Step #3 - "compile-libfuzzer-address-x86_64": + fuzzer_package=fuzz_c_parser.pkg Step #3 - "compile-libfuzzer-address-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_c_parser Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *introspector* ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ 1 != \0 ]] Step #3 - "compile-libfuzzer-address-x86_64": + [[ ! -d /pysecsan ]] Step #3 - "compile-libfuzzer-address-x86_64": + pushd /usr/local/lib/sanitizers/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": /usr/local/lib/sanitizers/pysecsan /src/pycparser Step #3 - "compile-libfuzzer-address-x86_64": + python3 -m pip install . Step #3 - "compile-libfuzzer-address-x86_64": Processing /usr/local/lib/sanitizers/pysecsan Step #3 - "compile-libfuzzer-address-x86_64": Installing build dependencies ... [?25l- \ done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25hBuilding wheels for collected packages: pysecsan Step #3 - "compile-libfuzzer-address-x86_64": Building wheel for pysecsan (pyproject.toml) ... [?25l- done Step #3 - "compile-libfuzzer-address-x86_64": [?25h Created wheel for pysecsan: filename=pysecsan-0.1.0-py3-none-any.whl size=9753 sha256=f9f3fe20303a7415c0de92f22ec82248efe3a66a376a8825a7ea23307fbe8678 Step #3 - "compile-libfuzzer-address-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-g0vpip7j/wheels/2a/cb/20/dfb48f0126742cae52313bb4cdff6f3995f7d2607806a73695 Step #3 - "compile-libfuzzer-address-x86_64": Successfully built pysecsan Step #3 - "compile-libfuzzer-address-x86_64": Installing collected packages: pysecsan Step #3 - "compile-libfuzzer-address-x86_64": Successfully installed pysecsan-0.1.0 Step #3 - "compile-libfuzzer-address-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #3 - "compile-libfuzzer-address-x86_64": + popd Step #3 - "compile-libfuzzer-address-x86_64": /src/pycparser Step #3 - "compile-libfuzzer-address-x86_64": + cat Step #3 - "compile-libfuzzer-address-x86_64": + cat pysecsan_wrapper.py /src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": + mv tmp_fuzzer_pysecsan.py /src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #3 - "compile-libfuzzer-address-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_c_parser Step #3 - "compile-libfuzzer-address-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-address-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_c_parser --onefile --name fuzz_c_parser.pkg /src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": 83 INFO: PyInstaller: 6.10.0, contrib hooks: 2025.1 Step #3 - "compile-libfuzzer-address-x86_64": 84 INFO: Python: 3.10.14 Step #3 - "compile-libfuzzer-address-x86_64": 85 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.31 Step #3 - "compile-libfuzzer-address-x86_64": 85 INFO: Python environment: /usr/local Step #3 - "compile-libfuzzer-address-x86_64": 86 INFO: wrote /src/pycparser/fuzz_c_parser.pkg.spec Step #3 - "compile-libfuzzer-address-x86_64": 88 INFO: Module search paths (PYTHONPATH): Step #3 - "compile-libfuzzer-address-x86_64": ['/usr/local/lib/python310.zip', Step #3 - "compile-libfuzzer-address-x86_64": '/usr/local/lib/python3.10', Step #3 - "compile-libfuzzer-address-x86_64": '/usr/local/lib/python3.10/lib-dynload', Step #3 - "compile-libfuzzer-address-x86_64": '/usr/local/lib/python3.10/site-packages', Step #3 - "compile-libfuzzer-address-x86_64": '/usr/local/lib/python3.10/site-packages/setuptools/_vendor', Step #3 - "compile-libfuzzer-address-x86_64": '/src'] Step #3 - "compile-libfuzzer-address-x86_64": 184 INFO: checking Analysis Step #3 - "compile-libfuzzer-address-x86_64": 184 INFO: Building Analysis because Analysis-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 184 INFO: Running Analysis Analysis-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 184 INFO: Target bytecode optimization level: 0 Step #3 - "compile-libfuzzer-address-x86_64": 184 INFO: Initializing module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 185 INFO: Caching module graph hooks... Step #3 - "compile-libfuzzer-address-x86_64": 195 INFO: Analyzing base_library.zip ... Step #3 - "compile-libfuzzer-address-x86_64": 696 INFO: Processing standard module hook 'hook-heapq.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks' Step #3 - "compile-libfuzzer-address-x86_64": 1006 INFO: Processing standard module hook 'hook-encodings.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks' Step #3 - "compile-libfuzzer-address-x86_64": 2091 INFO: Processing standard module hook 'hook-pickle.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks' Step #3 - "compile-libfuzzer-address-x86_64": 3349 INFO: Caching module dependency graph... Step #3 - "compile-libfuzzer-address-x86_64": 3446 INFO: Looking for Python shared library... Step #3 - "compile-libfuzzer-address-x86_64": 3456 INFO: Using Python shared library: /usr/local/lib/libpython3.10.so.1.0 Step #3 - "compile-libfuzzer-address-x86_64": 3457 INFO: Analyzing /src/fuzz_c_parser.py Step #3 - "compile-libfuzzer-address-x86_64": 3468 INFO: Processing standard module hook 'hook-atheris.py' from '/usr/local/lib/python3.10/site-packages/atheris' Step #3 - "compile-libfuzzer-address-x86_64": 3527 INFO: Processing standard module hook 'hook-pycparser.py' from '/usr/local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/stdhooks' Step #3 - "compile-libfuzzer-address-x86_64": 3737 INFO: Processing module hooks (post-graph stage)... Step #3 - "compile-libfuzzer-address-x86_64": 3930 INFO: Performing binary vs. data reclassification (2 entries) Step #3 - "compile-libfuzzer-address-x86_64": 3933 INFO: Looking for ctypes DLLs Step #3 - "compile-libfuzzer-address-x86_64": 3936 INFO: Analyzing run-time hooks ... Step #3 - "compile-libfuzzer-address-x86_64": 3937 INFO: Including run-time hook 'pyi_rth_inspect.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks' Step #3 - "compile-libfuzzer-address-x86_64": 3943 INFO: Looking for dynamic libraries Step #3 - "compile-libfuzzer-address-x86_64": 4405 INFO: Warnings written to /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/warn-fuzz_c_parser.pkg.txt Step #3 - "compile-libfuzzer-address-x86_64": 4418 INFO: Graph cross-reference written to /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/xref-fuzz_c_parser.pkg.html Step #3 - "compile-libfuzzer-address-x86_64": 4429 INFO: checking PYZ Step #3 - "compile-libfuzzer-address-x86_64": 4429 INFO: Building PYZ because PYZ-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 4429 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/PYZ-00.pyz Step #3 - "compile-libfuzzer-address-x86_64": 4614 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/PYZ-00.pyz completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 4626 INFO: checking PKG Step #3 - "compile-libfuzzer-address-x86_64": 4626 INFO: Building PKG because PKG-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 4626 INFO: Building PKG (CArchive) fuzz_c_parser.pkg.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15052 INFO: Building PKG (CArchive) fuzz_c_parser.pkg.pkg completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": 15054 INFO: Bootloader /usr/local/lib/python3.10/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #3 - "compile-libfuzzer-address-x86_64": 15054 INFO: checking EXE Step #3 - "compile-libfuzzer-address-x86_64": 15054 INFO: Building EXE because EXE-00.toc is non existent Step #3 - "compile-libfuzzer-address-x86_64": 15055 INFO: Building EXE from EXE-00.toc Step #3 - "compile-libfuzzer-address-x86_64": 15055 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-address-x86_64/fuzz_c_parser.pkg Step #3 - "compile-libfuzzer-address-x86_64": 15055 INFO: Appending PKG archive to custom ELF section in EXE Step #3 - "compile-libfuzzer-address-x86_64": 15113 INFO: Building EXE from EXE-00.toc completed successfully. Step #3 - "compile-libfuzzer-address-x86_64": + chmod -x /workspace/out/libfuzzer-address-x86_64/fuzz_c_parser.pkg Step #3 - "compile-libfuzzer-address-x86_64": + [[ address = *coverage* ]] Step #3 - "compile-libfuzzer-address-x86_64": + echo '#!/bin/sh Step #3 - "compile-libfuzzer-address-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #3 - "compile-libfuzzer-address-x86_64": this_dir=$(dirname "$0") Step #3 - "compile-libfuzzer-address-x86_64": chmod +x $this_dir/fuzz_c_parser.pkg Step #3 - "compile-libfuzzer-address-x86_64": LD_PRELOAD=$this_dir/sanitizer_with_fuzzer.so ASAN_OPTIONS=$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=$this_dir/llvm-symbolizer:detect_leaks=0 $this_dir/fuzz_c_parser.pkg $@' Step #3 - "compile-libfuzzer-address-x86_64": + chmod +x /workspace/out/libfuzzer-address-x86_64/fuzz_c_parser Step #3 - "compile-libfuzzer-address-x86_64": + zip /workspace/out/libfuzzer-address-x86_64/fuzz_c_parser_seed_corpus.zip ./tests/c_files/c11.c ./tests/c_files/cppd_with_stdio_h.c ./tests/c_files/example_c_file.c ./tests/c_files/memmgr.c ./tests/c_files/memmgr_with_h.c ./tests/c_files/simplemain.c ./tests/c_files/year.c Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/c11.c (deflated 68%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/cppd_with_stdio_h.c (deflated 88%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/example_c_file.c (deflated 33%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/memmgr.c (deflated 66%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/memmgr_with_h.c (deflated 75%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/simplemain.c (deflated 3%) Step #3 - "compile-libfuzzer-address-x86_64": adding: tests/c_files/year.c (deflated 55%) Finished Step #3 - "compile-libfuzzer-address-x86_64" Starting Step #4 - "build-check-libfuzzer-address-x86_64" Step #4 - "build-check-libfuzzer-address-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #4 - "build-check-libfuzzer-address-x86_64": Unable to find image 'gcr.io/oss-fuzz-base/base-runner:latest' locally Step #4 - "build-check-libfuzzer-address-x86_64": latest: Pulling from oss-fuzz-base/base-runner Step #4 - "build-check-libfuzzer-address-x86_64": b549f31133a9: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 293d3efd0c81: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": 8208f1ca5926: Already exists Step #4 - "build-check-libfuzzer-address-x86_64": ee273b04e4c7: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b4e3eca91b03: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 82a279f248d6: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 24bcdbb6c16f: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 4f1036aeccaf: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 02a06835b0e3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 04ed982443b9: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 5757e85c3393: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 245e69e61f69: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 29b4c6a6a4b2: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": ecb4a38fd27a: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": de7f7e5a3a7d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 3dd5619b1054: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 683e1e737158: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": e80fe964ee0d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 85c76492dbee: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 8f6053f11ee3: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 1df0cb725228: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b151fb4d858b: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 42b85e7ac48c: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 619809979d11: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": bb0d28e3603d: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": b6f6eb706c51: Pulling fs layer Step #4 - "build-check-libfuzzer-address-x86_64": 24bcdbb6c16f: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 85c76492dbee: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 8f6053f11ee3: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 04ed982443b9: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 1df0cb725228: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 619809979d11: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 5757e85c3393: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 29b4c6a6a4b2: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 245e69e61f69: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": ecb4a38fd27a: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b151fb4d858b: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": bb0d28e3603d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": de7f7e5a3a7d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 683e1e737158: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": b6f6eb706c51: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 3dd5619b1054: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 42b85e7ac48c: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": e80fe964ee0d: Waiting Step #4 - "build-check-libfuzzer-address-x86_64": 82a279f248d6: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 82a279f248d6: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ee273b04e4c7: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ee273b04e4c7: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b4e3eca91b03: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b4e3eca91b03: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 24bcdbb6c16f: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 24bcdbb6c16f: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4f1036aeccaf: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 4f1036aeccaf: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": ee273b04e4c7: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5757e85c3393: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 5757e85c3393: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 04ed982443b9: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b4e3eca91b03: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 245e69e61f69: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 245e69e61f69: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 82a279f248d6: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ecb4a38fd27a: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": ecb4a38fd27a: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 02a06835b0e3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 02a06835b0e3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 24bcdbb6c16f: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": de7f7e5a3a7d: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": de7f7e5a3a7d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 3dd5619b1054: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 4f1036aeccaf: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e80fe964ee0d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 29b4c6a6a4b2: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 29b4c6a6a4b2: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 683e1e737158: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 683e1e737158: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 8f6053f11ee3: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 8f6053f11ee3: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 1df0cb725228: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 1df0cb725228: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b151fb4d858b: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": b151fb4d858b: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 42b85e7ac48c: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 42b85e7ac48c: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": bb0d28e3603d: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 619809979d11: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 619809979d11: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 02a06835b0e3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 85c76492dbee: Verifying Checksum Step #4 - "build-check-libfuzzer-address-x86_64": 85c76492dbee: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": b6f6eb706c51: Download complete Step #4 - "build-check-libfuzzer-address-x86_64": 04ed982443b9: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 5757e85c3393: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 245e69e61f69: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 29b4c6a6a4b2: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": ecb4a38fd27a: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": de7f7e5a3a7d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 3dd5619b1054: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 683e1e737158: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": e80fe964ee0d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 85c76492dbee: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 8f6053f11ee3: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 1df0cb725228: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b151fb4d858b: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 42b85e7ac48c: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": 619809979d11: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": bb0d28e3603d: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": b6f6eb706c51: Pull complete Step #4 - "build-check-libfuzzer-address-x86_64": Digest: sha256:68769ba206562558b7b8427332cf97e1704426f2f8ac807714cc5718b5a74e51 Step #4 - "build-check-libfuzzer-address-x86_64": Status: Downloaded newer image for gcr.io/oss-fuzz-base/base-runner:latest Step #4 - "build-check-libfuzzer-address-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpvrqqx5c4/fuzz_c_parser Finished Step #4 - "build-check-libfuzzer-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/pycparser Step #6: adding: fuzz_c_parser (deflated 32%) Step #6: adding: fuzz_c_parser.pkg (deflated 1%) Step #6: adding: fuzz_c_parser_seed_corpus.zip (stored 0%) Step #6: adding: llvm-symbolizer (deflated 66%) Step #6: adding: sanitizer_with_fuzzer.so (deflated 72%) 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: 5c9125a401ae: Verifying Checksum Step #7: 5c9125a401ae: Download complete Step #7: 0062f774e994: Verifying Checksum Step #7: 0062f774e994: 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 153 0 0 100 153 0 864 --:--:-- --:--:-- --:--:-- 869 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 31.6M 0 0 100 31.6M 0 92.1M --:--:-- --:--:-- --:--:-- 92.4M 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 14 0 0 100 14 0 44 --:--:-- --:--:-- --:--:-- 44 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 149 --:--:-- --:--:-- --:--:-- 150 Finished Step #10 Starting Step #11 Step #11: Already have image: gcr.io/oss-fuzz/pycparser Finished Step #11 Starting Step #12 - "compile-libfuzzer-undefined-x86_64" Step #12 - "compile-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": vm.mmap_rnd_bits = 28 Step #12 - "compile-libfuzzer-undefined-x86_64": Compiling libFuzzer to /usr/lib/libFuzzingEngine.a... done. Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": CC=clang Step #12 - "compile-libfuzzer-undefined-x86_64": CXX=clang++ Step #12 - "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 -fno-sanitize=function,leak,vptr, Step #12 - "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++ -fno-sanitize=function,leak,vptr Step #12 - "compile-libfuzzer-undefined-x86_64": RUSTFLAGS=--cfg fuzzing -Cdebuginfo=1 -Cforce-frame-pointers Step #12 - "compile-libfuzzer-undefined-x86_64": --------------------------------------------------------------- Step #12 - "compile-libfuzzer-undefined-x86_64": + pip3 install . Step #12 - "compile-libfuzzer-undefined-x86_64": Processing /src/pycparser Step #12 - "compile-libfuzzer-undefined-x86_64": Installing build dependencies ... [?25l- \ | done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Getting requirements to build wheel ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Preparing metadata (pyproject.toml) ... [?25l- done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25hBuilding wheels for collected packages: pycparser Step #12 - "compile-libfuzzer-undefined-x86_64": Building wheel for pycparser (pyproject.toml) ... [?25l- \ done Step #12 - "compile-libfuzzer-undefined-x86_64": [?25h Created wheel for pycparser: filename=pycparser-2.22-py3-none-any.whl size=118053 sha256=ed1659fc68bfcdb9705c29c9ac58895db6447d50658a4cf71d5a3b4a3aaa4917 Step #12 - "compile-libfuzzer-undefined-x86_64": Stored in directory: /tmp/pip-ephem-wheel-cache-kalk3ykm/wheels/0c/aa/4a/f4adb4afc43ccc14b4ab938b37257c2035c4e11c167b744fba Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully built pycparser Step #12 - "compile-libfuzzer-undefined-x86_64": Installing collected packages: pycparser Step #12 - "compile-libfuzzer-undefined-x86_64": Successfully installed pycparser-2.22 Step #12 - "compile-libfuzzer-undefined-x86_64": WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning. Step #12 - "compile-libfuzzer-undefined-x86_64": + '[' undefined = address ']' Step #12 - "compile-libfuzzer-undefined-x86_64": ++ find /src -name 'fuzz_*.py' Step #12 - "compile-libfuzzer-undefined-x86_64": + for fuzzer in $(find $SRC -name 'fuzz_*.py') Step #12 - "compile-libfuzzer-undefined-x86_64": + compile_python_fuzzer /src/fuzz_c_parser.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_path=/src/fuzz_c_parser.py Step #12 - "compile-libfuzzer-undefined-x86_64": + shift 1 Step #12 - "compile-libfuzzer-undefined-x86_64": ++ basename -s .py /src/fuzz_c_parser.py Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_basename=fuzz_c_parser Step #12 - "compile-libfuzzer-undefined-x86_64": + fuzzer_package=fuzz_c_parser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + PYFUZZ_WORKPATH=/src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + FUZZ_WORKPATH=/src/pyfuzzworkdir//fuzz_c_parser Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *introspector* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *coverage* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ 0 != \0 ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + rm -rf /src/pyfuzzworkdir/ Step #12 - "compile-libfuzzer-undefined-x86_64": + mkdir /src/pyfuzzworkdir/ /src/pyfuzzworkdir//fuzz_c_parser Step #12 - "compile-libfuzzer-undefined-x86_64": + pyinstaller --distpath /workspace/out/libfuzzer-undefined-x86_64 --workpath=/src/pyfuzzworkdir//fuzz_c_parser --onefile --name fuzz_c_parser.pkg /src/fuzz_c_parser.py Step #12 - "compile-libfuzzer-undefined-x86_64": 85 INFO: PyInstaller: 6.10.0, contrib hooks: 2025.1 Step #12 - "compile-libfuzzer-undefined-x86_64": 85 INFO: Python: 3.10.14 Step #12 - "compile-libfuzzer-undefined-x86_64": 86 INFO: Platform: Linux-5.10.0-32-cloud-amd64-x86_64-with-glibc2.31 Step #12 - "compile-libfuzzer-undefined-x86_64": 86 INFO: Python environment: /usr/local Step #12 - "compile-libfuzzer-undefined-x86_64": 87 INFO: wrote /src/pycparser/fuzz_c_parser.pkg.spec Step #12 - "compile-libfuzzer-undefined-x86_64": 88 INFO: Module search paths (PYTHONPATH): Step #12 - "compile-libfuzzer-undefined-x86_64": ['/usr/local/lib/python310.zip', Step #12 - "compile-libfuzzer-undefined-x86_64": '/usr/local/lib/python3.10', Step #12 - "compile-libfuzzer-undefined-x86_64": '/usr/local/lib/python3.10/lib-dynload', Step #12 - "compile-libfuzzer-undefined-x86_64": '/usr/local/lib/python3.10/site-packages', Step #12 - "compile-libfuzzer-undefined-x86_64": '/usr/local/lib/python3.10/site-packages/setuptools/_vendor', Step #12 - "compile-libfuzzer-undefined-x86_64": '/src'] Step #12 - "compile-libfuzzer-undefined-x86_64": 184 INFO: checking Analysis Step #12 - "compile-libfuzzer-undefined-x86_64": 184 INFO: Building Analysis because Analysis-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 184 INFO: Running Analysis Analysis-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 184 INFO: Target bytecode optimization level: 0 Step #12 - "compile-libfuzzer-undefined-x86_64": 184 INFO: Initializing module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 185 INFO: Caching module graph hooks... Step #12 - "compile-libfuzzer-undefined-x86_64": 195 INFO: Analyzing base_library.zip ... Step #12 - "compile-libfuzzer-undefined-x86_64": 678 INFO: Processing standard module hook 'hook-heapq.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks' Step #12 - "compile-libfuzzer-undefined-x86_64": 746 INFO: Processing standard module hook 'hook-encodings.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks' Step #12 - "compile-libfuzzer-undefined-x86_64": 1978 INFO: Processing standard module hook 'hook-pickle.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks' Step #12 - "compile-libfuzzer-undefined-x86_64": 3265 INFO: Caching module dependency graph... Step #12 - "compile-libfuzzer-undefined-x86_64": 3363 INFO: Looking for Python shared library... Step #12 - "compile-libfuzzer-undefined-x86_64": 3374 INFO: Using Python shared library: /usr/local/lib/libpython3.10.so.1.0 Step #12 - "compile-libfuzzer-undefined-x86_64": 3374 INFO: Analyzing /src/fuzz_c_parser.py Step #12 - "compile-libfuzzer-undefined-x86_64": 3376 INFO: Processing standard module hook 'hook-atheris.py' from '/usr/local/lib/python3.10/site-packages/atheris' Step #12 - "compile-libfuzzer-undefined-x86_64": 3443 INFO: Processing standard module hook 'hook-pycparser.py' from '/usr/local/lib/python3.10/site-packages/_pyinstaller_hooks_contrib/stdhooks' Step #12 - "compile-libfuzzer-undefined-x86_64": 3668 INFO: Processing module hooks (post-graph stage)... Step #12 - "compile-libfuzzer-undefined-x86_64": 3860 INFO: Performing binary vs. data reclassification (2 entries) Step #12 - "compile-libfuzzer-undefined-x86_64": 3863 INFO: Looking for ctypes DLLs Step #12 - "compile-libfuzzer-undefined-x86_64": 3866 INFO: Analyzing run-time hooks ... Step #12 - "compile-libfuzzer-undefined-x86_64": 3868 INFO: Including run-time hook 'pyi_rth_inspect.py' from '/usr/local/lib/python3.10/site-packages/PyInstaller/hooks/rthooks' Step #12 - "compile-libfuzzer-undefined-x86_64": 3874 INFO: Looking for dynamic libraries Step #12 - "compile-libfuzzer-undefined-x86_64": 4363 INFO: Warnings written to /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/warn-fuzz_c_parser.pkg.txt Step #12 - "compile-libfuzzer-undefined-x86_64": 4376 INFO: Graph cross-reference written to /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/xref-fuzz_c_parser.pkg.html Step #12 - "compile-libfuzzer-undefined-x86_64": 4387 INFO: checking PYZ Step #12 - "compile-libfuzzer-undefined-x86_64": 4388 INFO: Building PYZ because PYZ-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 4388 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/PYZ-00.pyz Step #12 - "compile-libfuzzer-undefined-x86_64": 4576 INFO: Building PYZ (ZlibArchive) /src/pyfuzzworkdir/fuzz_c_parser/fuzz_c_parser.pkg/PYZ-00.pyz completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 4590 INFO: checking PKG Step #12 - "compile-libfuzzer-undefined-x86_64": 4590 INFO: Building PKG because PKG-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 4590 INFO: Building PKG (CArchive) fuzz_c_parser.pkg.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15080 INFO: Building PKG (CArchive) fuzz_c_parser.pkg.pkg completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": 15082 INFO: Bootloader /usr/local/lib/python3.10/site-packages/PyInstaller/bootloader/Linux-64bit-intel/run Step #12 - "compile-libfuzzer-undefined-x86_64": 15082 INFO: checking EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15083 INFO: Building EXE because EXE-00.toc is non existent Step #12 - "compile-libfuzzer-undefined-x86_64": 15083 INFO: Building EXE from EXE-00.toc Step #12 - "compile-libfuzzer-undefined-x86_64": 15083 INFO: Copying bootloader EXE to /workspace/out/libfuzzer-undefined-x86_64/fuzz_c_parser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": 15083 INFO: Appending PKG archive to custom ELF section in EXE Step #12 - "compile-libfuzzer-undefined-x86_64": 15141 INFO: Building EXE from EXE-00.toc completed successfully. Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod -x /workspace/out/libfuzzer-undefined-x86_64/fuzz_c_parser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": + [[ undefined = *coverage* ]] Step #12 - "compile-libfuzzer-undefined-x86_64": + echo '#!/bin/sh Step #12 - "compile-libfuzzer-undefined-x86_64": # LLVMFuzzerTestOneInput for fuzzer detection. Step #12 - "compile-libfuzzer-undefined-x86_64": this_dir=$(dirname "$0") Step #12 - "compile-libfuzzer-undefined-x86_64": chmod +x $this_dir/fuzz_c_parser.pkg Step #12 - "compile-libfuzzer-undefined-x86_64": LD_PRELOAD=$this_dir/sanitizer_with_fuzzer.so ASAN_OPTIONS=$ASAN_OPTIONS:symbolize=1:external_symbolizer_path=$this_dir/llvm-symbolizer:detect_leaks=0 $this_dir/fuzz_c_parser.pkg $@' Step #12 - "compile-libfuzzer-undefined-x86_64": + chmod +x /workspace/out/libfuzzer-undefined-x86_64/fuzz_c_parser Step #12 - "compile-libfuzzer-undefined-x86_64": + zip /workspace/out/libfuzzer-undefined-x86_64/fuzz_c_parser_seed_corpus.zip ./tests/c_files/c11.c ./tests/c_files/cppd_with_stdio_h.c ./tests/c_files/example_c_file.c ./tests/c_files/memmgr.c ./tests/c_files/memmgr_with_h.c ./tests/c_files/simplemain.c ./tests/c_files/year.c Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/c11.c (deflated 68%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/cppd_with_stdio_h.c (deflated 88%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/example_c_file.c (deflated 33%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/memmgr.c (deflated 66%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/memmgr_with_h.c (deflated 75%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/simplemain.c (deflated 3%) Step #12 - "compile-libfuzzer-undefined-x86_64": adding: tests/c_files/year.c (deflated 55%) Finished Step #12 - "compile-libfuzzer-undefined-x86_64" Starting Step #13 - "build-check-libfuzzer-undefined-x86_64" Step #13 - "build-check-libfuzzer-undefined-x86_64": Already have image (with digest): gcr.io/cloud-builders/docker Step #13 - "build-check-libfuzzer-undefined-x86_64": INFO: performing bad build checks for /tmp/not-out/tmpn4g9iwxe/fuzz_c_parser Finished Step #13 - "build-check-libfuzzer-undefined-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/pycparser Step #15: adding: fuzz_c_parser (deflated 32%) Step #15: adding: fuzz_c_parser.pkg (deflated 1%) Step #15: adding: fuzz_c_parser_seed_corpus.zip (stored 0%) Step #15: adding: llvm-symbolizer (deflated 66%) Step #15: adding: sanitizer_with_fuzzer.so (deflated 70%) 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 153 0 0 100 153 0 767 --:--:-- --:--:-- --:--:-- 768 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 29.1M 0 0 100 29.1M 0 75.2M --:--:-- --:--:-- --:--:-- 75.3M 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 14 0 0 100 14 0 47 --:--:-- --:--:-- --:--:-- 47 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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 36 0 0 100 36 0 175 --:--:-- --:--:-- --:--:-- 175 Finished Step #19 Starting Step #20 Step #20: Already have image: gcr.io/oss-fuzz/pycparser Finished Step #20 PUSH DONE