Constructors
Declared in <llvm/Transforms/Instrumentation/MemorySanitizer.h>
Construct options with all features disabled.
MemorySanitizerOptions();
» more...
Construct options with the given origin-tracking, recovery, and kernel settings.
MemorySanitizerOptions(
int TrackOrigins,
bool Recover,
bool Kernel);
» more...
Construct options with the given instrumentation settings.
MemorySanitizerOptions(
int TrackOrigins,
bool Recover,
bool Kernel,
bool EagerChecks);
» more...
| Name | Description |
|---|---|
| TrackOrigins | Origin-tracking depth (0 disables tracking). |
| Recover | Continue after detecting an error instead of terminating. |
| Kernel | Instrument for KernelMemorySanitizer instead of user-space MSan. |
| EagerChecks | Enable early checks on function arguments. |