work on fuzzing makefile; commit corpus
This commit is contained in:
@@ -9,11 +9,10 @@ fuzz: fuzzer hcl.dict
|
|||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -rf tree-sitter
|
rm fuzzer parser.o scanner.o libtree-sitter.a hcl.dict *.log
|
||||||
rm fuzzer parser.o scanner.o libtree-sitter.a
|
|
||||||
|
|
||||||
fuzzer: parser.o scanner.o libtree-sitter.a
|
fuzzer: parser.o scanner.o libtree-sitter.a hcl.dict
|
||||||
clang++ -o fuzzer ${FUZZFLAGS} -std=c++11 tree-sitter/test/fuzz/fuzzer.cc -Itree-sitter/lib scanner.o parser.o libtree-sitter.a
|
clang++ -o fuzzer ${FUZZFLAGS} -std=c++11 fuzzer.cc -Itree-sitter/lib scanner.o parser.o libtree-sitter.a
|
||||||
|
|
||||||
scanner.o: ../src/scanner.cc
|
scanner.o: ../src/scanner.cc
|
||||||
clang++ -o scanner.o ${FUZZFLAGS} -std=c++11 -I../src -c ../src/scanner.cc
|
clang++ -o scanner.o ${FUZZFLAGS} -std=c++11 -I../src -c ../src/scanner.cc
|
||||||
@@ -21,8 +20,8 @@ scanner.o: ../src/scanner.cc
|
|||||||
parser.o: ../src/parser.c
|
parser.o: ../src/parser.c
|
||||||
clang -o parser.o ${FUZZFLAGS} -std=c99 -I../src -c ../src/parser.c
|
clang -o parser.o ${FUZZFLAGS} -std=c99 -I../src -c ../src/parser.c
|
||||||
|
|
||||||
hcl.dict:
|
hcl.dict: ../grammar.js
|
||||||
tree-sitter/scripts
|
python ./tree-sitter/test/fuzz/gen-dict.py ../src/grammar.json > hcl.dict
|
||||||
|
|
||||||
libtree-sitter.a:
|
libtree-sitter.a:
|
||||||
make -C tree-sitter
|
make -C tree-sitter
|
||||||
|
|||||||
13
fuzz/corpus/00627b70f9fc6fd81c3bbdf547b55d246573c2a7
Normal file
13
fuzz/corpus/00627b70f9fc6fd81c3bbdf547b55d246573c2a7
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
reso// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
commenttÿÿÿÿÿjóx[ 1, 2,
|
||||||
|
*/
|
||||||
|
|
||||||
|
rE
|
||||||
BIN
fuzz/corpus/00c940b9dea7c44d994f698e0f8501e42222e551
Normal file
BIN
fuzz/corpus/00c940b9dea7c44d994f698e0f8501e42222e551
Normal file
Binary file not shown.
BIN
fuzz/corpus/012c2fb4d172f7346ba84ea8e5d278e6d2f8d70b
Normal file
BIN
fuzz/corpus/012c2fb4d172f7346ba84ea8e5d278e6d2f8d70b
Normal file
Binary file not shown.
BIN
fuzz/corpus/023b429b65ac20efabac597615c645619e98cd38
Normal file
BIN
fuzz/corpus/023b429b65ac20efabac597615c645619e98cd38
Normal file
Binary file not shown.
BIN
fuzz/corpus/02e7823123372be70f3d902146a83bd4ea1bff64
Normal file
BIN
fuzz/corpus/02e7823123372be70f3d902146a83bd4ea1bff64
Normal file
Binary file not shown.
29
fuzz/corpus/0335105b4e6c48d0138a43ebc54c9c3c7c13454d
Normal file
29
fuzz/corpus/0335105b4e6c48d0138a43ebc54c9c3c7c13454d
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
a(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((("baz" }
|
||||||
|
)
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||||||
|
bin1 ! = ((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
bin1 ! = ((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
tpl0 = "prefix-${var.bar}"
|
||||||
|
tpl2 = "prefix-${func("bar")}"
|
||||||
|
tpl3 = "prefix-${func("nested-${var.bar}")}"
|
||||||
|
tpl4 = <<EOF
|
||||||
|
2
|
||||||
|
attr2 = 2.112
|
||||||
|
attr3 = 2.112e-12
|
||||||
|
attr4 = 2.112%«12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
35
fuzz/corpus/0339b2733b5253c765151fa79bef9cd1b724260f
Normal file
35
fuzz/corpus/0339b2733b5253c765151fa79bef9cd1b724260f
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = [] var.map : k => v }
|
||||||
|
for4 = [ for v in var.l:st2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k => v }
|
||||||
|
for4 = [ for v in var.l:st : v ]
|
||||||
|
for5 = { for + inbin1 = ((1+2)%3)*4
|
||||||
|
esc1 = "\ tUF" \\F11FF22 \uFFFF \n"
|
||||||
|
esc2) = "$${~ %%{}"
|
||||||
|
tpl1 = "prefix-${var.bar}"
|
||||||
|
tpl2 = "prefix-${fun-c("bar")}"
|
||||||
|
tpl3 = "prefix-${func("n-sted-${var.bar}")}"
|
||||||
|
tpl4 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }")}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nested_resource_1 {
|
||||||
|
attr1 = 2
|
||||||
|
attr2 = 2.112
|
||||||
|
attr3 = 2.112e-12
|
||||||
|
attr4 = 2.112e+12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
4
fuzz/corpus/03a3c8bd877eccc6fa2994762b3c45dcc15a09d6
Normal file
4
fuzz/corpus/03a3c8bd877eccc6fa2994762b3c45dcc15a09d6
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
c1 {{{{{{{{{{{{ÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇÿÿÿsÇÇÇÇÇÇÇÇÇÇÇÇÇÇÇ comment
|
||||||
|
/*
|
||||||
|
%? comment
|
||||||
|
UFF *
|
||||||
BIN
fuzz/corpus/03c56af45605db630e39bc207dfea21d8e8fd9aa
Normal file
BIN
fuzz/corpus/03c56af45605db630e39bc207dfea21d8e8fd9aa
Normal file
Binary file not shown.
BIN
fuzz/corpus/0430410357d8354f25c556994739cbc48a4ba026
Normal file
BIN
fuzz/corpus/0430410357d8354f25c556994739cbc48a4ba026
Normal file
Binary file not shown.
BIN
fuzz/corpus/04529205799b5520b08a8e01cef66890b5ecf05d
Normal file
BIN
fuzz/corpus/04529205799b5520b08a8e01cef66890b5ecf05d
Normal file
Binary file not shown.
BIN
fuzz/corpus/045533cc12743ed3ba8e0412d6663e06d6f9838f
Normal file
BIN
fuzz/corpus/045533cc12743ed3ba8e0412d6663e06d6f9838f
Normal file
Binary file not shown.
30
fuzz/corpus/04761b68a2b83f91e7ac4253c2629698307b60d9
Normal file
30
fuzz/corpus/04761b68a2b83f91e7ac4253c2629698307b60d9
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoupl2 = [ ËÓßÍ, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = nultruel
|
||||||
|
bool1 = [rue
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoupl1 = [ ËÓßÍ, 3.4, "foo" ]
|
||||||
|
tupl2 = [// co!ment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, ÎÏ 3.4, ]
|
||||||
|
obj1 _ { foo = "baz" }
|
||||||
|
null1 = nu~ll
|
||||||
|
bool1 = true
|
||||||
|
bool2 -="foopl1 = "prefix-${var. false
|
||||||
|
splat1 = tuple.*.foo.babar}"
|
||||||
|
tpl2 = "r
|
||||||
BIN
fuzz/corpus/047a33281a06c8f160b154b60591808798b859a7
Normal file
BIN
fuzz/corpus/047a33281a06c8f160b154b60591808798b859a7
Normal file
Binary file not shown.
BIN
fuzz/corpus/05b8fe5ab4f51616780cdb07c23f9e8cb0aa0034
Normal file
BIN
fuzz/corpus/05b8fe5ab4f51616780cdb07c23f9e8cb0aa0034
Normal file
Binary file not shown.
BIN
fuzz/corpus/060476773053eadbe5d3254e9cbd9e35b02da7f9
Normal file
BIN
fuzz/corpus/060476773053eadbe5d3254e9cbd9e35b02da7f9
Normal file
Binary file not shown.
22
fuzz/corpus/06635ce0c9ecaf70a553568c057aca05370942f3
Normal file
22
fuzz/corpus/06635ce0c9ecaf70a553568c057aca05370942f3
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
// comme
|
||||||
|
t#n comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 ested_resource_1 {
|
||||||
|
attr1 = 2
|
||||||
|
attr2 = 2.112
|
||||||
|
ame
|
||||||
|
t#n commentÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒ = "val1"
|
||||||
|
.. }
|
||||||
|
for2 = [ ÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÿÿÿÿÿÿÿÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒÒ)}
|
||||||
|
usxf
|
||||||
|
fi EOF
|
||||||
|
|
||||||
|
nested_resource_1 {
|
||||||
|
attr1 =
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/066b2ebd36488596f2c96bfc36ed6cdebf1e7bb1
Normal file
BIN
fuzz/corpus/066b2ebd36488596f2c96bfc36ed6cdebf1e7bb1
Normal file
Binary file not shown.
BIN
fuzz/corpus/068e3b0a589d06224e153ea7e55d035e34cb2439
Normal file
BIN
fuzz/corpus/068e3b0a589d06224e153ea7e55d035e34cb2439
Normal file
Binary file not shown.
BIN
fuzz/corpus/06a3c35c674b2f1b259365dfd087bdc6e4bcdb56
Normal file
BIN
fuzz/corpus/06a3c35c674b2f1b259365dfd087bdc6e4bcdb56
Normal file
Binary file not shown.
BIN
fuzz/corpus/0722bab1768ff474d473a126f8b90fe6960292f0
Normal file
BIN
fuzz/corpus/0722bab1768ff474d473a126f8b90fe6960292f0
Normal file
Binary file not shown.
BIN
fuzz/corpus/07821036c5109ada8bbca94e004940b854211eb0
Normal file
BIN
fuzz/corpus/07821036c5109ada8bbca94e004940b854211eb0
Normal file
Binary file not shown.
BIN
fuzz/corpus/07f0ccb56cf3d97fdcb3eb38b8b474435ec2f839
Normal file
BIN
fuzz/corpus/07f0ccb56cf3d97fdcb3eb38b8b474435ec2f839
Normal file
Binary file not shown.
BIN
fuzz/corpus/0804e1f4f92cabb20cf89ad9f391ae69f293d937
Normal file
BIN
fuzz/corpus/0804e1f4f92cabb20cf89ad9f391ae69f293d937
Normal file
Binary file not shown.
BIN
fuzz/corpus/081ea9c4ec85069846cdc5c2a8e9f479448d22d8
Normal file
BIN
fuzz/corpus/081ea9c4ec85069846cdc5c2a8e9f479448d22d8
Normal file
Binary file not shown.
BIN
fuzz/corpus/0830fa12504f1941a084daf0f087808116ec6b11
Normal file
BIN
fuzz/corpus/0830fa12504f1941a084daf0f087808116ec6b11
Normal file
Binary file not shown.
BIN
fuzz/corpus/08885f9cd711f711985875dab1b86b73460a1f86
Normal file
BIN
fuzz/corpus/08885f9cd711f711985875dab1b86b73460a1f86
Normal file
Binary file not shown.
BIN
fuzz/corpus/0908094385dcd467debb33817651ada29f18d9d9
Normal file
BIN
fuzz/corpus/0908094385dcd467debb33817651ada29f18d9d9
Normal file
Binary file not shown.
BIN
fuzz/corpus/0a8ecdc3c73cfc48be63e6e15f6e328a134e30e5
Normal file
BIN
fuzz/corpus/0a8ecdc3c73cfc48be63e6e15f6e328a134e30e5
Normal file
Binary file not shown.
13
fuzz/corpus/0a8fd93820e0e9545ed39535ad4ddfeed3246273
Normal file
13
fuzz/corpus/0a8fd93820e0e9545ed39535ad4ddfeed3246273
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// comment
|
||||||
|
#? comœœœœ// comment
|
||||||
|
# comment
|
||||||
|
/*= true
|
||||||
|
bool2 = false
|
||||||
|
splaœœœœœœœœœœœœœœœœœœœœœýýýýýýýýýýýýýýœœœœœœœœœœœœœœœœœœme// c†mment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
reo = []
|
||||||
|
obj1 = { ft1 = tuple.*.foo.bar[0]
|
||||||
|
|
||||||
BIN
fuzz/corpus/0b40599e65d8b7654ca9f6cc7cad35c434b32c76
Normal file
BIN
fuzz/corpus/0b40599e65d8b7654ca9f6cc7cad35c434b32c76
Normal file
Binary file not shown.
BIN
fuzz/corpus/0b968278a580c214975bb9e21501137c74e628f8
Normal file
BIN
fuzz/corpus/0b968278a580c214975bb9e21501137c74e628f8
Normal file
Binary file not shown.
BIN
fuzz/corpus/0bd9792030412186aa7f06abdf85a56e206fd69f
Normal file
BIN
fuzz/corpus/0bd9792030412186aa7f06abdf85a56e206fd69f
Normal file
Binary file not shown.
BIN
fuzz/corpus/0c3c3f5da3f142ff736e56b4c431a173d4cfd8ac
Normal file
BIN
fuzz/corpus/0c3c3f5da3f142ff736e56b4c431a173d4cfd8ac
Normal file
Binary file not shown.
BIN
fuzz/corpus/0c61090f79d97fb9d9be620cf832cdc754bd7915
Normal file
BIN
fuzz/corpus/0c61090f79d97fb9d9be620cf832cdc754bd7915
Normal file
Binary file not shown.
BIN
fuzz/corpus/0cc029c3a1a0acf110f892fb130c15005d325114
Normal file
BIN
fuzz/corpus/0cc029c3a1a0acf110f892fb130c15005d325114
Normal file
Binary file not shown.
BIN
fuzz/corpus/0d110df1d223fd0e80be702ab4638a4f2e9c7d13
Normal file
BIN
fuzz/corpus/0d110df1d223fd0e80be702ab4638a4f2e9c7d13
Normal file
Binary file not shown.
49
fuzz/corpus/0d6271cc01a0df830c6abc1d22426079d74bd48d
Normal file
49
fuzz/corpus/0d6271cc01a0df830c6abc1d22426079d74bd48d
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
reso// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
rEsource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k =>// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoual1"
|
||||||
|
tupl1 = [ 1// comment
|
||||||
|
#? , ÎÏ 3.4, v }
|
||||||
|
for4 = [ for v in var.list : v ]
|
||||||
|
for5 "foo = { for v in var.list : v => v }
|
||||||
|
for6 = [ f" ]
|
||||||
|
or v in vurce_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in ar.list var
|
||||||
19
fuzz/corpus/0dbff0b5b44a8b5bc33e183bc9785a4829d65908
Normal file
19
fuzz/corpus/0dbff0b5b44a8b5bc33e183bc9785a4829d65908
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
// comment
|
||||||
|
# comlse
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k => v }
|
||||||
|
for4 = [ for v in var.list : v ]
|
||||||
|
for5 = { for v in var.list : v >} =
|
||||||
|
v for6 = [ for v iËÓßÍ, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 resource_1 {
|
||||||
|
attr1 = 2
|
||||||
|
attr2 = 2.112
|
||||||
|
atttr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
41
fuzz/corpus/0dfa3ddd81f752afecc48ab795a9061ebe051b0c
Normal file
41
fuzz/corpus/0dfa3ddd81f752afecc48ab795a9061ebe051b0c
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
rEsource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k =>// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoual1"
|
||||||
|
tupl1 = [ 1// comment
|
||||||
|
#? , ÎÏ 3.4, v }
|
||||||
|
for4 = [ for v in var.list : v ]
|
||||||
|
for5 "foo = { for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k =>// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
ci... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 omment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoual1"
|
||||||
|
tupl1 = [ 1 v in var.list : v => v }
|
||||||
|
for6 = [ f" ]
|
||||||
|
or v in var.list : v i tfu
|
||||||
BIN
fuzz/corpus/0e21a5d7be3b31e8ade9388b21e566b69336e290
Normal file
BIN
fuzz/corpus/0e21a5d7be3b31e8ade9388b21e566b69336e290
Normal file
Binary file not shown.
45
fuzz/corpus/0e5d6f1cabedd9d930ec821a5b71bdf5804e35df
Normal file
45
fuzz/corpus/0e5d6f1cabedd9d930ec821a5b71bdf5804e35df
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
, null1 = nu1FF
|
||||||
|
ll
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]þ for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}L ]
|
||||||
|
f = [ for v in var.list : v ]
|
||||||
|
f or5 = { for v in var.list : v => * }
|
||||||
|
for5 = [ comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "stsli+1" "strlit2" {
|
||||||
|
attr1 ×= "val1"
|
||||||
|
tupl1 strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ t2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
nt
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "stsli+1" "strlit2" {
|
||||||
|
attr1 ×= "val1"
|
||||||
|
tupl1 strlit2" {
|
||||||
|
attr1 = "val1// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
reso// co"
|
||||||
|
tupl1 = [ t2mment" {
|
||||||
|
attr1 = "val1"
|
||||||
|
|
||||||
13
fuzz/corpus/0e5ee9d3b3dab68ecb46aaa8dd3e834d768aba6d
Normal file
13
fuzz/corpus/0e5ee9d3b3dab68ecb46aaa8dd3e834d768aba6d
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = nu1FF
|
||||||
|
tupl1 l
|
||||||
BIN
fuzz/corpus/0e9422ed45938238e9857a6bb76c75a686dccead
Normal file
BIN
fuzz/corpus/0e9422ed45938238e9857a6bb76c75a686dccead
Normal file
Binary file not shown.
BIN
fuzz/corpus/0f4aeaa3606b4a3bbfbd17fd9dd318df1bc414d4
Normal file
BIN
fuzz/corpus/0f4aeaa3606b4a3bbfbd17fd9dd318df1bc414d4
Normal file
Binary file not shown.
BIN
fuzz/corpus/0f73031386654e58ebc5c9d3df2cc4d381d0a119
Normal file
BIN
fuzz/corpus/0f73031386654e58ebc5c9d3df2cc4d381d0a119
Normal file
Binary file not shown.
BIN
fuzz/corpus/0f801d606e4446ce18eb19c243150f4de894117f
Normal file
BIN
fuzz/corpus/0f801d606e4446ce18eb19c243150f4de894117f
Normal file
Binary file not shown.
BIN
fuzz/corpus/0fbe78a48d887ac8503c63fb13f30bcf5fc9dc0f
Normal file
BIN
fuzz/corpus/0fbe78a48d887ac8503c63fb13f30bcf5fc9dc0f
Normal file
Binary file not shown.
BIN
fuzz/corpus/0fc22bf60adf72d6fec1cc9d60cefc8fa77e3221
Normal file
BIN
fuzz/corpus/0fc22bf60adf72d6fec1cc9d60cefc8fa77e3221
Normal file
Binary file not shown.
BIN
fuzz/corpus/0fe163aba1bd516f7be9035658007cfa565b35a4
Normal file
BIN
fuzz/corpus/0fe163aba1bd516f7be9035658007cfa565b35a4
Normal file
Binary file not shown.
BIN
fuzz/corpus/101ae5f1d7af88cae9de6e2f40a5a3d202748a0c
Normal file
BIN
fuzz/corpus/101ae5f1d7af88cae9de6e2f40a5a3d202748a0c
Normal file
Binary file not shown.
BIN
fuzz/corpus/107bb092cdcdeeadcc6c7b62043d149782a1e8a7
Normal file
BIN
fuzz/corpus/107bb092cdcdeeadcc6c7b62043d149782a1e8a7
Normal file
Binary file not shown.
BIN
fuzz/corpus/109eca7ee4f4cabe64489e39c710f613a99038f3
Normal file
BIN
fuzz/corpus/109eca7ee4f4cabe64489e39c710f613a99038f3
Normal file
Binary file not shown.
42
fuzz/corpus/11f2202366c72ab2130fcf518917c81658f2058a
Normal file
42
fuzz/corpus/11f2202366c72ab2130fcf518917c81658f2058a
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
me
|
||||||
|
t#n comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 me
|
||||||
|
t#n comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
a(((((((((((((((((((((((((((((((((((("strlit1" "strlit2" {
|
||||||
|
attr1// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
a(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((ttr1 = "val1"
|
||||||
|
tupl1 = [ 1, *2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
)
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||||||
|
bin1 ! = ((1+2)%3)((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
tpl1 = "prefix-${var.bar}"
|
||||||
|
tpl2 = "prefix-${func("bar")}"
|
||||||
|
tpl3 = "pref((((((((((((((((((((((((((((((((((((((((((((((((((((((((ix-${!!!!!!!!!!!!!!!!!!!fix!!!!!!!!
|
||||||
|
(((((((((((((((((((((((ttr1 = "val1"
|
||||||
|
tupl1 = [ 1, *2, 3.
|
||||||
BIN
fuzz/corpus/12759681e78607d0767f689df531e8747ab41d76
Normal file
BIN
fuzz/corpus/12759681e78607d0767f689df531e8747ab41d76
Normal file
Binary file not shown.
BIN
fuzz/corpus/128b6eac6900b08b8626b4236bc30f54feb4d278
Normal file
BIN
fuzz/corpus/128b6eac6900b08b8626b4236bc30f54feb4d278
Normal file
Binary file not shown.
BIN
fuzz/corpus/137c37ebcff9a3b94527ec5b2a101f4a8598b061
Normal file
BIN
fuzz/corpus/137c37ebcff9a3b94527ec5b2a101f4a8598b061
Normal file
Binary file not shown.
24
fuzz/corpus/13c2f3bff9104f6b9d3285768378089693005149
Normal file
24
fuzz/corpus/13c2f3bff9104f6b9d3285768378089693005149
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
[]
|
||||||
|
obtuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", " =>",a"b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k => v }
|
||||||
|
for4 nullfor v in var.list : v ]
|
||||||
|
for5 = { for v in var.list : v => v }
|
||||||
|
for3 = [ for v (n var.list : v if v < 3 ]
|
||||||
|
func1 = is_number("123")
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||||||
|
for v in var.list : v => v }
|
||||||
|
for6 = [ for v in var.list : v if v < 3 ]
|
||||||
|
func1 = is_number("123")
|
||||||
|
cond1 = (1 ~= 2) ? 1 : "foobar"
|
||||||
|
bin1 = ((1+2)%3)*4
|
||||||
|
esc2 =`"\" \t \UFF11FF22 \uFFFF \n"
|
||||||
|
12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/1517ede88e8e9c5bb4afe4ff2216452b81f97274
Normal file
BIN
fuzz/corpus/1517ede88e8e9c5bb4afe4ff2216452b81f97274
Normal file
Binary file not shown.
BIN
fuzz/corpus/15297be74e54a143a389cacedc677abdba9e3338
Normal file
BIN
fuzz/corpus/15297be74e54a143a389cacedc677abdba9e3338
Normal file
Binary file not shown.
26
fuzz/corpus/152e6642ba796a19b4536456175bdcda018b047f
Normal file
26
fuzz/corpus/152e6642ba796a19b4536456175bdcda018b047f
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoupl2 = [ ËÓßÍ, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = nultruel
|
||||||
|
bool1 = true
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
resoupl1 = [ ËÓßÍ, 3.4, "foo" ]
|
||||||
|
tupl2 = [// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, ÎÏ 3.4, ]
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 tpl2 = "r
|
||||||
BIN
fuzz/corpus/1580d4bdfd718a6d7a776f4b542bbdc228bbd22b
Normal file
BIN
fuzz/corpus/1580d4bdfd718a6d7a776f4b542bbdc228bbd22b
Normal file
Binary file not shown.
BIN
fuzz/corpus/16102f4efa23272ee73ef3dbd5187463b99c7557
Normal file
BIN
fuzz/corpus/16102f4efa23272ee73ef3dbd5187463b99c7557
Normal file
Binary file not shown.
BIN
fuzz/corpus/16352bf349cacff80e35d326769f85716f8a7288
Normal file
BIN
fuzz/corpus/16352bf349cacff80e35d326769f85716f8a7288
Normal file
Binary file not shown.
BIN
fuzz/corpus/172ea99eb484389ab7c4d90d600587993563316d
Normal file
BIN
fuzz/corpus/172ea99eb484389ab7c4d90d600587993563316d
Normal file
Binary file not shown.
20
fuzz/corpus/186d194db92e52fc85590dffe5b3dec4e29f7abf
Normal file
20
fuzz/corpus/186d194db92e52fc85590dffe5b3dec4e29f7abf
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit1" {
|
||||||
|
attr1 = "val1"
|
||||||
|
Ö‹Š<E280B9>l1 = [ 1,
|
||||||
|
/= 2.*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
==e= []
|
||||||
|
obj1 = { foo = "bvaz.bar}"
|
||||||
|
tt
|
||||||
|
/= 2.*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
==esource_0 112e+12
|
||||||
|
att"rst
|
||||||
BIN
fuzz/corpus/18a33ad1f423d220fc14af54a2e3cdae66d30ee0
Normal file
BIN
fuzz/corpus/18a33ad1f423d220fc14af54a2e3cdae66d30ee0
Normal file
Binary file not shown.
40
fuzz/corpus/18ec5b5dab753c8200584197d81b549d807ab528
Normal file
40
fuzz/corpus/18ec5b5dab753c8200584197d81b549d807ab528
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ ËÓßÍ, 3.4, "foo" ]
|
||||||
|
4upl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k,0v in var.map : k => v }
|
||||||
|
for4 = [ for v in var.list : v ]
|
||||||
|
for5 = { for v in var.list : v => v }
|
||||||
|
for6 = [ for v in var.list : v if v < 3 ]
|
||||||
|
func = is_numbe,("123")
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||||||
|
bin1 = ((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \UFF12FF22 \uFFFF \n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
tpl1 = "prefix-${var.bar}"
|
||||||
|
tplprefix-${func("bar")}"
|
||||||
|
upl+e.*. tpl3 = "prefix-${func("nested-${var.bar}")}"
|
||||||
|
tpl4 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func...oo${ var.bar }")}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nested_resource_1 {
|
||||||
|
at// comment
|
||||||
|
# comment
|
||||||
|
tr/1*
|
||||||
23
fuzz/corpus/18fb97c8e6880f54d485156058a12257d71ee17e
Normal file
23
fuzz/corpus/18fb97c8e6880f54d485156058a12257d71ee17e
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit0" "strlit2" {
|
||||||
|
attr1 = "[]
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
)
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||||||
|
bin1 = ((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \>>>>>>>>>>>6>>>>>>>>>>>>>>>>>>>:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>UFF11FF22 \uFFFF ^n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
tpl1 = "prefix-${v2 = "prefix-${func("bar"):}
|
||||||
|
attr4 = 2ar.bar}"
|
||||||
|
tpl2 = "prefix-${func("bar"):}
|
||||||
|
attr4 = 2.112e+12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr6 = 2.112E2
|
||||||
|
1- attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/194575f31407f838490e183b115797552e3fed35
Normal file
BIN
fuzz/corpus/194575f31407f838490e183b115797552e3fed35
Normal file
Binary file not shown.
BIN
fuzz/corpus/196fdd13676b756540e06e87dec558dec725c887
Normal file
BIN
fuzz/corpus/196fdd13676b756540e06e87dec558dec725c887
Normal file
Binary file not shown.
BIN
fuzz/corpus/1a0c029460ed4f757e549d997c4982964f5a87e6
Normal file
BIN
fuzz/corpus/1a0c029460ed4f757e549d997c4982964f5a87e6
Normal file
Binary file not shown.
BIN
fuzz/corpus/1a2811b0ae869ae80dc77e694d79795745b42159
Normal file
BIN
fuzz/corpus/1a2811b0ae869ae80dc77e694d79795745b42159
Normal file
Binary file not shown.
32
fuzz/corpus/1a66e5403b38a51b592c2ccedb9d870aff01d9f2
Normal file
32
fuzz/corpus/1a66e5403b38a51b592c2ccedb9d870aff01d9f2
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
// comment
|
||||||
|
# com*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_0 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2,03.4, "foo" ]
|
||||||
|
tupl3 = []
|
||||||
|
obj1àßßÂ߄ߛoo = "baz" }
|
||||||
|
)
|
||||||
|
cment
|
||||||
|
/*
|
||||||
|
_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2,03.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
r1 = "val1"
|
||||||
|
tupl1 = [ 1, 2,03.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1àßßÂ߄ߛoo = "baz" }
|
||||||
|
)
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobar"
|
||||||
|
bin1 = (// comment
|
||||||
|
# comment
|
||||||
|
/*(1+2)¥3)
|
||||||
|
|
||||||
15
fuzz/corpus/1a8c6a509707120b0c3b2320ebd302e613f05753
Normal file
15
fuzz/corpus/1a8c6a509707120b0c3b2320ebd302e613f05753
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
// comment
|
||||||
|
# comlse
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ${v}" b
|
||||||
|
for3 = { for k, v in varattr2 = 2.112
|
||||||
|
attr3 = 2.112e-12
|
||||||
|
attr4 = 2.112e+12 2.112
|
||||||
|
attr3 = 2.112e-12
|
||||||
|
attr4 = 2.112e+12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/1ab9ad4bd94230ac61241655575fe8a3161d2f61
Normal file
BIN
fuzz/corpus/1ab9ad4bd94230ac61241655575fe8a3161d2f61
Normal file
Binary file not shown.
BIN
fuzz/corpus/1b34e742f90ba30089f77b2ba9b286644b0db1dd
Normal file
BIN
fuzz/corpus/1b34e742f90ba30089f77b2ba9b286644b0db1dd
Normal file
Binary file not shown.
46
fuzz/corpus/1bee8922029d714df15829397297b9c8ce0fc95b
Normal file
46
fuzz/corpus/1bee8922029d714df15829397297b9c8ce0fc95b
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
// comme[]
|
||||||
|
obj1 = { foo*= "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = f= 2) ? 1 : "foobar"
|
||||||
|
bin1 = ((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
tpl1 = "prefix-${var.bar}"
|
||||||
|
tpl2 = "prefix-${func("bar")}"
|
||||||
|
tpl3 = "prefint
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo*= "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = f= 2) ? 1 : "foobar"
|
||||||
|
bin1 = ((1+2)%3)*4
|
||||||
|
esc1 = "\" \t \UFF11FF22 \uFFFF \n"
|
||||||
|
esc2 = "$${} %%{}"
|
||||||
|
tpl1 = "prefix-${var.bar}"
|
||||||
|
tpl2 = "prefix-${func("bar")}"
|
||||||
|
tpl3 = "prefix-${func("nested-${var.bar}")}"
|
||||||
|
tpl5 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }")}
|
||||||
|
= <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }"!}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nested_resource_1 {
|
||||||
|
attr4 = 2.112e+12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
43
fuzz/corpus/1bf756b33a13c521aef251de0c48e14730d2b2b0
Normal file
43
fuzz/corpus/1bf756b33a13c521aef251de0c48e14730d2b2b0
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
& tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k => v }
|
||||||
|
for4 = [ for v in var.list : v ]
|
||||||
|
for5 = { for v in var.list : v => v }
|
||||||
|
for6 = [ for v in var.list : v if v < 3 ]
|
||||||
|
func1 = is_number("123")
|
||||||
|
cond1 = (1 == 2) ? 1 : "foobac2 = "$${} %%{}"
|
||||||
|
tpl1 = "prefix-${var.bar}"
|
||||||
|
tpl2 = "prefix-${func("bar")}"
|
||||||
|
tpl3 = "prefix-${func("nested-${var.bar}")}"
|
||||||
|
tpl4 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }")}
|
||||||
|
= <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }"!}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nested_resource_1 {
|
||||||
|
attr4 = 2.112e+12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/1bf7ac7f3f3c93fed83e3d994880c4c26f02f496
Normal file
BIN
fuzz/corpus/1bf7ac7f3f3c93fed83e3d994880c4c26f02f496
Normal file
Binary file not shown.
BIN
fuzz/corpus/1c0b5a153fbc53248459f6eabaf2c32236eeb935
Normal file
BIN
fuzz/corpus/1c0b5a153fbc53248459f6eabaf2c32236eeb935
Normal file
Binary file not shown.
BIN
fuzz/corpus/1c0c4fb64591c8348949f14fdb7bff9146d7845a
Normal file
BIN
fuzz/corpus/1c0c4fb64591c8348949f14fdb7bff9146d7845a
Normal file
Binary file not shown.
BIN
fuzz/corpus/1e06fee852f8e58bdf0ddb06575a8e522bf6d28d
Normal file
BIN
fuzz/corpus/1e06fee852f8e58bdf0ddb06575a8e522bf6d28d
Normal file
Binary file not shown.
BIN
fuzz/corpus/1e1a27159887b2c76401d31012dea2be3afa1e22
Normal file
BIN
fuzz/corpus/1e1a27159887b2c76401d31012dea2be3afa1e22
Normal file
Binary file not shown.
BIN
fuzz/corpus/1e5110e3f7e6ce5a5f618d4f1a024dc5d50541bc
Normal file
BIN
fuzz/corpus/1e5110e3f7e6ce5a5f618d4f1a024dc5d50541bc
Normal file
Binary file not shown.
BIN
fuzz/corpus/1e61393a61be5b99341c9f61b88b0ac2e1d0b26c
Normal file
BIN
fuzz/corpus/1e61393a61be5b99341c9f61b88b0ac2e1d0b26c
Normal file
Binary file not shown.
24
fuzz/corpus/1eab287ed81a217ff9340ff5719cc0c0cc42c6cb
Normal file
24
fuzz/corpus/1eab287ed81a217ff9340ff5719cc0c0cc42c6cb
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "stŽ˜it2" {
|
||||||
|
attr1 ×= "val1"
|
||||||
|
tupl1 = [ 1, 2, ce_1 "strlit1" "strli// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ t2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
0, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 []
|
||||||
|
obj null1 = nv }
|
||||||
|
1 fo
|
||||||
BIN
fuzz/corpus/1eb62c2d3585a03cb572f0ecb3aed8547dd655bf
Normal file
BIN
fuzz/corpus/1eb62c2d3585a03cb572f0ecb3aed8547dd655bf
Normal file
Binary file not shown.
59
fuzz/corpus/1ee585ce5d9b300e84d95c3c10e91e71950a411c
Normal file
59
fuzz/corpus/1ee585ce5d9b300e84d95c3c10e91e71950a411c
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
resource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, ÎÏ 3.4, "foo"EEEEEEEEEEEEE ]
|
||||||
|
tupl2 ${func("foo${ var.bar }")}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nestÿÿesuedor_rce_0 {
|
||||||
|
2.112E+12
|
||||||
|
attr6 = 2.112E-1 "strlit1" "strtupl1 = [ 1, ÎÏ 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
foo = "baz" }
|
||||||
|
|
||||||
|
tpl4 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }")}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nestÿÿesuedor_rce_0 {
|
||||||
|
2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr = []
|
||||||
|
foo = "baz" }
|
||||||
|
|
||||||
|
tpl4 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }")}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nestÿÿesuedor_rce_0 {
|
||||||
|
2.112E+12
|
||||||
|
attr6 = 2.112E-1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, ÎÏ 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
foo = "baz" }
|
||||||
|
|
||||||
|
tpl4 = <<EOF
|
||||||
|
prefix
|
||||||
|
${func("foo${ var.bar }")}
|
||||||
|
suffix
|
||||||
|
EOF
|
||||||
|
|
||||||
|
nestÿÿesuedor_rce_0 {EOF
|
||||||
|
|
||||||
|
nestÿÿesuedor_rce_0 {
|
||||||
|
2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/1f151642f7b80c12ec1db6ea93b5c3c3d6d7038b
Normal file
BIN
fuzz/corpus/1f151642f7b80c12ec1db6ea93b5c3c3d6d7038b
Normal file
Binary file not shown.
31
fuzz/corpus/2065b1d7dc8aa4bd37a3c66e1bb32d7b21c70b35
Normal file
31
fuzz/corpus/2065b1d7dc8aa4bd37a3c66e1bb32d7b21c70b35
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
rEsource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map : "${k}-${v}" ]
|
||||||
|
for3 = { for k, v in var.map : k =>// comment
|
||||||
|
# comment
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
reso&al1"
|
||||||
|
tupl1 = [ 1// comment
|
||||||
|
#? , ÎÏ 3.4, v }
|
||||||
|
for4 = [ for v in var.list : v ]
|
||||||
|
for5 "foo = { for v in var.list : v => v }
|
||||||
|
for6 = [ f" ]
|
||||||
|
or v in var.list : v i tfu
|
||||||
BIN
fuzz/corpus/216e2d88c3da6b240b1c3244f27c9ce8785b49fa
Normal file
BIN
fuzz/corpus/216e2d88c3da6b240b1c3244f27c9ce8785b49fa
Normal file
Binary file not shown.
BIN
fuzz/corpus/2180e96815aa06d373e44ab78b7156424bc05d06
Normal file
BIN
fuzz/corpus/2180e96815aa06d373e44ab78b7156424bc05d06
Normal file
Binary file not shown.
BIN
fuzz/corpus/219415ebc741c2b397075d85840ef24a24195964
Normal file
BIN
fuzz/corpus/219415ebc741c2b397075d85840ef24a24195964
Normal file
Binary file not shown.
31
fuzz/corpus/21ac3d98ca200f060e88dce3451cc4577ec06c18
Normal file
31
fuzz/corpus/21ac3d98ca200f060e88dce3451cc4577ec06c18
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
// comment
|
||||||
|
#<<- comment
|
||||||
|
/*
|
||||||
|
com<6F>ment
|
||||||
|
*/
|
||||||
|
|
||||||
|
rEsource_1 "strlit1" "strlit2" {
|
||||||
|
attr1 = "val1"
|
||||||
|
tupl1 = [ 1, 2, 3.4, "foo" ]
|
||||||
|
tupl2 = []
|
||||||
|
obj1 = { foo = "baz" }
|
||||||
|
null1 = null
|
||||||
|
bool1 = true
|
||||||
|
bool2 = false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["a", "a", "b"] : v => i... }
|
||||||
|
for2 = [ for k, v ient
|
||||||
|
/*
|
||||||
|
comment
|
||||||
|
*/
|
||||||
|
|
||||||
|
reso&al1"
|
||||||
|
tupl1 = [ 1// comment
|
||||||
|
#? , ÎÏ 3.4, v }
|
||||||
|
for4 = [ foÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿr v in var.list : v ]
|
||||||
|
for5 "foo = { for v in var.list : v => v }
|
||||||
|
for6 = [ f" ]ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿr v in var.list : v ]
|
||||||
|
for5 "foo = { for v in var.list : v => v }
|
||||||
|
for6 = [ f" ]
|
||||||
|
or v in var.list : v i tfu
|
||||||
BIN
fuzz/corpus/221760c86b7bc23223ff6c46c620e790aea3148d
Normal file
BIN
fuzz/corpus/221760c86b7bc23223ff6c46c620e790aea3148d
Normal file
Binary file not shown.
BIN
fuzz/corpus/2226db0fc41584f4467c5a68b71b323745293951
Normal file
BIN
fuzz/corpus/2226db0fc41584f4467c5a68b71b323745293951
Normal file
Binary file not shown.
20
fuzz/corpus/227e7395c84702412d0c9872ead3970c6287120f
Normal file
20
fuzz/corpus/227e7395c84702412d0c9872ead3970c6287120f
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
// comment
|
||||||
|
# comlse
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
splat2 = tuple[*].foo.bar[0]
|
||||||
|
for1 = { for i, v in ["ab, "a"(, "b"] : v => i... }
|
||||||
|
for2 = [ for k, v in var.map null
|
||||||
|
bool1 = true
|
||||||
|
bool2 -= false
|
||||||
|
splat1 = tuple.*.foo.bar[0]
|
||||||
|
(splar1 = 2
|
||||||
|
attr2 = 2.112
|
||||||
|
attr3 = 2.112e-12
|
||||||
|
attr4 = 2.112e+12 2.112
|
||||||
|
attr3 = 2.112e-12
|
||||||
|
attr4 = 2.112e+12
|
||||||
|
attr5 = 2.112E+12
|
||||||
|
attr6 = 2.112E-12
|
||||||
|
attr7 = 0x21FF
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
fuzz/corpus/229d0e74a499122cadd3ba89f17b4e6e66dbe4e1
Normal file
BIN
fuzz/corpus/229d0e74a499122cadd3ba89f17b4e6e66dbe4e1
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user