Closed radare closed 7 years ago
The library constructor must be called
Isn't it called by the loader automatically?
Not sure if in all platforms works the same when calling dlopen
On 13 Oct 2015, at 08:39, Judge_Dredd notifications@github.com wrote:
The library constructor must be called
Isn't it called by the loader automatically?
— Reply to this email directly or view it on GitHub.
we can use frida for this, maybe move to extras and r2pm?
My experience says that .init section/_init func/so constructor are called always. The difficult part is to avoid get them called xD
This can be done with r2frida, we can consider this an offtopic for r2 because it can be done by hand already by a plugin or using external tools like r2frida.
Like LD_LIBRARY_PATH, but at runtime, this is common injection technique on Windows. The library constructor must be called