sanitizers

Module msan

Source

Functionsยง

  • Tell MSan about newly allocated memory (ex.: custom allocator).
  • Checks that memory range is fully initialized, and reports an error if it is not.
  • Update shadow for the application copy of size bytes from src to dst.
  • This function may be optionally provided by user and should return a string containing Msan runtime options.
  • Tell MSan about newly destroyed memory. Mark memory as uninitialized.
  • Tell MSan about newly destroyed memory. Mark memory as uninitialized.
  • Tell MSan about newly destroyed memory. Mark memory as uninitialized.
  • Print shadow for the memory range to stderr in a minimalistic human-readable format.
  • Finish a fiber switch.
  • Get raw origin for an address.
  • Returns non-zero if tracking origins.
  • Returns the origin id of the latest UMR in the calling thread.
  • Returns true if running under a dynamic tool (DynamoRio-based).
  • Test that this_id is a descendant of prev_id (or they are simply equal).
  • Make memory region fully uninitialized (without changing its contents).
  • Print shadow and origin for the memory range to stderr in a human-readable format.
  • Disables uninitialized memory checks in interceptors.
  • Re-enables uninitialized memory checks in interceptors after a previous call to scoped_disable_interceptor_checks.
  • For testing: Set expected uninitialized memory reads.
  • Change the value of keep_going flag.
  • Set raw origin for the memory range.
  • Start a fiber switch.
  • Returns the offset of the first (at least partially) poisoned byte in the memory range, or -1 if the whole range is good.
  • Make memory region fully initialized (without changing its contents).
  • Make first n parameters of the next function call fully initialized.
  • Make a null-terminated string fully initialized (without changing its contents).