Commit Graph

2 Commits

Author SHA1 Message Date
Yuxuan Shui ae43154470
fuzzer/c2: add roundtrip test
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-17 01:54:43 +00:00
Yuxuan Shui 4fca4aab07
c2: add a libfuzzer fuzzer for c2
Add fix some simple bugs discovered by the fuzzer. Two cases of missing
input validation (we have assertions, but assertion failures are not
user friendly). And one case of jump over variable initialization with
goto.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-17 00:03:56 +00:00