mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 17:27:35 +00:00
Fuzzers: Use a single fuzzer to test all LibTextCodec encodings
This commit replaces the 5 fuzzers that previously tested LibTextCodec with a single fuzzer. We now rely on the fuzzer to generate the encoding and separate it from the encoded data with a magic separator. This increases the overall coverage of LibTextCodec and eliminates the possibility of the same error being generated by multiple fuzzers.
This commit is contained in:
parent
7d717986de
commit
e1099a1757
9 changed files with 47 additions and 105 deletions
15
Meta/Lagom/Fuzzers/FuzzTextDecoder.dict
Normal file
15
Meta/Lagom/Fuzzers/FuzzTextDecoder.dict
Normal file
|
@ -0,0 +1,15 @@
|
|||
magic_separator="|DATA|"
|
||||
|
||||
# encodings
|
||||
cyrillic_encoding="windows-1251"
|
||||
hebrew_encoding="windows-1255"
|
||||
koi8r_encoding="koi8-r"
|
||||
latin1_encoding="windows-1252"
|
||||
latin2_encoding="iso-8859-2"
|
||||
latin9_encoding="iso-8859-15"
|
||||
mac_roman_encoding="macintosh"
|
||||
turkish_encoding="windows-1254"
|
||||
user_defined_encoding="x-user-defined"
|
||||
utf16be_encoding="utf-16be"
|
||||
utf16le_encoding="utf-16le"
|
||||
utf8_encoding="utf-8"
|
Loading…
Add table
Add a link
Reference in a new issue