View Single Post
Old 2012-03-30, 09:32   #9
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·2,399 Posts
Default

Quote:
Originally Posted by ldesnogu View Post
This type of thing can be done for programs that use shared libraries: you create a fake library that implements the function you want to override. This is probably applicable in this case, but not trivial.

Here is an example.
I think I see what you mean, create a new "library" with a function of the same name as above that returns 2.0?

Either way, you'd still have to recompile it, right? And if so, then there's probably a safer workaround anyways.
Dubslow is offline   Reply With Quote