Skip to content

Go utilities for using address sanitizer with CGO from a go main

Notifications You must be signed in to change notification settings

go-gst/asanutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ASAN Utils for go

When compiling cgo to use in a go application, then a sanitizer is a good way to find common problems.

Go inludes support for AddressSanitizer (asan).

CC=clang CGO_ENABLED=1 CGO_LDFLAGS='-fsanitize=address' CGO_CFLAGS='-O0 -g3 -fsanitize=address' go build -asan <path>

This module adds the functions that are needed to trigger certain asan functionality on demand. Since they are only available when asan support is enabled, this module provides a noop fallback function if asan is not enabled.

About

Go utilities for using address sanitizer with CGO from a go main

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages