Open Collective
Open Collective
Loading
3.2.0 version
Published on February 5, 2022 by timofey kachalov

The brand-new 3.2.0 version has been released!
It contains an amazing new option stiringArrayCallsTransform that allows extracting all indexes from string array calls to separate objects as controlFlowFlattening does.

This option is disabled by default, so don't forget to enable it.

Example:
function b(c, d) {
    var e = a();
    b = function (f, g) {
        f = f - 0x19e;
        var h = e[f];
        return h;
    };
    return b(c, d);
}
function foo() {
    var i = {
        c: 0x82,
        d: '0x2b5',
        e: 0x3d2,
        j: 0x3d3,
        k: '0x11d',
        l: 0x11b
    };
    function f(c, d) {
        return b(c - -i.c, d);
    }
    var c = f(i.k, i.l);
    function d() {
        function g(c, d) {
            return f(d - i.d, c);
        }
        var e = g(i.e, i.j);
        return e;
    }
    return c + d();
}
function h(c, d) {
    var j = { c: 0x2ef };
    return b(c - -j.c, d);
}
function a() {
    var k = [
        'log',
        'bar',
        'baz'
    ];
    a = function () {
        return k;
    };
    return a();
}
console[h(-0x151, -0x151)](foo());

Have fun with it!