Hello everyone!
I have a third-party executable and want to patch some of its internal functions (not imported from any library).
For this I create my own library with those rewritten methods and they could be called from executable with dlopen and dlsym. Unfortunately, the imports of executable does not have the dlopen and dlsym methods.
After some searching I found this project and planned to use the --add-needed option.
It only adds my library to the executable, but not its exported functions.
So, how do I call them from the executable?