Commit graph

8 commits

Author SHA1 Message Date
Srujan Vandrangi
40a2df3244 decoder: limit number of calls to decode header
Test: avc_dec_fuzzer
2023-07-31 11:41:35 -07:00
Srujan Vandrangi
07452e198b decoder: set keep_threads_active to 1 in the testbench and fuzzer
Bug: 289097296
Test: Build
2023-07-29 16:38:34 -07:00
Srujan Vandrangi
72e8241a64 decoder: replace KEEP_THREADS_ACTIVE macro with avc decoder struct variable
Bug: 289097296
Test: Build
2023-07-22 09:51:37 -07:00
Harish Mahendrakar
4ab2109685 avc_dec_fuzzer: Zero initialize input and output structures to API calls
Input and output structures to decoder's functions are now zero
initialized. This way any new additional members in these structures
will be initialized correctly.

Bug: oss-fuzz:49322
Bug: 175179303
Test: avc_dec_fuzzer with memory sanitizer
Change-Id: Ic89625aaaededdef107c34bf8bdc793824b96f85
2022-07-21 19:56:14 +00:00
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
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
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
1cf2178de2 Added avc_dec_fuzzer
Test: ./avc_dec_fuzzer
Bug: 135629550

Change-Id: I6a7685873941b4680e53003e597a6785ca5584e5
2019-08-13 14:43:27 -07:00