package msan

import "internal/msan"

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.

Index

Constants

const Enabled = false

Functions

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)

Source Files

doc.go nomsan.go

Version
v1.24.1 (latest)
Published
Feb 27, 2025
Platform
windows/amd64
Imports
1 packages
Last checked
4 minutes ago

Tools for package owners.