I\'m trying to figure out a way to globally override malloc and related functions in visual c++ (2005). My setup is a dll with statically linked runtime library that consist
You can use Detours from Microsoft (pay for commercial) or rewrite the import tables for the dlls you use.