You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK when a ashared library is loaded, its symbols can be defined as a constructor (in C it is done with __attribute__((__constructor__)) (under GCC). This lets you run any code once the linker finished loading stuff.
What I propose is instead of hooking some function like strrchr, we simply define some entrypoint as a constructor (possibly by post-processing the ELF binary).
The text was updated successfully, but these errors were encountered:
AFAIK when a ashared library is loaded, its symbols can be defined as a constructor (in C it is done with
__attribute__((__constructor__))
(under GCC). This lets you run any code once the linker finished loading stuff.What I propose is instead of hooking some function like
strrchr
, we simply define some entrypoint as a constructor (possibly by post-processing the ELF binary).The text was updated successfully, but these errors were encountered: