Displaying 1 result from an estimated 1 matches for "db8dcea3".
2017 Jan 08
3
Weak symbol function in shared library and strong symbol function in main problem
Hi,
I have a pass that add a function in the module where the “main” is. Then, I have the same function declared as weak symbol in a shared library that I load at runtime with LD_PRELOAD.
When I run a program the weak symbol function gets called over the function was added by the pass.
Is it a correct behavior? Is there a way to call the strong symbol function when it’s present in the module?
In