ChakraCore
ChakraCore copied to clipboard
ChakraCore is an open source Javascript engine with a C API.
**Changes For** CVE-2021-42279: Chakra Scripting Engine Memory Corruption Vulnerability. CVE-2021-42279 is a high-severity memory corruption vulnerability affecting the Chakra Scripting Engine and ChakraCore. The vulnerability stems from an out-of-bounds write,...
``` $ bash ./build.sh Warning: Installation script couldn't detect host OS.. Build path: /work/ChakraCore/out/Release Compile Target : System Default Generating Release build CMake Warning: Ignoring extra path from command line:...
Replacing the `a` in `var` with a unicode escape of ASCII `a` (`\u0061`) yields `v\u0061r` in place of this keyword. ``` ## Source print((function () { v\u0061r a = 1;...
Hello, running following code in ch 1.11.19 debug version. An Assertion will be throw. ``` 'use strict'; function func(b, c) { b[0] = c; } function main() { let b...
### Operating System MacOs (not sure) ### Compiler not sure ### ChakraCore Version ShortDevelopment:feat-optional-chaining ### Compiler output ```shell CMake Error at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 has been...
### ChakraCore Version e26c81f ### Steps to reproduce The code will crash in debug builds. ### Proof of concept ```js async function test() { var i8 = new Int8Array(256); var...
### ChakraCore Version 36becec ### Steps to reproduce When using the `RegExp` constructor to create a regular expression with the `u` flag, if the pattern contains an octal escape sequence...
### ChakraCore Version 36becec ### Steps to reproduce When executing code containing the `String.prototype.replaceAll` method, a `TypeError: Object doesn't support property or method 'replaceAll'` occurs. ### Proof of concept ```js...
### ChakraCore Version 36becec ### Steps to reproduce When I use the 'print()' method to output an array containing a specific double-precision floating-point number, there is an unexpected rounding error...