Commit Graph

541 Commits

Author SHA1 Message Date
Abhishek Arya 66b19116bd Update helper.py 2017-01-03 11:07:58 -08:00
Abhishek Arya 3cb1898cdd Update README.md 2017-01-03 11:04:50 -08:00
Abhishek Arya 35c191dd2a Update README.md 2017-01-03 10:53:45 -08:00
Abhishek Arya 6c4110d4a4 Fixes (#236)
* Add reproduce command.
* Remove unneeded run and just_run command with duplicate code as run_fuzzer.
* Fix docs for reproduction.
2017-01-03 10:47:05 -08:00
Mike Aizatsky e5233738b1 nit 2016-12-29 14:37:10 -08:00
Mike Aizatsky 25bec26fe4 [infra] nit 2016-12-29 14:36:32 -08:00
Mike Aizatsky 603ec83647 Update README.md 2016-12-29 14:29:32 -08:00
Mike Aizatsky 3d220f2588 [infra] renaming images: base->base-image, base-libfuzzer->base-builder
Continue publishing base-libfuzzer until images a built and
derived images migrated.

Issue #142
2016-12-29 13:39:41 -08:00
Mike Aizatsky 21bf4d622e [infra] adding afl to base image (#128) 2016-12-29 13:15:48 -08:00
Mike Aizatsky f62a882408 [infra] -e build_fuzzers flag to set environment variable (#229)
* [infra] -e helper flag to set environment variable

Can be used to switch sanitizer or fuzzing engine.

* removed unneeded class

* nit
2016-12-29 13:08:47 -08:00
Mike Aizatsky 06b1f4406d [infra] using utc instead of local time (#230) 2016-12-29 13:00:56 -08:00
Mike Aizatsky f751053545 [infra] missing unstable builds 2016-12-29 11:19:37 -08:00
Mike Aizatsky e77895463b [infra] unwrapping value 2016-12-29 11:12:56 -08:00
Mike Aizatsky 647b9cc06e [infra] removed debug output 2016-12-29 11:11:01 -08:00
Mike Aizatsky 9c8784509f [infra] nits 2016-12-29 11:09:40 -08:00
Mike Aizatsky 5390e7241b [infra] showing unstable builds 2016-12-29 11:06:49 -08:00
Mike Aizatsky a5b6c3dc05 [info] printing out job info 2016-12-29 10:43:04 -08:00
Mike Aizatsky d75677378e [infra] enabling leak detector by default
Fixes #9
Issues like #224 should fail the build now.
2016-12-28 11:18:46 -08:00
Mike Aizatsky 7e56c88379 [infra] some builds never fail 2016-12-28 10:42:30 -08:00
Mike Aizatsky 0bbedbda65 [infra] --nopull option for helper.py (#219)
The options is useful when changing base-images.
2016-12-27 17:14:33 -08:00
Mike Aizatsky c4ac474aef [infra] chown $WORK as well: it will be mounted from outside of container 2016-12-27 13:47:44 -08:00
Mike Aizatsky 6d48c46597 [infra] inputs are string arrays 2016-12-27 11:51:30 -08:00
Mike Aizatsky 288b25b287 [infra] unwrap result object 2016-12-27 11:50:40 -08:00
Mike Aizatsky 7d6b4c9acf nit 2016-12-27 11:41:04 -08:00
Mike Aizatsky 3c9642ebe4 [infra] uploading status.json 2016-12-27 11:36:13 -08:00
Mike Aizatsky 15fcfa0e52 [infra] run build.sh with -eu (exit on first error, error on undefined vars) 2016-12-27 09:39:59 -08:00
Mike Aizatsky 202b73edb8 [infra] Fixing undefined variable error
@alex, forget the explanation in fd244c7b34 ))

I think this is now how it was intended:

* ${parameter-default} expands to default if parameter is not set
* -n checks if expansion is not empty
2016-12-27 09:13:07 -08:00
Mike Aizatsky fd244c7b34 Revert "Fixed inverted conditional in compile script (#215)"
This reverts commit 43e03bc035.

The initial code was right:
(http://www.tldp.org/LDP/abs/html/parameter-substitution.html)

If $BUILD_ID is defined ${BUILD_ID+} evaluates to empty string.
If $BUILD_ID is not defined, it evaluates to null string.

-z of empty string is true
-z of null string is false

(welcome to bash).

@alex
2016-12-27 09:01:20 -08:00
Alex Gaynor 43e03bc035 Fixed inverted conditional in compile script (#215) 2016-12-24 11:57:01 -08:00
Mike Aizatsky a0e8a442b0 Update README.md 2016-12-22 10:48:28 -08:00
Mike Aizatsky 1de3d366be [infra] you can't do sh outside of node() 2016-12-21 15:40:30 -08:00
Mike Aizatsky 5a4daf8980 [infra] use $BUILD_UID if it is defined (fixes #30) (#211)
If $BUILD_UID is defined, then compile script will create a user
with a given UID and switch to it prior to calling project's build.sh.
2016-12-21 15:01:44 -08:00
Caolán McNamara b57371a098 add SYS_PTRACE capability (#9 #212)
I'm finding that with e.g.

python infra/helper.py build_fuzzers libpng

all builds fail for me with...

configure:3443: checking whether we are cross compiling
configure:3451: clang -o conftest -g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters   conftest.c  >&5
configure:3455: $? = 0
configure:3462: ./conftest
==1014==LeakSanitizer has encountered a fatal error.
==1014==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==1014==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
configure:3466: $? = 1
configure:3473: error: in `/src/libpng':
configure:3475: error: cannot run C compiled programs.

with the defaults of...
CC=clang
CXX=clang++
CFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters
CXXFLAGS=-g -fsanitize=address -fsanitize-coverage=edge,indirect-calls,8bit-counters -stdlib=libc++

but adding --cap-add SYS_PTRACE makes it work
2016-12-21 12:58:01 -08:00
Mike Aizatsky 274fb853aa [infra] do not ignore zip paths (#162) 2016-12-20 14:48:19 -08:00
Mike Aizatsky 45206f3484 [infra] nit 2016-12-15 20:57:29 -08:00
Mike Aizatsky 0a7dd52155 [infra] overriding default libraries for msan build #59 2016-12-15 20:57:07 -08:00
Mike Aizatsky 2de24fc520 [infra] build msan version of libcxx into /usr/msan/lib (#59). 2016-12-14 13:16:11 -08:00
inferno-chromium f22ee6eb3a Fix typo 2016-12-13 17:54:36 -08:00
Mike Aizatsky 5e02e09397 [infra] nit 2016-12-13 15:55:13 -08:00
inferno-chromium 01373acf7d Rename base-debug-runner->base-runner-debug, add hooks. (#181) 2016-12-13 15:07:53 -08:00
Mike Aizatsky c7b92df765 [infra] removing debug output 2016-12-13 13:48:10 -08:00
Mike Aizatsky 69b623c82d [infra] nit 2016-12-13 13:36:45 -08:00
inferno-chromium e10b3b2d51 Remove libfuzzer-runner. (#179)
* Remove libfuzzer-runner.

* Add base-debug-runner.
2016-12-13 13:16:44 -08:00
Mike Aizatsky 5c2eb9da69 [infra] removing debug output 2016-12-13 13:11:47 -08:00
Mike Aizatsky 8c4188d921 [infra] var rename 2016-12-13 13:09:31 -08:00
Mike Aizatsky 73b3e93f30 [infra] adding SYS_PTRACE capabilities to all jenkins docker runs #6 2016-12-13 13:08:51 -08:00
Mike Aizatsky 11b0c45f91 [infra] added memory sanitizer config 2016-12-13 12:47:20 -08:00
inferno-chromium f9b3680dee Fix run_fuzzer to use base-runner image for building. (#178) 2016-12-13 11:59:53 -08:00
Mike Aizatsky 7747c34d2d [infra] using base-runner for running 2016-12-13 11:27:45 -08:00
Abhishek Arya 4f3b0123f6 Fix merge conflict. 2016-12-13 11:10:15 -08:00
Abhishek Arya 10d8f2f7b2 Use same *SAN_OPTIONS as ClusterFuzz. 2016-12-13 11:07:48 -08:00
Mike Aizatsky 7bd5ae5115 [infra] coverage flags can be overriden on target basis. #84 2016-12-13 10:37:21 -08:00
Caolán McNamara 07ac1eab14 bind mount work dir (#176)
with python infra/helper.py build_fuzzers <PROJECT>

out of the box I get /work as a dir in the docker image root with approx 6 gigs
free after dependencies are installed, i.e.

Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/docker-..   10G  3.9G  6.2G  39% /

which is limiting for a very large project, how about binding /work to the host
like /out already is, eg. for me afterwards, plenty of work space

Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       440G  291G  128G  70% /work

(cherry picked from commit fffffb107dc7421b91b884c0019c62e43779c4b1)
2016-12-13 10:27:23 -08:00
Mike Aizatsky d03d1679f9 debugging on 2016-12-12 22:44:37 -08:00
Mike Aizatsky e30377104f debug output 2016-12-12 22:09:22 -08:00
Mike Aizatsky 4d0d878609 [infra] failure should be indicated by a separate tag. #168 2016-12-12 21:40:28 -08:00
Mike Aizatsky 7f162d0fed [infra] pipefail is no longer needed 2016-12-12 16:33:03 -08:00
Mike Aizatsky 598c8ba618 [infra] separate test_report script for jenkins integration
Separate test_report script runs tests and generates junit-style
reports. The script doesn't fail when fuzzer fails, but marks it as
failed instead.

Fixes #168
2016-12-12 16:30:51 -08:00
Oliver Chang f2e3c0e50d Include file in base-runner. (#160) 2016-12-09 12:32:40 -08:00
Oliver Chang 6dde379193 Fix fuzzer executable detection in test_all. (#156) 2016-12-08 12:41:14 -08:00
Oliver Chang 1c2330d9e4 Update build_status.py 2016-12-08 11:00:00 -08:00
Oliver Chang 98cdcb718a Update build_status.py 2016-12-08 10:48:56 -08:00
Oliver Chang ea5d438d2c Update build_status.py 2016-12-08 10:47:30 -08:00
Mike Aizatsky 0e7acedab3 Update test_all 2016-12-07 14:45:25 -08:00
Mike Aizatsky 764a8b99a7 [infra] removed libfuzzer.a. Fixes #139 2016-12-07 13:46:19 -08:00
Mike Aizatsky e92e678188 [infra] specifying testcase for junit report 2016-12-07 12:19:06 -08:00
Mike Aizatsky 8e68455932 Update Jenkinsfile 2016-12-07 12:07:45 -08:00
Mike Aizatsky 3ab381b653 Update compile_libfuzzer 2016-12-07 11:49:34 -08:00
Alex Gaynor cedcb65d4a Fixes #148 -- use --rm when running docker locally (#149) 2016-12-07 11:43:37 -08:00
Mike Aizatsky 3dd707ed58 [infra] using -lFuzzingEngine instead of -lfuzzer 2016-12-07 11:41:08 -08:00
Mike Aizatsky ddaa976438 removed trailing whitespaces 2016-12-07 11:35:53 -08:00
Mike Aizatsky 2d7e3adcaf [infra] env var rename 2016-12-06 22:21:06 -08:00
Mike Aizatsky feff4b8a66 [infra] FUZZING_ENGINE to choose compile script (#128) 2016-12-06 22:18:54 -08:00
Mike Aizatsky 8156f1d7a1 [infra] (nit) optimizing away couple layers 2016-12-06 21:53:28 -08:00
Mike Aizatsky bddc4d7fee [infra] using all.sh instead of jenkins script 2016-12-06 21:50:51 -08:00
Mike Aizatsky ba0304c6a9 [infra] providing libFuzzingEngine.a (#139) 2016-12-06 15:54:53 -08:00
Mike Aizatsky 93476cdefe Update README.md 2016-12-05 09:44:57 -08:00
Mike Aizatsky 19dba436ed [infra] srcmap path should start with "/" 2016-12-02 11:33:00 -08:00
Mike Aizatsky 85cdb1cc07 Update README.md 2016-12-02 11:02:18 -08:00
Mike Aizatsky d48041d880 Update README.md 2016-12-02 11:02:02 -08:00
Mike Aizatsky 18125f52db Update README.md 2016-12-02 10:59:38 -08:00
Mike Aizatsky f478dca0e8 [infra] SANITIZER environment variable (#103)
The variable picks one of the predefined flags configuration.
2016-12-02 10:58:51 -08:00
Mike Aizatsky 805e39715c [infra] letting docker clear output dir 2016-12-02 10:07:00 -08:00
Oliver Chang d3eaf61ed8 autosetup fixes. 2016-12-01 13:02:17 -08:00
Oliver Chang 1b7e384533 autosetup: only setup if project has Dockerfile. 2016-12-01 12:56:29 -08:00
inferno-chromium 93f59bf102 Update README.md 2016-11-30 08:51:20 -08:00
inferno-chromium 832d367b37 Update README.md 2016-11-30 08:26:02 -08:00
Mike Aizatsky 3815f29ef5 [infra] dockerfile comes from project, not config 2016-11-29 19:00:53 -08:00
Oliver Chang 9761e79223 helper coverage: add message about the command taking a long time.
Also suppresses output from the fuzzer itself.
2016-11-29 15:10:58 -08:00
Mike Aizatsky cf248c4759 [infra] making shallow git clones. fixes #42 2016-11-29 12:55:45 -08:00
Mike Aizatsky fdb934a82c [infra] refactoring dockerfile configuration 2016-11-29 11:54:59 -08:00
Mike Aizatsky 879120437d [infra] build.sh cleanup 2016-11-29 11:33:42 -08:00
Mike Aizatsky 70d9a1e876 [infra] project, not library 2016-11-29 11:29:42 -08:00
Mike Aizatsky a182b62f5e [infra] generate project.yaml instead of Jenkinsfile 2016-11-29 11:25:33 -08:00
Mike Aizatsky e16ee1785b [infra] using project instead of target 2016-11-29 11:23:30 -08:00
Mike Aizatsky 5e8481c3aa [infra] using project.yaml for jenkins job configuration 2016-11-29 11:09:12 -08:00
inferno-chromium 330c900781 Update libfuzzer-pipeline.groovy (#102) 2016-11-29 09:35:07 -08:00
Oliver Chang 2d96e79c92 Update sync.py 2016-11-28 09:32:22 -08:00
Mike Aizatsky 2284433b85 [infra] using sanitizers and name from the target 2016-11-23 12:43:12 -08:00
Mike Aizatsky b7651255e8 [infra] parseText not parse 2016-11-23 09:29:24 -08:00
Mike Aizatsky b1d104e3fb [infra] testing target_json parsing 2016-11-23 09:24:13 -08:00
Alex Gaynor 1c413fb98b Avoid yaml.load, and prefer yaml.safe_load (#95)
yaml.load ought to be named yaml.danger_load: it can execute arbitrary code (http://pyyaml.org/wiki/PyYAMLDocumentation#LoadingYAML)
2016-11-23 08:25:13 -08:00
Mike Aizatsky 938ea8d01b [infra] passing target json to the builder 2016-11-22 21:56:13 -08:00
Mike Aizatsky 31b6c1a49e [infra] specifying default build script 2016-11-22 21:51:45 -08:00
Mike Aizatsky b69bf660a4 [infra] do not update jenkinsfile 2016-11-22 21:49:16 -08:00
Mike Aizatsky 2ebe28cf79 [infra] do not use target Jenkinsfile 2016-11-22 21:48:50 -08:00
Mike Aizatsky 404e054d42 [infra] always reconfiguring existing job 2016-11-22 21:40:49 -08:00
Mike Aizatsky e387192576 [infra] escape target definition to be passed as string 2016-11-22 21:37:11 -08:00
Mike Aizatsky 5e30fa2fa7 loading target.yaml 2016-11-22 20:36:02 -08:00
Mike Aizatsky c534c410ea added PyYaml 2016-11-22 20:33:06 -08:00
Oliver Chang d0d5684531 shutup gsutil 2016-11-22 18:09:24 -08:00
Oliver Chang 0f14b297ea auto setup: really fix dir checking 2016-11-22 15:59:59 -08:00
Oliver Chang 141ae2730a auto setup: fix listdir path 2016-11-22 15:45:00 -08:00
Oliver Chang 37d6985357 error logging 2016-11-22 15:29:15 -08:00
Oliver Chang dc5a1d54f9 auto setup: get libraries list from local checkout instead. 2016-11-22 15:27:47 -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 c0fc3a4ea3 [infra] moving symbolizer to base runner 2016-11-21 12:35:58 -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 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
Mike Aizatsky 6dc749ec06 experiment 2016-11-03 13:26:08 -07:00
Mike Aizatsky c249174980 cleanup 2016-11-03 13:19:01 -07:00
Mike Aizatsky 43489960b0 Update run_fuzzer 2016-11-02 17:30:46 -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 8e2aa92c9c helper.py run should use .options file
It is very unfortunate, but we have to copy the file. I'll think
how it is possible to restructure our images to avoid duplication.

Issue #19
2016-11-02 16:07:48 -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 c669d498fa Update templates.py 2016-11-01 13:23:40 -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 0b05c13fb0 Update libfuzzer-pipeline.groovy 2016-10-27 10:03:49 -07:00
Mike Aizatsky fa9082304a changed dir 2016-10-27 10:02:02 -07:00
Mike Aizatsky 1b58461feb archiving junit results 2016-10-27 10:00:12 -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 f1145fc98f Update templates.py 2016-10-26 11:36:57 -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 8926b7c06a moved all targets into targets/ subdir 2016-10-24 19:39:13 -07:00
Mike Aizatsky 2fbe9341e2 [infra] fixed uploaded srcmap name 2016-10-20 14:39:55 -07:00
Mike Aizatsky 6e41f2f824 [infra] hg sourcemap 2016-10-20 14:31:20 -07:00
Mike Aizatsky 0542a8c7bd [infra] jenkins uses test command as well 2016-10-20 14:22:39 -07:00
Mike Aizatsky 22afda8b9e [infra] fail test if there are zero fuzzers 2016-10-20 14:14:15 -07:00
Mike Aizatsky 6f9337fb3d [infra] nit 2016-10-20 14:14:15 -07:00