...

Package msan

import "internal/msan"
Overview
Index

Overview ▾

Package msan contains helper functions for manually instrumenting code for the memory sanitizer. This package exports the private msan routines in runtime unconditionally but without the "msan" build tag they are no-ops.

Constants

const Enabled = false

func Free

func Free(addr unsafe.Pointer, sz uintptr)

func Malloc

func Malloc(addr unsafe.Pointer, sz uintptr)

func Move

func Move(dst, src unsafe.Pointer, sz uintptr)

func Read

func Read(addr unsafe.Pointer, sz uintptr)

func Write

func Write(addr unsafe.Pointer, sz uintptr)