Commit Graph

5 Commits

Author SHA1 Message Date
Vincent Ulitzsch 02a91a656b Extend giflib harness: Cover more functions and add protobuf specification (#2442)
* Add protobuf target prototype

* Generalized architecture and added message stubs for future enhancements

* Added fine grained conversion of global/local color tables, LSD and image data

* Added conversion of extensions

* Flagged important TODOs

* Address important todos and add converter for GraphicControlExtension

* Minor bugfix: m_hasLct now reset for every image

* Fixed minor bugs and added GCExt to plaintext chunk

* Minor change to bug fix just for clarity

* Refactoring and add fuzz_dgif_extended

Refactor the code so that both targets import from dgif_fuzz_common.
Also add fuzz_dgif_extended, which exercises more functionality
of giflib

* Added minor comment

* Add new function that is a replica of Android JNI code

* Minor fix

* print errors (covers gif_err.c)

* bug fix in printing and disable it

* bug fix in printing error desc

* Add version variants to header message

* Add draw function from gif_font.c

* Remove LIB_FUZZING_ENGINE from compilation step and add GifDrawText8x8 API to custom fuzz harness

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* Remove unnecessary loop

* Small bugfix: x is no longer unitialized

* Change to consistent formatting

* Fix bug that caused build failure
2019-05-24 05:17:05 -07:00
jonathanmetzman 3049c50d48
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2019-05-01 11:09:55 -04:00
Bhargava Shastry c205defe5f giflib: Fix bug in test harness that led to low coverage. (#2172) 2019-02-16 10:36:03 -08:00
Bhargava Shastry ecf26f315b giflib: Fix build failure and remove disk IO. (#2169) 2019-02-15 14:07:49 -08:00
Vincent Ulitzsch 834a138b39 [giflib] Add giflib (#2062)
* Add initial version of giflib

* Fix a memory leak in dgif_target

This commit fixes a memory that was caused by calling the wrong
close function.

* giflib: Minor bug fixes that also addressees most comments from Doris
2019-01-08 11:17:29 -08:00