|
From: Robert W. <rj...@du...> - 2008-12-13 04:03:49
|
Sadly, no. Valgrind shares the address space of the guest process, which would mean libc would get linked into the address space twice. There's no telling how libc would react to that. Regards, Robert. On Dec 12, 2008, at 6:33 PM, "Igor Shaul" <min...@gm...> wrote: > Hi, > I would like to write a valgrind tool that uses the standard c > library (actually, I must link my tool to another library, which > happens to use stdlib). I noticed that all the tools link with - > nodefaultlibs flag, and if said flag is removed, then naturally no > main() is found (stdlib requires a main). So, is there a natural way > to use stdlib in my valgrind tool? > > Thank you, > Igor > --- > --- > --- > --------------------------------------------------------------------- > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, > Nevada. > The future of the web can't happen without you. Join us at MIX09 to > help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |