[ET Trac] [Einstein Toolkit] #1611: Support Valgrind in Carpet/CarpetLib's poison code
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Mon May 5 13:14:51 CDT 2014
#1611: Support Valgrind in Carpet/CarpetLib's poison code
-------------------------+--------------------------------------------------
Reporter: rhaas | Owner: eschnett
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Carpet | Version: development version
Keywords: |
-------------------------+--------------------------------------------------
Valgrind offers client requests (http://valgrind.org/docs/manual/mc-
manual.html#mc-manual.clientreqs) that can be used to flag a region of
memory as undefined (VALGRIND_MAKE_MEM_UNDEFINED).
It may be useful for Carpet to mark regions that it poisons as undefined
so that Valgrind triggers on them. Right now poisoning "initializes" the
data as far as valgrind is concerned. Also cycling timelevels does not
mark them as invalid as far as valgrind is concerned.
I would envision an ExternalLibrary valgrind that provides an interface
that Carpet can use (or just have Carpet check HAVE_VALGRIND).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/1611>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list