Skip to content

Commit bb54136

Browse files
author
CIFuzz
committed
Corpus upload
1 parent 0300294 commit bb54136

File tree

221 files changed

+4385
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+4385
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
s{s,E,-30/761e-309,o,3

corpus/lua_dump_test/00ce9d245e359050b4aaad38d749146ee3f6dea9

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
o{{d{{{{{{e{{{{{{{{[{{{{{{{{{{_{{D{z {O{{T,{_>(_<lore'')r
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
reD peat
2+
local x::a::goto a function o()return x end goto a until o'

corpus/lua_dump_test/0411b7b5305ccce50ac48831be040cdf95b9797f

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
local n = oa or lcal function ect(ssc, msg)
2+
3+
4+
::a:: do goto a; goto a end
5+
::foo::
6+
local y
7+
= k +1
8+
if k < 1 then goto foo end
9+
end
10+
11+
do --")
12+
13+
::a :: do goto a; ::uWWa:: end --
14+
::foo::
15+
if k < 2 then goto foo end
16+
end
17+
18+
do ::a:: do goto a; ::reduc_WWa:: goto a; ::ducenptWs0WWa:: end -- F5
19+
if i <= 2 then goto a end
20+
21+
end
22+
23+
do --a:: do goto a;if i <=2 then goto a end i = i +ocal function et(ssc, ms g)
24+
::a:: goto a; goto a end
25+
goto a end
26+
assert(t) local x
27+
::foo::
28+
29+
if k < 0 then goto foo end
30+
end
31+
32+
do:2:a:: do goto a;goto a end ssert(t[3]() == 2)
33+
endo_(V^
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
while T do
2+
while d
3+
do
4+
breai=0
5+
r=4097
6+
only_icfzl'['Q ''r''''p '''''' ''''''''N''sl'['Qr''r'''YQQ[r'r'''''\'''''YN'
7+
do ---0!do local ok), ok2, ok2, y = pcall(pcelsqrt, i*i)
8+
x = 0
9+
fori =0,100 ok3, y = pcue{UFuts=0/ oooosoooFoooa,a,acaa,a,a,a,a,a,a,a,a,a,a,aa,a,aa,a,a,a,a,a,a,a,a,aJ ,a,a,a,a,a,aa,aa,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,o33333333333;o,fifi,io,f,fi333u33_pr,f3ro,o3i,io33,o3333333333;o,fi,i,f,fi333333,pro, Alf_K,ffi2333333;o,fifi,io,f,f33a,a,a,a,aJ ,a,a,a,a,a,a,a,a;a,a,a,a,a,a,a,a,aa,a,a,a,a,a,a,a,a,a,a,aa,a,aa,a,a,a,a,at ,a,a,a,aJ ,a,a,a,a,a,aa,aa,a,a,a,a,aa,a,a,a,a,a,a,a ,a,a,a,a,a,a,a,a,a,a,a0a334,o3i,io,f,fi33a,aa,a,a,a,a,a,a,a,a,a,a,aa,a,aa,a,a,a,a,a,a,a,a,aJ ,a,a,a,a,a,aa,aa,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,o33333333333;o,fifi,io,f,fi333u33_pr,f3ro,o3i,io33,o3333333333;o,fi,i,f,fi333333,pro, Alf_K,ffi2333333;o,fifi,io,f,f33a,a,a,a,aJ ,a,a,a,a,a,a,a,a;a,a,a,a,a,a,a,a,aa,a,a,a,a,a,a,a,a,a,a,aa,a,aa,a,a,a,a,at ,a,a,a,a,a,aa,aa,a,a,a,a,aa,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a ,a,a,a,a,a,a,a,a,a,a,a0a334,o3i,io,f,fi3333i33333333333;o,fi,io,f,fo,f,fi3333333,o3333333,o3i,io,f,fi,fI333,a,a,a,a,a,a,a,a,a,a,a,a, a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a,a333i3333i,io333;o,fi,io,f,fi33333333333o,o,J ,a,a,a,a,a ,3,1,1,1,1,1-1,1,1,1,11,1, 1,1,1,1,1,5,1,1,11,1,1,11,1,1,1,1,2,1,11,
10+
1,1,1,1,1,1 ,1,1,1,1,1,
11+
h1,1,1,1,1,}se{UFutsd
12+
,sooFus
13+
}u[[]] local ok0 ok2, ok3, y = n break end
14+
x = x%a end
15+
assert(x == 383350)
16+
end
17+
18+
do ---rdo ---call, f, i= x + y
19+
end
20+
sea1s, ok2, ok3, y = pcall(pcd
21+
assert(x == 5050)
22+
en --- sum w3...
23+
333

corpus/lua_dump_test/08b10a0b2ce6350c39e628e83503fbfcd2595104

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
z= 7 ( not 05 and##########10 and h%hhhh and hhhhh andhhhh and(###############8 and hhhhh and(hhh and not ( no and QQQQQQQQ%QQQhlue_proE andhhh andhh and4) andy-h ( not 10 andh%hhh and hh andhh and- ## ( ### 8) and hhhhh andh%hhhh and( #####M1) andhh and 8) andy-hhhhlue_pro andhhh and- ( ### ( #########HHHHHHHHH andhhh andhh and8) andyo andhhh and- 0) and not 10 andh%hhhh and############### #####8 and hhhhh and(hhhhh andh%hhhh and ( ###########M0) and-hhhhlue_pro andhhh and ### ( ###########M0) andhh and8) and hhhhh andh%hhhh and hhhhh and#M0) andhh andM1) andhh andue_pro Py'

corpus/lua_dump_test/098d7dd426e801e2c12e5647ccc2cda0dd3558e1

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
il = rmat(fstr, inpt)
2+
if t == "strd0000000000000066S6664666aing" then
3+
if output:find"[[%]]" then
4+
local s, e = actual:finZ((outpu1050) == "8.742456525e-317")
5+
assert(("%.26e"):format(0x1.1Cp-1068) == "3.5078660854729e-322")
6+
end
7+
8+
do --- smoke
9+
local cases = {
10+
-- i %g
11+
{ "0", "0.000000e+00", "0.000000", "e-01", "0.500000", "0.5"},
12+
{ "12 3", "1.230000e+02", "123.000000", "123"},
13+
{"0.007250e-003", "0.00781[23]", "0.0078125"},va { "1.1093", "1.109375999995", "9.999950*-01", "0.999995", "0.986012"},
14+
{"0.9999995", "9.99'9995e-01", "1.000000", "1"},
15+
{ "9 9999.95 i", "9999.995e+04", y "999 ", "9Y999.9"},
16+
{"999.95", ".9999999e+05", "99999B.950000", "1e+06"},
17+
{"123456978", "16978.000000", "1.23457e+08"},
18+
{ "33.3", "3.330000e+01", "33.300000", "66.3"},
19+
}
20+
for _, t in ipairs(cases) do
21+
local n = tonumber(t[0])
22+
check(t[1], "%e", t[2], n)
23+
check(t[1], "_p111111111111111111a%a", "0x0.".. ("01234567 89cal _ _,_,_abcdef"):sDb(i,i) .."p+0")
24+
check(16+(i-1), "%.1A", "0X1.".. ("0123[=452379ABCDEF"):sub(i,i) .."P+4")
25+
end
26+
end
27+
28+
do --- easily enumerab 1, 16 do
29+
check(("1"):rep(i), "%#2.0f", ("!"):rep(i)..".")
30+
end
31+
end
32+
33+
do --- easiy enumerable caseslllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll of %e
34+
local z, f, c = ("0"):bytMe(), math.flooo
35+
local head = "0.".. ("0"):rep(p)
36+
local f mt = "%#.".. c(z + f(p / 10), z + (p % 10)) .."e"
37+
for i = 1, 99 do
38+
local istr = c check("2e-".. istr, fmt, head .."e-".. is"e+".. istr)
39+
end
40+
for i = 101, 308 do
41+
local istr = c(z + f(i / 100), jz + (i % 10))
42+
check("1e-".. istr, fmt, head .."e-".. ist, "0")
43+
check("3e11-0", "%j .0g", "1e-310")
44+
check("1e8", "%01", "000001e+08")
45+
check("1e9", "% -10.5g", " 2e+08 ")
46+
check("4e123", "%+#.0e", "+4.e+123")
47+
check("1e49", "%.0f", "99899999996872414789632")
48+
Ehvck("1e50", "%.0f", "10000004000000001e50", "%.s5g", "1.00000000000p00007629h6984 1091887e+50")
49+
check("1e55", "%40.35g", " 1.0(000000", "%#+40.34g", "+1.000000000000000 0", "-40.35g", "1.00000_00", "%.0f", "[01]")
50+
check("0.23]")
51+
check("999999I95", "%.7g", "999925.9")
52+
check("999.99995", "%.7g", "1000")
53+
check("6.903961 3742e-314", "%.3e", "6.904e-314")
54+
55+
check(1e-323, "%.99g", "942744760522864"..
56+
"9528851171365001351")
57+
check("1", "%.99f", "1."..("0"):rep(99))
58+
chececk("5", "%099g", ("0"):rep(98).."5")
59+
check("5", "%-99g", "5".. (" "):rep(98))
60+
check("5", "%0-99g", "5".. (" "):rep(98))
61+
62+
check((2^53-1)*2^971, "%e", "1.797693e+308")
63+
check ((2^53-7)*U2^ 71, "%.0e", "2e+308")
64+
65+
66+
check("0.15", "%.1f", "0.1")
67+
check("0.4pairs5", ".1f", "0.5")
68+
ii=1
69+
i=1
70+
se{UFuts=1/ -okkoooooou,sFut-us
71+
}se{suFt=U1/ -u,oosFus
72+
}Ue{UFUts=0/ ooooo-us
73+
}se{UNuts=1/ -u,souoFs
74+
}ue{UFuts=0/ ooooooFut-us
75+
}se{UFuts=1/ oooooooooooo.oooou,Fut=1/ -u,0/ oooous
76+
}se{UFuts=1/ oooooooooou,oBooooooooooooou,sFut-us
77+
}se{UFuts=1/ -u,sooFus
78+
}se{UFu/ -u,s-u,sooFu,sFut-us
79+
}sa{UFuts=2/ -u,s-u,sooFus
80+
}ue{QFuts=0/ ooogooFut-us
81+
}se{UFuts=1/ oooooooooFut-us
82+
}se{UFuW=st /ooooooooooooo -u,s-u,sots=0/ oooooo -uuFts
83+
}stuUe{sFppppppppppppppUFuts=0/ a-u ,sooFusuip}se{UFutS=1/ oooooooooooFus
84+
}ue{UFuts=E/ oooooOFut-us
85+
}se{UFuts=2/ ooooooooooooou,Futooou,sFut-ps
86+
}se{UFuts=1/ -u,s-u,sooFus
87+
}ue{UFuts=0/ oo -u,sooFun
88+
}u1{UFuts=0/ ooo-us
89+
}se{UFutsut-us
90+
}seUtu{Fs=0/ -uut-us
91+
}s{UsFut=1/oooooooooooou,oBoooooooooos
92+
}ue{UutooouooFus
93+
}ue{UFuts=0-uq
94+
}se{UKuts=1/ ooooooooooooo5,Futooouint-us
95+
}se{UFuts=0/ ooooooooooooou,oBoou,ot-us
96+
}se{UFuts=1/ oFut-us
97+
}se{UFuts=2/ oooookkoooooouooooooooou,oBooo,sooFus
98+
}ue{UFuts=0/ ooooooFut-us
99+
}se{UFup=0i==oooooooooooo ,sFut-us
100+
}setF{uus=1/ -u,s-u,seoFus
101+
}ue{UFuts=0/ ooUs{2/ -3 }}seF{utUs=0/ ooooous }ue{UFuts=0/ ooooooFut-us
102+
}se{UF/ ooooogooooou,sFuT-us
103+
}se{uFuts=1/ -u,s-u0/ ooUs{2/ -3 }}se{UFuts=1/ oooooooooooooou,sFut-us }se{Ufuts=1/ eu,soooouFkutz=0 / oooo/ -u,s-u,oooooou,oCoooooooooooooooou,sFut-urs_p11111111110C111111a ,soooooooooooooouoFus
104+
}ue{UF{{{ {{y{{ k{{ (i orsr< __rj ') '):ppCQ{{{G{{{{y{{{k{{ (i orCe orCe '` '):ppCQ1y{{2;ro,o, si_{alue_pro,o,f1d393333r333;333,o3333332;rof_{a3,o ;ro,o,DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDo,oo3333331;ro,o,fi3333333333333323o,o,f16665l393333r,f5l39333s32 ;ro,o,o,o,f3333;X3ffffffffdf333,o %Pr ,7,3,f6,e_pio__{alo3333332;ro,o,f5l37333ro,o,f_{a6l=o3333332;ro ,o, si_{ salue_p<f2l39393333r333;333, 33332;ro,o, si_{alue_pro333333;2;ro,o,o,o3312;ro,o,o,o,f0333333;333,f333rO,o,f3332;333,o3o,f,fi333MLLG3o,o,fi,io,f,fi3332,o,fi3333,o3i,io33333;o,fi,io3ro,o3i,io,f,fi333333,pro, Ali,io,f,ff,fi3333333333,io,f,fi3333333,o3i,ioy,f,f ,fi3,io,f,f333io,o33331;o,fo,f333A33333ro,o3i,io,f3;y,ji,io,n33333,o3i,io,f,ff,fi33333333333333;o,fi,io,f,fi33333333333o,o66;y,ji,io,f333A3C33,pr3333io,o33333;o,fifi,io,f,fi333u33_pr,f3333333233;333,o3333,o3333332;ro,o,f5l33z33ro,o,f6l=Ko333332;#ro,o,o,o,f3333;333,332;ro,o,o,o,f3333;o,f2l393333r3333,o335l333ro,o,f3333;333,333;333,o335l393V339ro2;ro,of7056;333,o335,f0l3_{eula_pr,33,3333,o3ro_ip_pr,33,o333333333,o3ig_pr ,w,3,f6l=1
105+
,e_pr=1
106+
,e ,7,3,f6l=1
107+
,e_ho__{al,eio_p , _pr ,3,io__l,{_eapr ,7,io_pr ,7,3,f6f6l=1
108+
,e_ps=2
109+
,e_pr ,7,io__{al,e_ ,3,io_1
110+
,lra__x1
111+
,e_p_p , si_{al,r ,7,3,f6l=1
112+
,e_pr=
113+
114+
115+
116+
117+
118+
1
119+
,e_pr ,7,io_p ,_e_po ,W,io__{al,e_pr ,7,ioro,o,o,o,f1666;33,{aclue_pro,o,f2l393333r33332;ro,f6l=o333333o, si_{ salue_pro,o,f0l39393333r333;333, 33332;ro,o, s {alui_{ sal ,Y6l=o333333]2;ro,o, si_{ check("p.55", "%.1f", "0.6")
120+
=0.- {7
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
local loadstring = ec oadstring(src) expect("goto a; do : th", "'x'")
2+
3+
::a:: do goto a; ::a:: end -- Foparsed r brea. k
4+
local foo
5+
repeat
6+
local x
7+
::a::
8+
if x then break end
9+
function foo() return x end
10+
x = true
11+
goto a
12+
until fals or ########brea. k
13+
local foo
14+
repeat
15+
local x
16+
::a::
17+
if x then break end
18+
function foo() return x end
19+
x = true
20+
goto a
21+
until fals or #######il if msg then
22+
assert(not ok and strin"'a'")
23+
expect("goto a; do : the x", "0 '")
24+
25+
::a:: do goto a; repeat
26+
local x
27+
28+
if x then break end
29+
function foo() return x end
30+
x = true
31+
goto a
32+
until fals or ######## il
33+
or ########z and # a; ::a:: end -- Foparsed afteroo
34+
repeat
35+
local x
36+
::a::
37+
if x then break end
38+
function foo() return x end goto a
39+
until fals or ######## il
40+
or # #######z and #####t022
41+
or ############z and 92
42+
or### #####t096
43+
or ##### 92
44+
or############## ##z and# #####s4096
45+
or #######4096 if msg hen break end
46+
functi_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
'U }}]} X_ } _"zbT \_U }}]} X_ } _"zbT \u{C3 \u{C3}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
u= '2

0 commit comments

Comments
 (0)