Harish Mahendrakar
82b7f933f4
fuzzer: Updates to fuzzer plugin
...
Add support to configure architecture
Limit number of decode calls to 100
Avoid zero size allocations
Bug: 141574514
Test: ./avc_dec_fuzzer
Change-Id: I3a449a795e1d849424dafb00142d861988e5a0e4
2019-10-22 21:56:45 +00:00
Ray Essick
1dba4471e1
Merge "fuzzer: Create ossfuzz.sh to build with oss-fuzz"
2019-10-03 01:46:57 +00:00
Harish Mahendrakar
5f3bd1e37d
fuzzer: Create ossfuzz.sh to build with oss-fuzz
...
fuzzer/ossfuzz.sh added to build libavc fuzzer target in oss-fuzz.
Bug: 140057362
Test: Build with oss-fuzz
Change-Id: I02265836d68cd28021ba7498fbf49b287efa3e41
2019-10-02 21:44:27 +00:00
Harish Mahendrakar
9aefe92778
Replace memalign with posix_memalign
...
Bug: 140696633
Test: Build and test binaries
Change-Id: I2a00a34347732eb91f2dc3514c4fa8fa5b5c51b5
2019-09-12 16:37:45 -07:00
Elliott Hughes
724246bc74
Fix macOS build.
...
There's no <malloc.h> on Darwin. Normally I'd say "prefer <stdlib.h>",
but in this case it looks like the code actually uses memalign. There
is no memalign on Darwin. You'll need to switch to posix_memalign if
you actually care about building this.
For now, the easiest is to just exclude macOS.
Test: treehugger
Change-Id: Id8a11cd141f5c4bd30ce95b61ac64759e17732fc
2019-09-08 13:20:07 -07:00
hamzeh
b5aa78cfcd
Making liblog static in libavc fuzzer
...
Bug: 140244193
Test: SANITIZE_HOST=address make haiku-host and then running binary
Change-Id: I814739612b2d90923ebedc4a75d493f5d7bb15b5
2019-08-29 14:48:39 -07:00
Treehugger Robot
dcdaa5c232
Merge "decoder: Add host support"
2019-08-22 00:12:19 +00:00
Harish Mahendrakar
c7a2050496
Add README.md for fuzzer
...
Instructions to build fuzzer target are now in README.md
Bug: 139761244
Test: Review
Change-Id: Ie0eebac0508e45fc952b1e9cf2bb9b2a3df6b475
2019-08-21 00:22:52 +00:00
Harish Mahendrakar
cd79b679b1
decoder: Add avc_dec_fuzzer.dict
...
Bug: 139661751
Test: Review
Change-Id: Ibc84342643b5659e66885c7ca81cf51eec41c875
2019-08-19 09:08:32 -07:00
Harish Mahendrakar
41bd9cb168
decoder: Add host support
...
Test: Build libavcdec on host
Bug: 139379050
Change-Id: If81b01e3058e1ae42c8d266571a07deb39fbd603
2019-08-16 12:50:09 -07:00
Harish Mahendrakar
1cf2178de2
Added avc_dec_fuzzer
...
Test: ./avc_dec_fuzzer
Bug: 135629550
Change-Id: I6a7685873941b4680e53003e597a6785ca5584e5
2019-08-13 14:43:27 -07:00