| commit | da88195bf071f3241302f1d0176254d46080a57a | [log] [tgz] |
|---|---|---|
| author | Marissa Wall <marissaw@google.com> | Wed Nov 20 10:22:22 2019 -0800 |
| committer | Marissa Wall <marissaw@google.com> | Thu Nov 21 17:48:06 2019 -0800 |
| tree | e245239506e1822229efc63bfb27f3b7d07b10df | |
| parent | 4858652a691909236b817806d6e3a1213853f1f3 [diff] |
gralloc: fuzz libgralloctypes
Libgralloctypes decodes byte streams from remote processes. This
fuzzer fuzzes all of libgralloctypes decode functions to make
sure there aren't any vulnerabilites.
This patch borrows heavily from binder_parcel_fuzzer.
Bug: 141632767
Test: SANITIZE_HOST=address make libgralloctypes_fuzzer
${ANDROID_HOST_OUT}/fuzz/<arch>/libgralloctypes_fuzzer/libgralloctypes_fuzzer
Change-Id: I24e01570ac79f47cad1eff2eb68cb70201a4644d