Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Linux Loader Lock / loader int __attribute__((constructor))

Current License: CC BY-SA 4.0

8 events
when toggle format what by license comment
May 16, 2025 at 21:55 answer added SHG timeline score: 3
May 16, 2025 at 20:23 comment added Craig Estey You may want to set LD_DEBUG so you can have the ELF interpreter tell you what it's doing
May 16, 2025 at 16:27 comment added Ingo Leonhardt maybe you can simply create test.so with -lwow instead of loading libwow.so by dlopen(). Then you could even use the symbols of libwow.so directly.. But of course that could be in contradiction to what you intend to test with test.so
May 16, 2025 at 15:26 comment added rakib_ You have to make sure your constructor function is part of the .init section. Can you check with readelf if it is?
May 16, 2025 at 12:20 comment added Erdal Küçük If dlopen fails, what does dlerror tell you?
May 16, 2025 at 11:46 comment added Lundin If executing from within the constructor is the problem, would it work to outsource the loading to another thread which loads the other library?
S May 16, 2025 at 10:31 review First questions
May 16, 2025 at 11:56
S May 16, 2025 at 10:31 history asked 정한호 CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /