chakra-core / chakra-core/ChakraCore
Assertion failure in Backend/ValueInfo.cpp
Open
- Dominant language
- JavaScript
- Stars
- 9.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
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();
```
Contributor guide
Assessment
This issue has not been assessed yet.