From: Kostya Serebryany Date: Tue, 22 Dec 2015 01:50:51 +0000 (+0000) Subject: [libFuzzer] add AFL-style dictionary for C++, remove the old file with tokens X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7482ffbe497a4090448748ac96fd0c5b4ae958b1;p=oota-llvm.git [libFuzzer] add AFL-style dictionary for C++, remove the old file with tokens git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256229 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Fuzzer/cxx.dict b/lib/Fuzzer/cxx.dict new file mode 100644 index 00000000000..41350f47558 --- /dev/null +++ b/lib/Fuzzer/cxx.dict @@ -0,0 +1,122 @@ +"++" +"--" +"<<" +">>" +"+=" +"-=" +"*=" +"/=" +">>=" +"<<=" +"&=" +"|=" +"^=" +"%=" +"!=" +"&&" +"||" +"==" +">=" +"<=" +"->" +"alignas" +"alignof" +"and" +"and_eq" +"asm" +"auto" +"bitand" +"bitor" +"bool" +"break" +"case" +"catch" +"char" +"char16_t" +"char32_t" +"class" +"compl" +"concept" +"const" +"constexpr" +"const_cast" +"continue" +"decltype" +"default" +"delete" +"do" +"double" +"dynamic_cast" +"else" +"enum" +"explicit" +"export" +"extern" +"false" +"float" +"for" +"friend" +"goto" +"if" +"inline" +"int" +"long" +"mutable" +"namespace" +"new" +"noexcept" +"not" +"not_eq" +"nullptr" +"operator" +"or" +"or_eq" +"private" +"protected" +"public" +"register" +"reinterpret_cast" +"requires" +"return" +"short" +"signed" +"sizeof" +"static" +"static_assert" +"static_cast" +"struct" +"switch" +"template" +"this" +"thread_local" +"throw" +"true" +"try" +"typedef" +"typeid" +"typename" +"union" +"unsigned" +"using" +"virtual" +"void" +"volatile" +"wchar_t" +"while" +"xor" +"xor_eq" +"if" +"elif" +"else" +"endif" +"defined" +"ifdef" +"ifndef" +"define" +"undef" +"include" +"line" +"error" +"pragma" +"override" +"final" diff --git a/lib/Fuzzer/cxx_fuzzer_tokens.txt b/lib/Fuzzer/cxx_fuzzer_tokens.txt deleted file mode 100644 index f3c4f80e146..00000000000 --- a/lib/Fuzzer/cxx_fuzzer_tokens.txt +++ /dev/null @@ -1,218 +0,0 @@ -# -## -` -~ -! -@ -$ -% -^ -& -* -( -) -_ -- -_ -= -+ -{ -} -[ -] -| -\ -, -. -/ -? -> -< -; -: -' -" -++ --- -<< ->> -+= --= -*= -/= ->>= -<<= -&= -|= -^= -%= -!= -&& -|| -== ->= -<= --> -0 -1 -2 -3 -4 -5 -6 -7 -8 -9 -A -B -C -D -E -F -G -H -I -J -K -L -M -N -O -P -Q -R -S -T -U -V -W -X -Y -Z -a -b -c -d -e -f -g -h -i -j -k -l -m -n -o -p -q -r -s -t -u -v -w -x -y -z -alignas -alignof -and -and_eq -asm -auto -bitand -bitor -bool -break -case -catch -char -char16_t -char32_t -class -compl -concept -const -constexpr -const_cast -continue -decltype -default -delete -do -double -dynamic_cast -else -enum -explicit -export -extern -false -float -for -friend -goto -if -inline -int -long -mutable -namespace -new -noexcept -not -not_eq -nullptr -operator -or -or_eq -private -protected -public -register -reinterpret_cast -requires -return -short -signed -sizeof -static -static_assert -static_cast -struct -switch -template -this -thread_local -throw -true -try -typedef -typeid -typename -union -unsigned -using -virtual -void -volatile -wchar_t -while -xor -xor_eq -if -elif -else -endif -defined -ifdef -ifndef -define -undef -include -line -error -pragma -override -final