Modify

Opened 5 years ago

#1611 new enhancement

Support Valgrind in Carpet/CarpetLib's poison code

Reported by: Roland Haas Owned by: Erik Schnetter
Priority: minor Milestone:
Component: Carpet Version: development version
Keywords: Cc:

Description

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).

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Erik Schnetter.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Erik Schnetter to the specified user.
Next status will be 'confirmed'.
The owner will be changed from Erik Schnetter to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.