serenity/Tests
Daniel Bertalan 2b69af2dfe AK+LibJS: Handle NaN-boxing pointers on AArch64
JS::Value stores 48 bit pointers to separately allocated objects in its
payload. On x86-64, canonical addresses have their top 16 bits set to
the same value as bit 47, effectively meaning that the value has to be
sign-extended to get the pointer. AArch64, however, expects the topmost
bits to be all zeros.

This commit gates sign extension behind `#if ARCH(X86_64)`, and adds an
`#error` for unsupported architectures, so that we do not forget to
think about pointer handling when porting to a new architecture.

Fixes #15290
Fixes SerenityOS/ladybird#56
2022-09-21 11:55:57 +02:00
..
AK AK: Fix bad parsing of some file:/// URLs with base URL 2022-09-20 15:38:53 +02:00
Kernel Kernel/Tests: Don't compile x86 IO for non-x86 builds 2022-09-20 18:43:05 +01:00
LibAudio Meta+Tests: Allow running FLAC spec tests 2022-09-02 23:54:50 +01:00
LibC Tests: Move the former LibM test into the LibC namespace 2022-09-16 16:09:19 +00:00
LibCompress LibCompress+Tests: Demonstrate and fix faulty metadata length 2022-09-17 04:10:11 +00:00
LibCore LibCore: Implement four-digit modes for FilePermissionsMask parsing 2022-07-27 21:45:01 +00:00
LibCpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibCrypto LibCrypto: Add a constructor to (Un)SignedBigInteger taking a double 2022-08-26 19:18:26 +01:00
LibEDID LibEDID: Fix handling extension maps 2022-01-24 19:29:06 +00:00
LibELF LibC: Remove the LibDl interface target 2022-09-05 10:12:02 +01:00
LibGfx Tests: Update TestFontHandling and add new test 2022-08-04 02:54:00 +02:00
LibGL LibGL: Make GL::create_context fallible 2022-09-16 15:32:38 +02:00
LibIMAP Tests: Convert TestQuotedPrintable decode test to use StringViews 2022-07-12 23:11:35 +02:00
LibJS AK+LibJS: Handle NaN-boxing pointers on AArch64 2022-09-21 11:55:57 +02:00
LibLocale LibLocale: Move locale source files to the LibLocale library 2022-09-05 14:37:16 -04:00
LibMarkdown Tests: Add a test for markdown image sizes 2022-08-04 02:49:29 +02:00
LibPDF Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibRegex LibRegex: Account for eof after \<x> when 'x' leads to legacy behaviour 2022-09-12 16:03:57 +04:30
LibSQL Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibTextCodec Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibThreading LibC: Remove the LibPthread interface target 2022-07-19 11:00:35 +01:00
LibTimeZone LibTimeZone: Fix tests when ENABLE_TIME_ZONE_DATABASE_DOWNLOAD is OFF 2022-08-25 16:20:22 +01:00
LibTLS Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibTTF LibGfx: Move TTF files from TrueTypeFont/ to Font/TrueType/ 2022-04-09 23:48:18 +02:00
LibUnicode LibLocale: Move locale source files to the LibLocale library 2022-09-05 14:37:16 -04:00
LibWasm LibJS: Move intrinsics to the realm 2022-08-27 11:29:10 +01:00
LibWeb Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
LibXML Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Spreadsheet LibUnicode+Userland: Migrate generated CLDR data to LibLocaleData 2022-09-05 14:37:16 -04:00
UserspaceEmulator Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
CMakeLists.txt Tests: Move the former LibM test into the LibC namespace 2022-09-16 16:09:19 +00:00