diff options
author | Leon Scroggins III <scroggo@google.com> | 2020-02-26 17:15:12 -0500 |
---|---|---|
committer | Leon Scroggins III <scroggo@google.com> | 2021-01-13 12:09:18 -0500 |
commit | 140f5086ee607f023125c3df3ceb4d37f2b4aedb (patch) | |
tree | 0ee58973875d0e35e1533d539f3398cb4b9ad4a9 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c2ebc2bcf37d1ba67bd3c1ec66a65aa947ac086e (diff) |
AImageDecoder: Add a fuzz target
Bug: 142252770
Bug: 169137236
Bug: 169139756
Test: This (fuzzer)
Use the bytes to create an image file and decode it.
To run:
$ SANITIZE_TARGET=hwaddress make imagedecoder_fuzzer
$ adb root
$ adb sync data
$ adb shell /data/fuzz/arm64/imagedecoder_fuzzer/imagedecoder_fuzzer
Call startThreadPool() to support HEIF. Otherwise HEIF decodes may time
out on binder IPC calls. This is similar to a fix for skia_dm in
https://skia-review.googlesource.com/c/skia/+/108141.
Change-Id: I434730a74c5ff97437526065c41af3f54fae3335
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions