Commit Graph

4 Commits

Author SHA1 Message Date
Pete Harris 47b025ddbe
[astc-encoder] Sync with upstream and use in-project build.sh (#4488)
* [astc-encoder] Update to use in-project build.sh

- Latest project upstream no longer needs Makefile patch
- Latest project upstream includes a build.sh and some locally
  hosted fuzzers

* Remove oss-fuzz hosted fuzzers
2020-09-28 14:37:30 -07:00
Max Moroz 4e0b05ee50
[astc-encoder] Remove astc_encode_decode_ise_fuzzer completely. (#4485) 2020-09-25 12:35:15 -07:00
Max Moroz d03e74664b
[astc-encoder] Temporarily disable astc_encode_decode_ise_fuzzer. (#4484) 2020-09-25 10:40:19 -07:00
Ravi Jotwani f796236bf6
[astc-encoder] Initial integration (#4188)
* initial commit, build failing

* added fuzzer, build failing

* build working, deadly signal at runtime

* fuzzer working until input ~25

* getting global-buffer-overflow, most likely due to insufficient size of output buffer

* encode_ise_fuzzer build working

* added decode_ise_fuzzer, load_decompress_image_fuzzer (build failing for the latter)

* removed test_fuzzer, build working

* fixed formatting issues with clang-format

* combined astc_encode_ise fuzzer and astc_decode_ise_fuzzer, found correct output buffer size, added relevant comments to astc_load_decompress_image_fuzzer, fixed if statement style, made input size checks more accurate, and removed unused variable declaration in build script

* style fixes

* Fix ASTC build issues.

Fixes the ASTC encoder build under AFL by putting Clang arguments in the
correct (?) order.

* removed implementation-specific checks, limited encode/decode_ise inputs to 64 bytes

* Update ASTC build to work with the updated Makefile.

* Try fixing AFL, Honggfuzz builds

Co-authored-by: Michael Jezierny <mtjz@google.com>
Co-authored-by: Abhishek Arya <inferno@chromium.org>
2020-09-11 09:22:44 -07:00