How does valgrind work internally?

Daniel William

New member
How does valgrind work internally?
Answer
Valgrind works by doing a just-in-time (JIT) translation of the input program into an equivalent version that has additional checking. For the memcheck tool, this means it literally looks at the x86 code in the executable, and detects what instructions represent memory accesses.
 

Tìm kiếm

Back
Top