Re: [Valgrind-users] valgrind IR and super blocks

2020-06-29 Thread Derrick McKee
ng in order to operate on a > traditional super block? > > Thank you > Mark Roberts > > > ___ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users

Re: [Valgrind-users] Invalid read of size 1

2020-06-07 Thread Derrick McKee
It looks like you're using a pointer that has been freed some time earlier. On Sun, Jun 7, 2020, 10:52 James Read wrote: > I'm getting a series of Invalid read of size 1 errors. These seem to be > related to strlen() calls. How is it possible for strlen() to make an > invalid read? > > Here is m

Re: [Valgrind-users] Help understanding some valgrind output

2020-06-04 Thread Derrick McKee
Oh sorry, you're trying to write 8201 bytes into an 8200 byte buffer. On Thu, Jun 4, 2020, 22:36 Derrick McKee wrote: > It looks like html_link_find is allocating a buffer of size 0, and then > you are trying to write 1 byte to it. > > On Thu, Jun 4, 2020, 22:28 James Read wr

Re: [Valgrind-users] Help understanding some valgrind output

2020-06-04 Thread Derrick McKee
It looks like html_link_find is allocating a buffer of size 0, and then you are trying to write 1 byte to it. On Thu, Jun 4, 2020, 22:28 James Read wrote: > Here is my valgrind output that I don't understand: > > ==319842== Invalid write of size 1 > ==319842==at 0x48436E4: mempcpy (in > /usr

Re: [Valgrind-users] How to disable leak check from inside a program

2020-05-22 Thread Derrick McKee
is something that anyone else has ever requested ? > > Regards, > Monty > > > ___ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-use

[Valgrind-users] Load a shared library into client address space

2020-05-12 Thread Derrick McKee
program that just calls dlopen(), but then I would need a way to track the dlopen() call. Any ideas? Thanks. -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gmail.com ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net

[Valgrind-users] Translated instruction doesn't get executed

2020-04-06 Thread Derrick McKee
state for 0x112e42 (quote_name_buf) ==273360== Recording state for 0x112e42 (quote_name_buf) ==273360== Recording state for 0x124a11 (get_quoting_style) -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gmail.com ___ Valgrind-users ma

[Valgrind-users] VG_(exit) not properly releasing BigLock after VG_(fork)

2020-03-16 Thread Derrick McKee
assume the VG_(exit) would release any held locks, however I am not sure if there is a reason for not doing this. If it is a bug, I would be happy to make a bug report for this, along with a minimal example. -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gmail.com

Re: [Valgrind-users] Calling arbitrary guest functions

2020-03-05 Thread Derrick McKee
tidyup > in coregrind/m_main.c. > > final_tidyup is calling some client code part of malloc library. > > Philippe > > > On Thu, 2020-03-05 at 11:27 -0500, Derrick McKee wrote: > > My intent is to write a tool that waits for another process to write > > client add

Re: [Valgrind-users] Calling arbitrary guest functions

2020-03-05 Thread Derrick McKee
ontract), but that seemingly didn't work either. Any other thoughts, or is this just something I cannot do with valgrind? On Tue, Mar 3, 2020 at 11:01 AM Derrick McKee wrote: > > I am also interested in instrumenting the guest binary, as well as > change which guest function I e

Re: [Valgrind-users] Write new tool in C++?

2020-03-04 Thread Derrick McKee
Thanks for the response. That's what I am seeing in my initial test, as I am getting undefined reference errors to std::cout during linking. On Wed, Mar 4, 2020 at 10:16 AM Tom Hughes wrote: > > On 04/03/2020 14:46, Derrick McKee wrote: > > > Is it possible to write a tool

[Valgrind-users] Write new tool in C++?

2020-03-04 Thread Derrick McKee
Hi, Is it possible to write a tool using C++ instead of just C? -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gmail.com ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo

Re: [Valgrind-users] Calling arbitrary guest functions

2020-03-03 Thread Derrick McKee
; Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gmail.com ___ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users

[Valgrind-users] Calling arbitrary guest functions

2020-03-03 Thread Derrick McKee
Hi, I am trying to make a tool that intercepts the call to main, and then call an arbitrary function within the guest with arbitrary function arguments. Is this possible? Thanks. -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gmail.com

[Valgrind-users] Valgrind master fails to compile

2020-03-01 Thread Derrick McKee
_extent In file included from ../../mpi/libmpiwrap.c:116: ../../mpi/libmpiwrap.c: In function ‘walk_type’: ../../mpi/libmpiwrap.c:736:17: error: expected expression before ‘_Static_assert’ 736 | if (ty == MPI_LB || ty == MPI_UB) -- Derrick McKee Phone: (703) 957-9362 Email: derrick.mc...@gma