Commit Graph

6 Commits

Author SHA1 Message Date
Varun Khaneja 8825651f9f [unrar] Use std::error_code in calls to fs::current_path and fs::remove_all (#2394)
* Use std::error_code in calls to fs::current_path and fs::remove_all

* Fuzzers must always return 0
2019-05-10 12:35:08 -07:00
Varun Khaneja 7d2884aaea [unrar] Re-enable fuzzing by creating/clearing a temporary directory (#2368) 2019-05-02 11:32:32 -07:00
Varun Khaneja 6b5ff6182b Discontinue in-memory fuzzing for unrar (#1169) 2018-02-15 10:30:23 -08:00
Varun Khaneja 2d49182f22 Interpret a blob of memory as a rar file for fuzzing. (#1090)
* Interpret a blob of memory as a rar file for fuzzing. (#4)

* Use the in-memory representation of the file

* Interpret a blob of memory as a rar file for fuzzing. (#5)

* Use the in-memory representation of the file
* Use a fixed filename, skip calling getpid
2018-01-18 15:17:44 -08:00
Varun Khaneja 6b302b9e61 Use same filename for the input file created in disk (#994)
* Use the same file name always to avoid creating new files

* Minor: formatting changes

* Use PID for the filename
2017-11-17 14:47:43 -08:00
Varun Khaneja 44ac124768 Setup simple fuzzing for unrar. (#951)
* Get the shared library to build for unrar

* Fuzz by writing temp file and calling CmdExtract::DoExtract()

* Incorporate review feedback

* Incorporate review feedback
2017-11-13 10:48:31 -08:00