Bob Badour
c0aae295ed
[LSC] Add LOCAL_LICENSE_KINDS to external/libavc
...
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
fuzzer/Android.bp
test/Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: I3ad48ae634869eb3486d5c68962c992be83b2003
2021-02-14 10:37:21 -08:00
Anuj Joshi
6ce43b0dd7
Free input buffers only when released by encoder in avc_enc_fuzzer
...
Test: ./avc_enc_fuzzer
Bug: 172952772
Change-Id: I9d2eb407c73e289b7d88d47d87fb36b68b5dfc69
2021-01-12 10:10:48 +05:30
Sachin Kumar Garg
443b102698
Added avc_enc_fuzzer
...
Test: ./avc_enc_fuzzer
Bug: 170942938
Change-Id: I35ecdbad6bbd41684b81efe73a0f87f74e1ef8bb
2020-11-06 10:15:44 +05:30
Harish Mahendrakar
5a52ec8cdd
Added fuzz_config field in avc_dec_fuzzer
...
Test: ./avc_dec_fuzzer
Bug: 157680018
Change-Id: Ia06f33596cacb8b5d856ff778135fc4a78e2fb66
2020-05-28 14:20:18 -07: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
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