Commit Graph

11 Commits

Author SHA1 Message Date
Catena cyber 74762513ad
infra: have timeout per fuzz target for coverage (#7831)
* infra: have timeout per fuzz target for coverage

As is done for other languages

* ngolo-fuzzing: remove temporary workaround

now that https://github.com/golang/go/issues/53190 is closed

* ngolo-fuzzing: use built go toolchain in its directory

without copying it to /root/.go/

in order to get coverage for std lib in the end

* infra: ability to get coverage for additional golang package

And uses it with ngolo-fuzzing :
ngolo-fuzzing fuzz targets live in a different repository than
the code being fuzzed, and we we want to get the coverage, for
both the fuzz target and the package being fuzzed

* fixup bash unbound

* fixup ngolo-fuzzing only match at beginning for std package

* stricter check for every additional go package
2022-07-07 17:00:39 +02:00
Catena cyber 8c13dba829
ngolo: applies special patches (#7824)
for instance for image/jpeg which needs DecodeConfig
before Decode is called, otherwise arbitrary allocation is
possible
2022-06-08 22:24:32 +01:00
Catena cyber 09c104b9a8
ngolo-fuzzing: try to get coverage (#7808)
By removing runtime target which times out the whole coverage
2022-06-06 20:58:57 +00:00
Catena cyber 258dec7e31
ngolo-fuzzing: use DNDEBUG for libprotobufmutator fuzzer (#7792)
* ngolo-fuzzing: use DNDEBUG for libprotobufmutator fuzzer

* ngolo-fuzzing: temporary workaround to work with latest go
2022-06-03 10:27:58 +01:00
Catena cyber 57c715ebcd
ngolo-fuzzing: fix coverage build (#7682) 2022-05-09 11:38:45 +01:00
Catena cyber b794402fc4
ngolo-fuzzing get some coverage (#7673)
* ngolo-fuzzing get some coverage

With the fuzz targets which work already.

The LPM fuzz targets do not support coverage yet...

* ngolo: do not take bufio for io
2022-05-05 11:31:51 +01:00
Catena cyber bcf7972c03
ngolo-fuzzing: more generic arguments for fuzz targets building (#7653) 2022-05-02 12:08:26 +01:00
Oliver Chang c9d66436e1
File github issues for `ngolo-fuzzing` (#7524) 2022-04-21 17:04:13 +10:00
Catena cyber 38800d5907
ngolo-fuzzing: better excluse pattern (#7574)
so that runtime gets only patterns from runtime and not from
runtime/debug
2022-04-15 21:30:12 +01:00
Catena cyber 4ae09c2ac2
ngolo-fuzzing: use latest go from git (#7490) 2022-04-02 22:05:24 +01:00
Catena cyber 4d723ba451
Adds ngolo-fuzzing project (#7372)
* Adds ngolo-fuzzing project

* fixup use exclude.txt from upstream repo

* summary in the end

* hard fail on supported packages

* exact package match
2022-03-28 12:50:46 -04:00