1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-19 14:51:00 +00:00
serenity/Userland
Tim Schumacher 082a7baa3b LibELF: Check if initializers ran instead of trusting s_global_objects
The original heuristic of "a library being in `s_global_objects` means
that it was fully initialized already" doesn't hold up anymore since we
changed the loading order. This was causing us to skip parts of the
initialization of dependency libraries when running dlopen (since it was
the only user of that setting).

Instead, set a flag after we run stage 4 (which is the "run the global
initializers" stage) and check that flag when determining unfinished
dependencies. This entirely replaces the `skip_global_objects` logic.
2022-06-24 11:28:05 +01:00
..
Applets Applets: Use spawn_or_show_error() for common spawn pattern 2022-06-03 12:29:56 +01:00
Applications Terminal+TerminalSettings: Add caret customization 2022-06-22 12:12:00 +01:00
Demos LibGUI: Add layout spacer support to GML 2022-06-10 21:26:06 +01:00
DevTools HackStudio: Add "Open in New Tab" context menu entry 2022-06-16 12:55:14 +01:00
DynamicLoader LibC+Kernel: Prevent string functions from calling themselves 2022-05-12 13:12:37 +02:00
Games Userland+Base: Remove Breakout and Pong games 2022-06-15 17:15:04 +02:00
Libraries LibELF: Check if initializers ran instead of trusting s_global_objects 2022-06-24 11:28:05 +01:00
Services AudioServer: Reduce hardware audio buffer to 512 samples 2022-06-23 23:26:33 +01:00
Shell LibCodeComprehension: Re-organize code comprehension related code 2022-05-21 18:15:58 +02:00
Utilities Keymap: Fix switching selected keymap 2022-06-16 14:58:43 +01:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00