blob: b91e0d5cde04b2d0b93d011a52d87d2b3d8a60ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
var lfcode = new Array();
lfcode.push("function addThis() {}");
lfcode.push("\
var UBound = 0;\
var expectedvalues = [];\
addThis();\
function addThis() {\
expectedvalues[UBound] = expect;\
UBound++;\
}\
");
lfcode.push("\
var expect = 'No Crash';\
for (var i = 0; i < (2 << 16); i++) addThis();\
");
while (true) {
var file = lfcode.shift(); if (file == undefined) { break; }
try { evaluate(file); } catch(lfVare) {}
}
|