mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
![]() IFUNC is a GNU extension to the ELF standard that allows a function to have multiple implementations. A resolver function has to be called at load time to choose the right one to use. The PLT will contain the entry to the resolved function, so branching and more indirect jumps can be avoided at run-time. This mechanism is usually used when a routine can be made faster using CPU features that are available in only some models, and a fallback implementation has to exist for others. We will use this feature to have two separate memset implementations for CPUs with and without ERMS (Enhanced REP MOVSB/STOSB) support. |
||
---|---|---|
.. | ||
Arch | ||
AuxiliaryVector.h | ||
CMakeLists.txt | ||
Core.h | ||
DynamicLinker.cpp | ||
DynamicLinker.h | ||
DynamicLoader.cpp | ||
DynamicLoader.h | ||
DynamicObject.cpp | ||
DynamicObject.h | ||
Hashes.h | ||
Image.cpp | ||
Image.h | ||
Relocation.cpp | ||
Relocation.h | ||
Validation.cpp | ||
Validation.h |