ladybird/Userland/Libraries/LibJS
Luke Wilde 2f3ebce7c8 LibJS: Keep GeneratorObject's stored execution context's internals alive
This would previously crash with a heap UAF when storing the result of
`yield 1` into `e` on the second `next` call:
```js
function* a() { const e = yield 1; }
b = a();
b.next();
gc();
b.next();
```
2022-12-12 13:58:32 +00:00
..
Bytecode LibJS/Bytecode: Implement yield* 2022-12-10 00:21:10 +00:00
Contrib/Test262
Heap
Runtime LibJS: Keep GeneratorObject's stored execution context's internals alive 2022-12-12 13:58:32 +00:00
Tests LibJS: Use ToPropertyKey AO for computed member expression value 2022-12-10 01:08:34 +00:00
AST.cpp LibJS: Use ToPropertyKey AO for computed member expression value 2022-12-10 01:08:34 +00:00
AST.h LibJS: Call shrink_to_fit() on various Vectors created during parse 2022-12-08 23:36:17 +00:00
CMakeLists.txt LibJS: Move ExecutionContext function implementations out of line 2022-12-12 13:58:32 +00:00
Console.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
Console.h
CyclicModule.cpp
CyclicModule.h
Forward.h
Interpreter.cpp WebContent+LibWeb+LibJS: Simplify injection of JS console globals 2022-12-09 18:51:03 +00:00
Interpreter.h WebContent+LibWeb+LibJS: Simplify injection of JS console globals 2022-12-09 18:51:03 +00:00
Lexer.cpp
Lexer.h
MarkupGenerator.cpp LibJS: Convert MarkupGenerator to the new String 2022-12-07 09:58:38 +00:00
MarkupGenerator.h LibJS: Convert MarkupGenerator to the new String 2022-12-07 09:58:38 +00:00
Module.cpp
Module.h
Parser.cpp LibJS: Call shrink_to_fit() on various Vectors created during parse 2022-12-08 23:36:17 +00:00
Parser.h
ParserError.cpp
ParserError.h
Print.cpp Everywhere: Use C++ concepts instead of requires clauses 2022-12-09 11:25:30 +00:00
Print.h
SafeFunction.h
Script.cpp
Script.h
SourceCode.cpp
SourceCode.h
SourceRange.h
SourceTextModule.cpp
SourceTextModule.h
SyntaxHighlighter.cpp
SyntaxHighlighter.h
SyntheticModule.cpp LibJS: Replace standalone js_string() with PrimitiveString::create() 2022-12-07 16:43:06 +00:00
SyntheticModule.h
Token.cpp
Token.h