1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-18 08:42:28 +00:00
serenity/Userland/Libraries/LibJS
Daniel Bertalan fd76e71934 LibJS: Fix UB in Math.clz32
If the argument to this function is greater then or equal to 2^32, the
`double` => `u32` cast produces undefined behavior, which Clang catches.
To fix this, we now use `ToUint32` for getting the integer argument, as
specified by ECMA-262.
2021-08-08 10:55:36 +02:00
..
Bytecode LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
Heap LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
Runtime LibJS: Fix UB in Math.clz32 2021-08-08 10:55:36 +02:00
Tests LibJS: Implement Temporal.Instant.prototype.subtract() 2021-08-07 13:10:35 +01:00
AST.cpp LibJS: Parse RegExp literals at AST creation time, not execution time 2021-07-30 21:26:31 +01:00
AST.h LibJS: Parse RegExp literals at AST creation time, not execution time 2021-07-30 21:26:31 +01:00
CMakeLists.txt LibJS: Start implementing Temporal.ZonedDateTime 2021-08-01 20:31:31 +01:00
Console.cpp
Console.h
Forward.h LibJS: Start implementing Temporal.ZonedDateTime 2021-08-01 20:31:31 +01:00
Interpreter.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
Interpreter.h
Lexer.cpp LibJS: Implement parsing and evaluation for AssignmentPatterns 2021-07-11 21:41:54 +01:00
Lexer.h
MarkupGenerator.cpp LibJS: Remove unused includes out of Cell.h, move to the users 2021-08-01 08:10:16 +02:00
MarkupGenerator.h
Parser.cpp Userland: Make use of container version of any_of 2021-08-02 00:37:18 +02:00
Parser.h LibJS: Handle strict mode for functions more correctly 2021-07-20 23:45:28 +02:00
SourceRange.h LibJS: Implement parsing and evaluation for AssignmentPatterns 2021-07-11 21:41:54 +01:00
SyntaxHighlighter.cpp LibJS: Remove unused header includes 2021-08-01 08:10:16 +02:00
SyntaxHighlighter.h
Token.cpp LibJS: Decode UTF-16 surrogate pairs during string literal construction 2021-08-04 11:18:24 +02:00
Token.h LibJS: Implement parsing and evaluation for AssignmentPatterns 2021-07-11 21:41:54 +01:00