Commit Graph

72 Commits

Author SHA1 Message Date
inferno-chromium 832d367b37 Update README.md 2016-11-30 08:26:02 -08:00
Mike Aizatsky e16ee1785b [infra] using project instead of target 2016-11-29 11:23:30 -08:00
Mike Aizatsky a0611d84d1 Update README.md 2016-11-22 12:03:13 -08:00
Mike Aizatsky 6b5163a38e Update README.md 2016-11-22 12:02:26 -08:00
Mike Aizatsky d92be61e1c [infra] adding zip package, it is needed for corpuses 2016-11-18 20:52:41 -08:00
Mike Aizatsky a27eca33a3 [infra] adding zip to base-runner: run_fuzzer needs it 2016-11-18 18:34:18 -08:00
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 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 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
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 48778facde folding coverage into base-libfuzzer since target images is where sources are 2016-11-03 20:13:29 -07:00
Mike Aizatsky 19a558f8b8 Update just_run 2016-11-02 17:30:33 -07:00
Mike Aizatsky da2ddedf02 setting path in just_run 2016-11-02 16:33:21 -07:00
Mike Aizatsky 7df69b51d1 test uses .options and seed corpus 2016-11-02 16:24:50 -07:00
Mike Aizatsky 217223fd72 use seed corpus while running a fuzzer. Fixes #19 2016-11-02 16:22:37 -07:00
Mike Aizatsky e1a2d3c14c [infra] .options support for run command (#61)
Initial work for #19.
2016-11-02 16:02:17 -07:00
Mike Aizatsky fddbae61b7 pipefail fuzzer run 2016-11-02 14:40:01 -07:00
Mike Aizatsky efbcadbe12 putting libfuzzer.a into /usr/lib/ 2016-11-01 13:19:39 -07:00
Mike Aizatsky 28dec3521c [infra] adding zip to the image, since corpus files should be zips 2016-10-28 15:24:34 -07:00
Mike Aizatsky 916e155609 improving junit report a bit 2016-10-27 14:14:59 -07:00
Mike Aizatsky 39479734da cleanup 2016-10-27 10:08:01 -07:00
Mike Aizatsky 3b64ebbc9e using basename for report 2016-10-26 15:19:35 -07:00
Mike Aizatsky d4086332cd generating dummy test report 2016-10-26 14:22:28 -07:00
Mike Aizatsky 459b0c1b40 Update compile 2016-10-26 13:53:05 -07:00
Mike Aizatsky 43de5caa37 [infra] reproduce command (#53)
runs specified fuzzer with `/testcase` as input.

example:

```
docker run -v <local_file>:/testcase -t ossfuzz/libxml2 reproduce libxml2_xml_read_memory_fuzzer
```
2016-10-26 08:28:38 -07:00
Mike Aizatsky a95b41b0b3 replacing library with target 2016-10-25 16:36:29 -07:00
Mike Aizatsky 6e41f2f824 [infra] hg sourcemap 2016-10-20 14:31:20 -07:00
Mike Aizatsky 22afda8b9e [infra] fail test if there are zero fuzzers 2016-10-20 14:14:15 -07:00
Mike Aizatsky 6ccbe7f757 [infra] revisions->srcmap cleanup 2016-10-20 13:15:28 -07:00
Mike Aizatsky 7a1d8d645a [infra] renaming revisions.json into srcmap.json 2016-10-20 00:45:57 -07:00
Mike Aizatsky 20de8979b1 [infra] test command 2016-10-20 00:44:35 -07:00
Mike Aizatsky 59f3805868 [infra] make revisions.json world readable 2016-10-20 00:28:16 -07:00
Mike Aizatsky 9d54ccaeee [infra] getting back to root user 2016-10-20 00:24:22 -07:00
Mike Aizatsky 4a1014636d [infra] chown 2016-10-19 18:07:08 -07:00
Mike Aizatsky 0334615e51 [infra] determining source code revisions 2016-10-19 15:07:24 -07:00
Mike Aizatsky f61b870b1c libtool is needed to build libfuzzer.a 2016-10-19 11:42:57 -07:00
Mike Aizatsky faecacb464 adding subversion 2016-10-19 11:34:58 -07:00
Mike Aizatsky ce3c1a60c8 calling script directly 2016-10-19 10:03:42 -07:00
Mike Aizatsky ea957bd4ee [infra] checking out library sources in the image (#40)
fixes #33
2016-10-18 15:37:23 -07:00
Mike Aizatsky 089add6e8b [infra] replacing libfuzzer/*.o by -lfuzzer
Fixes issue #32
2016-10-17 14:37:19 -07:00