mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Fuzz the CMake math expression parser (math(EXPR)). Tests arithmetic expression parsing and evaluation.
52 lines
399 B
Plaintext
52 lines
399 B
Plaintext
# CMake Expression Parser Dictionary (math expressions)
|
|
|
|
# Operators
|
|
"+"
|
|
"-"
|
|
"*"
|
|
"/"
|
|
"%"
|
|
"|"
|
|
"&"
|
|
"^"
|
|
"~"
|
|
"<<"
|
|
">>"
|
|
"("
|
|
")"
|
|
|
|
# Numbers
|
|
"0"
|
|
"1"
|
|
"2"
|
|
"10"
|
|
"100"
|
|
"1000"
|
|
"-1"
|
|
"-100"
|
|
"0x"
|
|
"0X"
|
|
"0xff"
|
|
"0xFF"
|
|
"0x7fffffff"
|
|
"0xffffffff"
|
|
|
|
# Hex digits
|
|
"0123456789"
|
|
"abcdef"
|
|
"ABCDEF"
|
|
|
|
# Large numbers
|
|
"2147483647"
|
|
"2147483648"
|
|
"4294967295"
|
|
"9223372036854775807"
|
|
|
|
# Edge cases
|
|
"00"
|
|
"0x0"
|
|
"0x00"
|
|
" "
|
|
"\x09"
|
|
"\x0a"
|