Skip to content

Commit 5cd4292

Browse files
authored
add ada::idna method to fuzzer (#400)
1 parent 4a635d2 commit 5cd4292

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fuzz/parse.cc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,11 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
5252
ada::can_parse(source);
5353
ada::can_parse(source, &base_source_view);
5454

55+
/**
56+
* ada::idna
57+
*/
58+
ada::idna::to_ascii(source);
59+
ada::idna::to_unicode(source);
60+
5561
return 0;
5662
} // extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {

0 commit comments

Comments
 (0)