[Insight-developers] Missing ITK Valgrind? : Looking for Volunteers
Sean McBride
sean at rogue-research.com
Thu May 21 17:53:43 EDT 2009
On 5/20/09 4:05 PM, kent williams said:
>Yeah. Valgrind works by tracking every variable mentioned in a program's
>symbol table. In order to check every memory access, it's running an
>interpreter that simulates a real-mode x86 CPU, so that every machine
>instruction is checked for what memory it reads and writes.
>
>Given that you're running the CPU in software with, a bunch of extra
>book-keeping, and hacking up malloc-level heap management so that out of
>bounds writes and reads are detected in dynamically allocated memory, 80x
>slowdown isn't that bad.
Doesn't this cause the tests to timeout? Do you need to raise the
timeouts ridiculously high?
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the Insight-developers
mailing list