[libFuzzer] add AFL-style dictionary for C++, remove the old file with tokens
authorKostya Serebryany <kcc@google.com>
Tue, 22 Dec 2015 01:50:51 +0000 (01:50 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 22 Dec 2015 01:50:51 +0000 (01:50 +0000)
llvm-svn: 256229

llvm/lib/Fuzzer/cxx.dict [new file with mode: 0644]
llvm/lib/Fuzzer/cxx_fuzzer_tokens.txt [deleted file]

diff --git a/llvm/lib/Fuzzer/cxx.dict b/llvm/lib/Fuzzer/cxx.dict
new file mode 100644 (file)
index 0000000..41350f4
--- /dev/null
@@ -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/llvm/lib/Fuzzer/cxx_fuzzer_tokens.txt b/llvm/lib/Fuzzer/cxx_fuzzer_tokens.txt
deleted file mode 100644 (file)
index f3c4f80..0000000
+++ /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