ladybird/Userland
Daniel Bertalan fd3e3d5e28 LibC+Kernel: Prevent string functions from calling themselves
Most of the string.h and wchar.h functions are implemented quite naively
at the moment, and GCC's pattern recognition pass might realize what we
are trying to do, and transform them into libcalls. This is usually a
useful optimization, but not when we're implementing the functions
themselves :^)

Relevant discussion from the GCC Bugzilla:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102725

This prevents the infamous recursive `strlen`.

A more proper fix would be writing these functions in assembly. That
would likely give a small performance boost as well ;)
2022-05-12 13:12:37 +02:00
..
Applets LibAudio+Userland: Use new audio queue in client-server communication 2022-04-21 13:55:00 +02:00
Applications PixelPaint: Fix incorrect use of RefCounted CRTP 2022-05-12 13:12:37 +02:00
Demos Userland: Set tab-widget properties in GML instead of code 2022-05-11 20:16:43 +02:00
DevTools UserspaceEmulator: Delegate rounding to the actual hardware 2022-05-07 20:27:05 +02:00
DynamicLoader LibC+Kernel: Prevent string functions from calling themselves 2022-05-12 13:12:37 +02:00
Games Pong: Explicitly clear held keys in Game::reset() 2022-04-15 00:13:09 +02:00
Libraries LibC+Kernel: Prevent string functions from calling themselves 2022-05-12 13:12:37 +02:00
Services AK+DHCPClient: Fix false positive gcc 12 warnings 2022-05-12 13:12:37 +02:00
Shell Shell: Highlight commands with a hyperlink to open their help pages 2022-04-21 09:12:37 +04:30
Utilities xml: Avoid UAF in Error return from serenity_main() 2022-05-08 16:34:58 +02:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00