Files
CMake/Tests/Fuzzing/cmArchiveExtract.dict
Leslie P. Polzer 0a760a2794 Tests/Fuzzing: Add cmArchiveExtractFuzzer
Fuzz the CMake archive extraction utilities.
Tests tar, zip, and other archive format handling.
2026-01-20 14:06:36 -05:00

73 lines
826 B
Plaintext

# Archive Format Dictionary
# Tar magic
"ustar"
"ustar "
"ustar\x0000"
# Gzip magic
"\x1f\x8b"
"\x1f\x8b\x08"
# Bzip2 magic
"BZ"
"BZh"
"BZh9"
# XZ magic
"\xfd7zXZ\x00"
# Zip magic
"PK\x03\x04"
"PK\x01\x02"
"PK\x05\x06"
# 7z magic
"7z\xbc\xaf\x27\x1c"
# Tar header fields
"\x00\x00\x00\x00\x00\x00\x00\x00"
"0000000"
"0000644"
"0000755"
"0000777"
"00000000000"
" "
# Path traversal (security testing)
"../"
"../../"
"../../../"
"../../../../"
"/../"
"/../../"
# Absolute paths
"/etc/passwd"
"/tmp/"
"/home/"
"/.."
# Long paths
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
# Symlink indicators
"1"
"2"
# File type indicators
"0"
"5"
"L"
"K"
# Checksum placeholder
" "
# Filenames
"test.txt"
"file.dat"
"CMakeLists.txt"
".hidden"
"__MACOSX"