* Integration with oss-fuzz

* Use CFLAGS even for linking

as for fuzzing with asan

* Do not abort on uc_emu_start error

* Redirect fuzz output somewhere else than stdout

* Use uc_open for every fuzz instance

* Avoids timeouts from infinite loops

Limiting the number of instructions

* Moving fuzz to tests directory
This commit is contained in:
Catena cyber
2018-08-29 04:36:23 +02:00
committed by Nguyen Anh Quynh
parent 0f14c47344
commit feb46abb4a
21 changed files with 942 additions and 2 deletions

View File

@ -135,12 +135,12 @@ endif
define link-dynamic
$(CC) $< $(LDFLAGS) -o $@
$(CC) $< ${CFLAGS} $(LDFLAGS) -o $@
endef
define link-static
$(CC) $< $(ARCHIVE) $(LDFLAGS) -o $(call staticname,$@)
$(CC) $< $(ARCHIVE) ${CFLAGS} $(LDFLAGS) -o $(call staticname,$@)
endef