Commit Graph

271 Commits

Author SHA1 Message Date
Mike Aizatsky 0b58d66e89 [infra] moving test command into base-runner, using it on jenkins 2016-11-18 16:46:26 -08:00
Mike Aizatsky 456e952486 silencing pushd 2016-11-18 16:46:04 -08:00
Mike Aizatsky ceb465a0e8 Create README.md 2016-11-18 14:59:10 -08:00
Mike Aizatsky 01364bf2b7 [infra] extracting base-runner image 2016-11-18 14:53:09 -08:00
Mike Aizatsky 26630f32cb [infra] .a merging is no longer necessary b/c it now happens during llvm build
60479ea31b

Thanks @EricWF

Issue #73
2016-11-18 12:45:02 -08:00
Mike Aizatsky 711ffb3247 [infra] silencing ar 2016-11-18 12:23:23 -08:00
Mike Aizatsky 487e9f4ed6 [infra] removing FUZZER_LDFLAGS (fixes #73)
Workarounds libc++abi issue by folding libc++abi.a into libc++.a.
Will keep FUZZER_LDFLAGS empty for a while until tpm2 is fixed.
2016-11-18 12:16:35 -08:00
Mike Aizatsky a1d663b95e [fuzzer] adding ldd printout 2016-11-18 11:58:32 -08:00
Mike Aizatsky a0a5872b44 removed debug output 2016-11-18 11:44:37 -08:00
Mike Aizatsky 3599908dbf [infra] use $src, $out and $work in build scripts instead of /src, /out, /work (#88)
This will make it possible to run scripts outside of docker container.
2016-11-18 11:16:38 -08:00
Mike Aizatsky 5dfb810427 [infra] setting current directory to src checkout (#87) 2016-11-17 09:49:34 -08:00
Mike Aizatsky 9e8151b5cf [infra] less output 2016-11-15 12:09:06 -08:00
Mike Aizatsky 95605c91d9 [infra] adding -x to compile scripts to see all commands that are executed 2016-11-15 11:35:25 -08:00
Mike Aizatsky 2912d6fb06 adding more ubsan flags (issue #60) 2016-11-14 20:58:29 -08:00
Mike Aizatsky 99c89dfefd Update libfuzzer-pipeline.groovy 2016-11-14 20:44:01 -08:00
Mike Aizatsky 458adaa488 [infra] configurable sanitizer flags 2016-11-14 20:33:35 -08:00
Oliver Chang f84b87d8e2 Add build setup/status script. 2016-11-14 14:47:45 -08:00
Mike Aizatsky e29ef5876d rolling back trace pc guards
fuzzers fail with:

=================================================================
==18057==ERROR: AddressSanitizer: global-buffer-overflow on address 0x000000b8a144 at pc 0x0000007ae0ca bp 0x7fff2b91a4d0 sp 0x7fff2b91a4c8
WRITE of size 4 at 0x000000b8a144 thread T0
    #0 0x7ae0c9 in fuzzer::TracePC::HandleInit(unsigned int*, unsigned int*) /src/libfuzzer/FuzzerTracePC.cpp:49:8
    #1 0x7bcab9 in __sanitizer_cov_trace_pc_guard_init /src/libfuzzer/FuzzerTracePC.cpp:286:15
    #2 0x5156bf in sancov.module_ctor (/out/curl_fuzzer+0x5156bf)
    #3 0x88c1cc in __libc_csu_init (/out/curl_fuzzer+0x88c1cc)
    #4 0x7f4ab7aed7be in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x207be)
    #5 0x41fd78 in _start (/out/curl_fuzzer+0x41fd78)
2016-11-14 12:21:02 -08:00
Max Moroz 6aa0b3b3c7 [infra] Fix a typo. 2016-11-14 19:21:17 +01:00
Max Moroz e5346f4036 [infra] Add auto-update of targets/README.md for generate command in helper.py. 2016-11-14 19:18:29 +01:00
Mike Aizatsky c771c31753 switching to trace-pc-guard 2016-11-14 09:49:30 -08:00
Mike Aizatsky 528d2e6900 Update README.md 2016-11-11 15:25:37 -08:00
Mike Aizatsky 43a5d34649 do not install unneded packages, they come from base-clang 2016-11-04 15:48:58 -07:00
Mike Aizatsky 5cf48acc50 installing packages needed to build binaries 2016-11-04 15:31:22 -07:00
Oliver Chang cb124f9e1c Update helper.py 2016-11-04 14:41:38 -07:00
Mike Aizatsky 7029d3ae1b Update README.md 2016-11-04 13:30:44 -07:00
Mike Aizatsky 029d11b19c Update README.md 2016-11-04 13:30:04 -07:00
Mike Aizatsky 73918ee1cd Update README.md 2016-11-04 13:29:53 -07:00
Alex Gaynor f128848fb1 Added description of generate command to the README (#69) 2016-11-04 13:29:09 -07:00
Alex Gaynor 4a03707c3e Make error handling around already existing directories more precise (#71) 2016-11-04 08:04:36 -07:00
Alex Gaynor 38f4df7ddc Use the newer python octal literal syntax (#70) 2016-11-04 08:03:46 -07:00
Max Moroz 7d834ef339 [infra] Add zip installation to libfuzzer-runner image.
To fix: /usr/local/bin/run_fuzzer: line 37: unzip: command not found.
2016-11-04 15:13:02 +01:00
Mike Aizatsky 95b8191e6a Update libfuzzer-pipeline.groovy 2016-11-03 21:43:44 -07:00
Mike Aizatsky 48778facde folding coverage into base-libfuzzer since target images is where sources are 2016-11-03 20:13:29 -07:00
Mike Aizatsky 8f2935ccf1 Update libfuzzer-pipeline.groovy 2016-11-03 16:27:52 -07:00
Mike Aizatsky db54a03372 Update libfuzzer-pipeline.groovy 2016-11-03 16:26:48 -07:00
Mike Aizatsky 21424dc82c Update libfuzzer-pipeline.groovy 2016-11-03 16:25:47 -07:00
Mike Aizatsky 736a77c7e3 Update libfuzzer-pipeline.groovy 2016-11-03 16:22:49 -07:00
Mike Aizatsky cb21012bab Update libfuzzer-pipeline.groovy 2016-11-03 16:21:33 -07:00
Mike Aizatsky 25133d8042 Update libfuzzer-pipeline.groovy 2016-11-03 16:20:04 -07:00
Mike Aizatsky 1d909bc276 Update libfuzzer-pipeline.groovy 2016-11-03 16:17:19 -07:00
Mike Aizatsky 7b766f591a Update libfuzzer-pipeline.groovy 2016-11-03 16:13:18 -07:00
Mike Aizatsky f6a2b51af9 Update libfuzzer-pipeline.groovy 2016-11-03 16:05:25 -07:00
Mike Aizatsky 2cf65130b7 Update libfuzzer-pipeline.groovy 2016-11-03 15:08:58 -07:00
Mike Aizatsky 7cc30cbe95 Update libfuzzer-pipeline.groovy 2016-11-03 14:48:17 -07:00
Mike Aizatsky 7498e5c26e Update libfuzzer-pipeline.groovy 2016-11-03 14:40:29 -07:00
Mike Aizatsky 1e6fc4b119 comment 2016-11-03 14:13:51 -07:00
Mike Aizatsky 643a22578a writing src entry 2016-11-03 13:51:00 -07:00
Mike Aizatsky 107a3df757 Update libfuzzer-pipeline.groovy 2016-11-03 13:38:07 -07:00
Mike Aizatsky 9e8084c45e experiment 2016-11-03 13:31:45 -07:00