Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ufuzz failure #5950

Open
alexlamsl opened this issue Oct 17, 2024 · 0 comments
Open

ufuzz failure #5950

alexlamsl opened this issue Oct 17, 2024 · 0 comments
Labels

Comments

@alexlamsl
Copy link
Collaborator

// original code
//

var _calls_ = 10, a = 100, b = 10, c = 0;






L12232: for (var brake1 = 5; (a++ + (+function (){




switch ((a++ + (1 === 1 ? a : b))) { 
default:
;


case (a):

 break;

case (0 === 1 ? a : b):
;
{var brake5 = 5; do {var bar_1 = ((--b) + (--a)), arguments = ((--b) + (({
then: ((--b) + (1 === 1 ? a : b)),
[( ((-a) || a || 3).toString() )]: ([(c = 1 + c, (((0x26.toString()|5)|((-1)!==(-1)))|(((-0)==24 .toString())==(bar_1 && (bar_1.null=(2>NaN)))))), (c = 1 + c, ((([,0][1]===(-3))<((-5)>>"undefined"))===(((-1),"bar")>>(null>>([,0].length === 2)))))][((--b) + ((-0) in ({
[(c = 1 + c, (((arguments && (arguments[(c = 1 + c, ((((-3)%([,0].length === 2))%( /[a2][^e]+$/ >>(-0)))&((23..toString()&Infinity)^(arguments && (arguments[(c = 1 + c, ((("undefined"/Infinity)^((-1)%(-3)))/((this%1)<<(0x26.toString()!=22))))]=((-0)*NaN))))))]=("foo"%([,0].length === 2))))|((-42n).toString()/5))===(((-0)^ /[a2][^e]+$/ ) + (c = c + 1, ""))))]: (c = 1 + c, (((NaN/"")>=(NaN - (-4)))<<(arguments && (arguments.Infinity=((4^4)/(Number(0XDEADn << 16n | 0xbeefn)??(-3))))))),
})))]),
0: ((--b) + (({
[(c = 1 + c, (bar_1 && (bar_1[(a++ + (false in ({
get: (c = 1 + c, (((23..toString()<=3)^(1>[]))==((arguments && (arguments[(c = 1 + c, ((((-5)!==25. )>>("object">>(-5)))!=((arguments && (arguments.c^=(({})<<[]))),(arguments=(2&&(-4))))))]=("c"&(-4))))==((-0),"b")))),
})))]%=(((""<=0)>=("foo"/3))|(("function"!="object")>>>(false>>>(-5)))))))]: (c = 1 + c, (((undefined<<undefined)===("">>(-4)))&((arguments && ({ [(c = 1 + c, ((((-4) + "bar")>(null>""))>=(bar_1=((0/"b")&&("bar"*false)))))]: arguments[(c = 1 + c, (c = c + 1, ((3<<(-5)),((-4)>>4))))] } = { NaN: ("bar"&"b") }))>=("foo"===this)))),
get: (c = 1 + c, ((((-3)*this)!=(3=="a"))*(((-0)||true)!=([]^[,0][1])))),
}).var)),
async: (a++ + (({
done: (c = 1 + c, (arguments && (arguments[((--b) + (bar_1=(24 .toString())))]=((arguments && (arguments[((c = c + 1) + ([(c = 1 + c, ((([]^3) - (Infinity/5))===(((-5),0x26.toString())>>(23..toString()<=1)))), ...("" + bar_1)][(c = 1 + c, (((0!=="function")||(""%this))/((c = c + 1,  /[a2][^e]+$/ )>>(false - 23..toString()))))]))]+=((NaN + (-2))<=(22 - "foo")))) + (bar_1=(((-5)||true)>("c"==="foo"))))))),
}))),
})));} while (((--b) + (--/* ignore */b)) && --brake5 > 0);}

 break;

case ( ((bar_1 && typeof bar_1.foo == "function" && --_calls_ >= 0 && ((+((c = c + 1, (arguments=((2>=3)**(NaN>>>[])))))), bar_1.foo)()) || a || 3).toString() ):

 break;
}

}())) && brake1 > 0; --brake1)((--b) + ( ((++a) || a || 3).toString() ));
try {(a++ + (+function a_1(){




if ((a++ + (typeof f0 == "function" && --_calls_ >= 0 && f0())))try {((c = c + 1) + ((a++ + (a_1 && typeof a_1.undefined == "function" && --_calls_ >= 0 && a_1.undefined((-0)))) ? ((--b) + (a_1 && a_1.next)) : ((c = c + 1) + (b/* ignore */--)))); } catch (bar) { 


c = c + 1;
 }

}())); } finally { 


{var expr14 = ((function (){




switch (((--b) + (((--b) + (a && typeof a.Infinity == "function" && --_calls_ >= 0 && a.Infinity(((c = c + 1) + (a)))))))) { 
case (a=([(a), (b = a)].done)):
try {{var brake17 = 5; do {if (((c = c + 1) + (((("object" - 0x26.toString())^("foo"!=="object"))!==((Infinity& /[a2][^e]+$/ )|(undefined!=="a"))))))try {(c = 1 + c, ((c = c + 1, (false,(-2)))!==((23..toString()<<4)&&(23..toString()>>>[])))); } catch (bar_2) { 


; } else try {(c = 1 + c, (((2>=(-2))||((-3) - 25. ))*((NaN<null)^("foo"|[,0][1])))); } catch (a) { 


; }} while (([(c = 1 + c, (((0x26.toString()>25. )??( /[a2][^e]+$/ *0x26.toString()))>=((5!==0x26.toString())&(a && (a.value>>>=(2&&2))))))]) && --brake17 > 0);} } finally { 


{var brake23 = 5; L12233: do {var b_2 = (c = 1 + c, (b_2=(((0>>({}))<=("c" + 3))>((c = c + 1, this)>>>([]!="undefined"))))), b_2 = (c = 1 + c, (!((("number"==="function")!=(22 - ([,0].length === 2))))));} while (((c = c + 1) + (+((((0>"undefined")>>>(22&"object"))&(((-2)>null)<=(22>>>3)))))) && --brake23 > 0);}
 }

 break;

default:
c = c + 1;


case ([][((--b) + (a && typeof a.var == "function" && --_calls_ >= 0 && a.var((a++ + (0 === 1 ? a : b)))))]):
switch (((c = c + 1) + ((void (((this!==({}))%("undefined"??([,0].length === 2)))))))) { 
case (!(((("number"&"a") + (+("undefined"))) - ((25. ===2)^("a" + null))))):
L12234: for (var brake27 = 5; ((c = c + 1) + (b++)) && brake27 > 0; --brake27);

/* fall-through */

case (({
c: (b/* ignore */--),
})):
for (var brake29 = 5; (({
then: (c = 1 + c, ((((-0)^NaN)!==(!(Infinity)))<=((25. <=(-0))/(true>>>Infinity)))),
})) && brake29 > 0; --brake29){var brake30 = 5; do {(c = 1 + c, (((0%22)<<(null/(-0)))%((4!=(-42n).toString())<(false*""))));} while ((c = 1 + c, (((3!=(-3))===(24 .toString()>>>"function")) + ((a && (a[(c = 1 + c, ((("bar"*3)*("object"!=="foo"))&&(("b"==="number")==(c = c + 1, "undefined"))))]=((-3)*"undefined")))/("number"||0x26.toString())))) && --brake30 > 0);}
for (var brake32 = 5; (b = a) && brake32 > 0; --brake32){var expr33 = (c = 1 + c, (((a && (a[(c = 1 + c, (c = c + 1, ((undefined==(-1)) + (null&0x26.toString()))))]+=("object">>(-1))))>>(a && ([ a.set ] = [ (([,0].length === 2) - false) ]))) - ((a=(1*"c"))||(a && (a.foo=(([,0].length === 2) - null))))));  for (var key33 in expr33) {c = 1 + c; var a_2 = expr33[key33]; (c = 1 + c, (delete (((key33=(this^2)),(25. ||Number(0XDEADn << 16n | 0xbeefn))))));}}
var b_1 = (({
in: (c = 1 + c, ((((-4) - 25. ) + (2>>25. ))<<((({})^(-42n).toString())>=("object"^"undefined")))),
})[(c = 1 + c, ((b_1=((0>25. )===(23..toString()*null)))>=(("object"<<"function")??(0<<"undefined"))))]), undefined_1 = (undefined_1 && typeof undefined_1.Infinity == "function" && --_calls_ >= 0 && undefined_1.Infinity("a", (c = 1 + c, ((( /[a2][^e]+$/  + "undefined")>>("object">""))>=((undefined_1 && (undefined_1.value+=(2!=({}))))|(1^[])))), (-5)));

 break;

case ((--b) + ([(({
}).set)].in)):
L12235: {
let await_1 = ((((undefined>"object")<=((-3)||"foo"))&((Infinity>>"a")<("object"!==NaN))));

(c = 1 + c, (b_1=(((4>=2),("c">>2)),((await_1 && (await_1[(c = 1 + c, ((undefined_1=((22!==NaN)>=(NaN==undefined)))<<(b_1 && (b_1[((--b) + (22))]&=((this - 0x26.toString())===((-4)||"c"))))))]=("number"<this)))===( /[a2][^e]+$/ !=="object")))));
}

 break;

case ((undefined_1 && (undefined_1[(a++ + (({
set [(c = 1 + c, (((23..toString()<=undefined)==("function"=="a"))<(( /[a2][^e]+$/ >="b") + (c = c + 1, 23..toString()))))](NaN_2){




;
this.b=(4/(-2));
},
})[(a++ + (3))]))]<<=(((true==(-4))^(({}) - 0))>>>(("bar"<(-3))<(22!=4)))))):
{var expr38 = (b = a); L12236:  for (var { length: key38 } in expr38) {c = 1 + c; var foo = expr38[key38]; (c = 1 + c, ((void (([]|"number"))) + ((undefined_1-=("number"==="b"))%(""!==2))));}}
var await_1;

 break;
}
c = c + 1;

/* fall-through */

case (!function bar_1(){





}()):
{var b_1_1 = function f0(){




switch ((c = 1 + c, (b_1=((~(([,0][1]%true)))==(await_1 && (await_1[([(c = 1 + c, (await_1 && (await_1.c+=(((2*4)==(undefined&&1))!=((22<<0x26.toString())<(3 - 24 .toString()))))))][(c = 1 + c, (((3^"function") + (2<(-1)))|((~((-0)))^( /[a2][^e]+$/ <<null))))])]*=(((-5)>=true) + ((-3)*3)))))))) { 
case (c = 1 + c, (b_1 && (b_1.Infinity+=(((Infinity - undefined)*("undefined">>>(-2)))/((({})!=true)/((-3)&[])))))):
;
 break;

case (c = 1 + c, (delete (((25. &"undefined")>>>(delete ("undefined")))))):
;
 break;

case (c = 1 + c, (((undefined=="foo")>>((-3)>>({})))*(("undefined"==2) + (0||"a")))):
;
 break;

default:
;
}

}
(([,0].length === 2));}
if ((undefined_1 && undefined_1[(a++ + (b_1_1 && b_1_1.var))])); else ;

 break;
}

}));  for (var key14 in expr14) {{var brake47 = 5; L12237: do {try {{var expr49 = ((c = c + 1) + ( /[abc4]/g.exec((((--b) + (1 === 1 ? a : b)) || b || 5).toString()) ));  for (var key49 in expr49) {try {{var expr51 = (4);  for (let { length: key51 } in expr51) {c = 1 + c; var foo_2 = expr51[key51]; break L12237;}} } catch (bar_2) { 


if (((c = c + 1) + (a++))){var bar_2 = function f1(await, await_2){




;
}
((c = 1 + c, ((void (( /[a2][^e]+$/ ||"undefined")))!=((false>=undefined)&(bar_2 && (bar_2.get+=(5^"c")))))), (c = 1 + c, (((undefined>>>"undefined")&&(0*this))??(c = c + 1, (key14%=((-1)<(-2)))))));}
 }}} } catch (arguments) { 


{var expr55 = (b &= a);  for (var key55 in expr55) {c = 1 + c; let foo_1 = expr55[key55]; if (((1 === 1 ? a : b)))var a_2 = (function (a_2){




(c = 1 + c, ((("a"===25. )!=(foo_1 && (foo_1.then=(25. =="c"))))%((2!=(-3))&&(24 .toString()===2))));
(c = 1 + c, (((a_2 && (a_2.NaN>>=(true===NaN)))==(null&&"number"))||((1/[])&&(true===5))));
(c = 1 + c, ((!((25. <<(-2))))!==((c = c + 1, "number")^((-3) - (-1)))));

}), arguments_2 = (a_2);}}
 } finally { 


L12238: for (var brake61 = 5; ((--b) + (typeof key14 == "function" && --_calls_ >= 0 && key14("object"))) && brake61 > 0; --brake61)var b = (typeof f2 == "function" && --_calls_ >= 0 && f2``), await_2 = (--/* ignore */b);
 }} while (((c = c + 1) + ((((22^1)&&("number"!=23..toString()))>=(((-1)/"a")|((-0)^3))))) && --brake47 > 0);}}}
if ((b %= a))(a && typeof a.then == "function" && --_calls_ >= 0 && a.then((-0), [,0][1], "c")); else c = c + 1;
 }

console.log(null, a, b, c, Infinity, NaN, undefined);
// !!! uglify failed !!!
Error: cannot reuse AST_Function from [0:187,124]
    at TreeWalker.eval [as callback] (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:435:23)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2563:25)
    at AST_Function.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:988:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1972:24)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Assign.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1970:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1836:22)
    at Array.forEach (<anonymous>)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1835:30)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Sequence.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1834:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1972:24)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Binary.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1970:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:626:23)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_SimpleStatement.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:625:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
    at Array.forEach (<anonymous>)
    at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:680:13)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_BlockStatement.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:679:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:838:23)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_ForIn.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:835:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
    at Array.forEach (<anonymous>)
    at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1527:13)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Catch.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1525:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1500:42)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Try.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1498:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:771:23)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Do.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:770:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:719:23)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_LabeledStatement.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:717:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
    at Array.forEach (<anonymous>)
    at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:680:13)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_BlockStatement.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:679:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:838:23)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_ForIn.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:835:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
    at Array.forEach (<anonymous>)
    at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:680:13)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Finally.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:679:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1501:46)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Try.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1498:17)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
    at Array.forEach (<anonymous>)
    at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
    at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:680:13)
    at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
    at AST_Toplevel.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:679:17)
    at AST_Toplevel.validate_ast (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:433:14)
    at Object.minify (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:25134:44)
    at /Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2567:32
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (/Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2559:20)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47
// reduced test case (output will differ)

// (beautified)
{
    let foo_1;
    if (a) {
        var a_2 = function() {
            foo_1;
        }, arguments_2 = a_2;
    }
}
// minify error: Error: cannot reuse AST_Function from [0:4,18]
//     at TreeWalker.eval [as callback] (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:435:23)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2563:25)
//     at AST_Function.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:988:17)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1972:24)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
//     at AST_Assign.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1970:17)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1836:22)
//     at Array.forEach (<anonymous>)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1835:30)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
//     at AST_Sequence.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1834:17)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1972:24)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
//     at AST_Binary.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:1970:17)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:626:23)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
//     at AST_SimpleStatement.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:625:17)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
//     at Array.forEach (<anonymous>)
//     at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:680:13)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
//     at AST_BlockStatement.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:679:17)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:665:14)
//     at Array.forEach (<anonymous>)
//     at walk_body (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:664:15)
//     at eval (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:680:13)
//     at TreeWalker.visit (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:2564:31)
//     at AST_Toplevel.walk (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:679:17)
//     at AST_Toplevel.validate_ast (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:433:14)
//     at Object.minify (eval at <anonymous> (/Users/runner/work/UglifyJS/UglifyJS/tools/node.js:1:1), <anonymous>:25134:44)
//     at test_minify (/Users/runner/work/UglifyJS/UglifyJS/test/reduce.js:823:22)
//     at reduce_test (/Users/runner/work/UglifyJS/UglifyJS/test/reduce.js:650:16)
//     at log (/Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2265:23)
//     at /Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2644:80
//     at Array.forEach (<anonymous>)
//     at Object.<anonymous> (/Users/runner/work/UglifyJS/UglifyJS/test/ufuzz/index.js:2559:20)
//     at Module._compile (node:internal/modules/cjs/loader:1198:14)
//     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
//     at Module.load (node:internal/modules/cjs/loader:1076:32)
//     at Function.Module._load (node:internal/modules/cjs/loader:911:12)
//     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
//     at node:internal/main/run_main_module:22:47
// options: {
//   "ie": true,
//   "module": false,
//   "output": {
//     "semicolons": false,
//     "v8": true
//   },
//   "toplevel": true,
//   "validate": true
// }
minify(options):
{
  "ie": true,
  "module": false,
  "output": {
    "semicolons": false,
    "v8": true
  },
  "toplevel": true
}

Suspicious compress options:
  conditionals
  join_vars
  reduce_vars
  unused

Suspicious options:
  toplevel
@alexlamsl alexlamsl added the bug label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant