|
From: Gyanesh S. <gya...@gm...> - 2013-01-22 07:55:56
|
On Jan 22, 2013 10:45 AM, "janjust" <tja...@un...> wrote: > Hi Group, > I have applied a malloc wrapper patch made available here > < > http://valgrind.10908.n7.nabble.com/Patch-to-add-malloc-wrappers-tt43652.html > > > ) to test my own malloc library. Very useful functionality that adds a > VG_(needs_malloc_wrap) similar to replacing VG_(needs_malloc_replacements). > It works great with the glibc malloc, however; I have a simple > liballocator.so shared libary for my application. It's just a test really > to > see it work. > > The question is: How do I make Valgrind aware to look for that particular > library? > > I looked at the option --soname-synonym=somalloc=?, but I'm very confused > as > to how to redirect valgrind to the approapriate library. Any ideas or hints > that could help me look in the right direction? I looked at > pub_tool_redir.h > but I'm not sure what I'm exactly looking for either. > In addition to setting that properly is there anything else that I need to > do to get that to work? > > Thanks! > > > > > > -- > View this message in context: > http://valgrind.10908.n7.nabble.com/soname-synonym-replace-libcmalloc-tp43829.html > Sent from the Valgrind - Users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users > |