llvm::MemorySanitizerOptions::MemorySanitizerOptions

Constructors

Synopses

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

Parameters

NameDescription
TrackOriginsOrigin-tracking depth (0 disables tracking).
RecoverContinue after detecting an error instead of terminating.
KernelInstrument for KernelMemorySanitizer instead of user-space MSan.
EagerChecksEnable early checks on function arguments.