|
From: Robert W. <rj...@du...> - 2004-06-07 06:40:40
|
> Not necessarily; AIUI, V has a mechanism whereby if it's told to > translate some code that in at the start of a particular function which i= t > wants to intercept, it doesn't translate the original but translates its > own version instead. But I could be wrong... Yup - that's what it does. Look in coregrind/vg_symtab2.c for VG_(add_redirect_addr) and VG_(add_redirect_sym). I've not tried this with symbols or addresses from static libraries, but in theory it should work. Regards, Robert. --=20 Robert Walsh Amalgamated Durables, Inc. - "We don't make the things you buy." Email: rj...@du... |