Commit Graph

1 Commits

Author SHA1 Message Date
Ravi Jotwani 8a74af8f52
[libyaml] Add more fuzz targets (#4043)
* added draco integration files

* wrote build file and Dockerfile for Draco

* added more fuzzers, updated build script to generate corpus and options for each

* place yaml.dict in SRC first, rather than in OUT directly

* changed fuzzers from c++ to c, updated build script

* started using booleans instead of ints, updated naming conventions

* replaced all instances of  with

* removed memsets, stopped using first two bytes of input, and removed file I/O

* fixed style, changed function return types to bool instead of int

* added libyaml_parser_fuzzer back, implemented string handling to not exceed buffer size in libyaml_emitter_fuzzer, and made style fixes

* changed boolean functions to return error, not success

* fixed inverted check

* changed variable names, fixed crash in libyaml_emitter_fuzzer

* fixed addition/subtraction style

* make a dynamically growing heap buffer

* place yaml_write_handler in distinct header file, style fixes

* fix style and memory safety issues in reformatter fuzzers, remove unused vars

* consistent assignment of done variables
2020-08-12 15:44:24 -07:00