Skip to content

Commit

Permalink
Merge pull request #1395 from hzeller/20220816-add-fuzzing-example
Browse files Browse the repository at this point in the history
Add another fuzzing example triggering #1386
  • Loading branch information
hzeller authored Aug 16, 2022
2 parents fae5d0d + a74ccb2 commit a1b5473
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion verilog/formatting/formatter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18371,11 +18371,19 @@ TEST(FormatterEndToEndTest, FuzzingRegression_UseAfterFree_1384) {
#endif

#if 0
TEST(FormatterEndToEndTest, FuzzingRegression) {
// https://github.com/chipsalliance/verible/issues/1386
TEST(FormatterEndToEndTest, FuzzingRegressionHierachyInvariant) {
TestForNonCrash({"`c(`c()\0;);", 12});
}
#endif

#if 0
// Possibly same ? https://github.com/chipsalliance/verible/issues/1386
TEST(FormatterEndToEndTest, FuzzingRegression_outofmemory) {
TestForNonCrash({"`f(1'O`f())\n", 12});
}
#endif

} // namespace
} // namespace formatter
} // namespace verilog

0 comments on commit a1b5473

Please sign in to comment.