Hi all,
I want to modify MemCheck to add one more feature to meet my own need. Yet I
can't find enough technical documents to support that. And it is hard to look
over source code to understand the mechanism. I have read the manuals of
Valgrind and MemCheck, yet they lack enough details and
Hi all,
I learned valgrind for several weeks and now I want to write my tool. I want to
keep the track of pointers derived from heap block, which is similar to
exp-ptrCheck. While it is hard for me to understand the IR representations of
valgrind. I checked PtrCheck's instrumentation function
Hi all,
I want to instrument on every return of every functions. That is to say, I want
to do something just before the return of functions and also do something after
the return of functions. I know some simple instrumentations on IRs, yet I have
no idea how to implement that instrumentation.
Hi all,
Recently I am trying to understand the mechanism of ptrcheck, which can detect
the incorrect heap reference. There is one statements in manual, Ptrcheck
keeps
track of which heap block (if any) it was derived from. I thought that it
means
every pointer has an associated struct (or
Hi all,
I am designing a tool based on valgrind. I saw in store and load IR
instructions the addr and data are usually IRTemp type. And if I tried to print
them, it only printed the t1, t2 or something like that in the cmd. I want to
know the exact content contained in those temps, how can I