Re: [Valgrind-users] C++ function wrapping and other questions

2009-06-24 Thread Julian Seward
> > BTW, I am assuming that there is no limitation on the signature of the > > orignal function with regards to doing I_WRAP_SONAME_FNNAME_ZZ (as there > > are for CALL_FN_*_*) - the manual doesn't call out explicitly. > > As far as I know there are no such limitations. There are -- you can only

Re: [Valgrind-users] C++ function wrapping and other questions

2009-06-23 Thread Nicholas Nethercote
On Wed, Jun 24, 2009 at 2:49 PM, Venky Venkatesh (venky) wrote: > > [VV]: the original functions that I want to wrap (and call from the > wrapper via an if-then-else) do not have the standard set of supported > signatures (I mean the CALL_FN_*_*). With this limitation, I cannot call > the original

Re: [Valgrind-users] C++ function wrapping and other questions

2009-06-23 Thread Venky Venkatesh (venky)
e: [Valgrind-users] C++ function wrapping and other > questions > > On Wed, Jun 24, 2009 at 12:47 PM, Venky Venkatesh > (venky) wrote: > > Nick, > > Thanks for the prompt response. > > I would very much like your input on one of the other > question in my >

Re: [Valgrind-users] C++ function wrapping and other questions

2009-06-23 Thread Nicholas Nethercote
On Wed, Jun 24, 2009 at 12:47 PM, Venky Venkatesh (venky) wrote: > Nick, > Thanks for the prompt response. > I would very much like your input on one of the other question in my > original mail (reproduced below) -- I am looking for *any* strategies to > solve the problem at hand using valgrind: >

Re: [Valgrind-users] C++ function wrapping and other questions

2009-06-23 Thread Venky Venkatesh (venky)
..@gmail.com] > Sent: Monday, June 22, 2009 11:53 PM > To: Venky Venkatesh (venky) > Cc: valgrind-users@lists.sourceforge.net > Subject: Re: [Valgrind-users] C++ function wrapping and other > questions > > On Tue, Jun 23, 2009 at 12:57 PM, Venky wrote: > > i am new to

Re: [Valgrind-users] C++ function wrapping and other questions

2009-06-22 Thread Nicholas Nethercote
On Tue, Jun 23, 2009 at 12:57 PM, Venky wrote: > i am new to valgrind and was planning to use valgrind function wrapping for > testing my system (particularly to hit the error and rare cases in the system > which are hard to occur). here are a couple of questions: > #1. all examples i saw in the do

[Valgrind-users] C++ function wrapping and other questions

2009-06-22 Thread Venky
hi, i am new to valgrind and was planning to use valgrind function wrapping for testing my system (particularly to hit the error and rare cases in the system which are hard to occur). here are a couple of questions: #1. all examples i saw in the documentation are with C functions. There is a men