ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

Assertion failure in Backend/ValueInfo.cpp

Open zhunki opened this issue 3 years ago • 0 comments

the following poc cause a assertion failure in "debug" build on ubuntu.

function main() {
do {
    let v4 = 0;
    const v6 = `
        for (let v12 = 1; v12 < -1683432796; v12 = v12 || 1) {
        }
    `;
    const v23 = eval(v6);
    for (let v26 = 0; v26 != 9; v26++) {
        switch (v4) {
        case -3290630866:
            break;
        case v26:
            break;
        case -3290630866:
        }
    }

} while (0 !== 6);

}
main();

zhunki avatar Dec 28 '21 06:12 zhunki