From 4695d3d81ac2d51601158a3dc8bfe71c11db78dc Mon Sep 17 00:00:00 2001 From: Mikko Yliniemi Date: Mon, 1 Aug 2016 15:41:39 +0300 Subject: [PATCH 1/3] modified docker-comspoe --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f1e7ede..3ba5525 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -28,7 +28,7 @@ services: entrypoint: '/src/scripts/fuzz.sh' command: [ '/src/ImageMagick/ImageMagick-fuzzer', - '-rss_limit_mb=4096', + #'-rss_limit_mb=4096', '-detect_leaks=0', '-exact_artifact_path=/dev/shm/repro-file', '-max_len=1000', From fbf9b60d4ea18462aca223420a1d6ae19361e3ae Mon Sep 17 00:00:00 2001 From: Mikko Yliniemi Date: Mon, 1 Aug 2016 15:43:57 +0300 Subject: [PATCH 2/3] added under development note --- stubs/libav/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/libav/README.md b/stubs/libav/README.md index 0c2cc09..b5a5dde 100644 --- a/stubs/libav/README.md +++ b/stubs/libav/README.md @@ -1,10 +1,10 @@ -# libav +# libav (under development) # Purpose Libav is a library that provides cross-platform tools and libraries to convert, manipulate and stream different multimedia formats and protocols. Purpose is to do fuzz testing to dirreferent codecs included in libav. -Libav stub is currently under development and it's not working correctly at the moment. See [Issue #18](https://github.com/ouspg/libfuzzerfication/issues/18) +TODO:Libav stub is currently under development and it's not working correctly at the moment. See [Issue #18](https://github.com/ouspg/libfuzzerfication/issues/18) What is included? From 204eb35c5eec8d71ef86e7d803102d6f23951f3f Mon Sep 17 00:00:00 2001 From: Mikko Yliniemi Date: Wed, 3 Aug 2016 16:09:09 +0300 Subject: [PATCH 3/3] changed default codec to AV_CODEC_ID_H264 --- stubs/libav/libav-fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/libav/libav-fuzzer.c b/stubs/libav/libav-fuzzer.c index b21d48c..38f6e9e 100644 --- a/stubs/libav/libav-fuzzer.c +++ b/stubs/libav/libav-fuzzer.c @@ -25,7 +25,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { av_init_packet(&avpkt); - codec = avcodec_find_decoder(AV_CODEC_ID_MP2); + codec = avcodec_find_decoder(AV_CODEC_ID_H264); if (!codec) { fprintf(stderr, "codec not found\n"); exit(1);