View source code
Display the source code in etc/valgrind/valgrind.d from which this page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone.

Module etc.valgrind.valgrind

D wrapper for the Valgrind client API. Note that you must include this file into your program's compilation and compile with -debug=VALGRIND to access the declarations below.

Functions

NameDescription
disableAddrReportingInRange(mem) Disable and re-enable reporting of addressing errors in the address range covered by mem.
enableAddrReportingInRange(mem) Disable and re-enable reporting of addressing errors in the address range covered by mem.
getVBits(mem, bits) Get the validity data for the address range covered by mem and copy it into the provided bits array.
makeMemDefined(mem) Similarly, mark memory covered by mem as addressable and defined.
makeMemNoAccess(mem) Mark the memory covered by mem as unaddressable.
makeMemUndefined(mem) Similarly, mark memory covered by mem as addressable but undefined.
setVBits(mem, bits) Set the validity data for the address range covered by mem, copying it from the provided bits array.

Authors

License