@RichFelker quick question, does dladdr in musllibc search local symbols? Im failing to understand http://git.musl-libc.org/cgit/musl/tree/ldso/dynlink.c …
@MarkVillacampa Local symbols are debug info, not part of the loaded program, & even if we could see them, strip would change behavior.
-
-
@RichFelker I see. Trying to solve a case where I need to satisfy: able to retrieve symbol name with dladdr & symbol name can be duplicatedThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@RichFelker It's easy in mach-o since dladdr searches local symbols: https://github.com/opensource-apple/dyld/blob/195030646877261f0c8c7ad8b001f52d6a26f514/src/ImageLoaderMachOCompressed.cpp#L1558-L1585 … -
@RichFelker any idea how to achieve this in ELF? -
@MarkVillacampa Replace the local symbols with public ones, with a suitable prefix not to pollute namespace horribly. -
@RichFelker will try that, thanks! :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.