package unsafeptr

import "golang.org/x/tools/go/analysis/passes/unsafeptr"

Package unsafeptr defines an Analyzer that checks for invalid conversions of uintptr to unsafe.Pointer.

Index

Package Files

unsafeptr.go

Constants

const Doc = "" /* 390 byte string literal not displayed */

Variables

var Analyzer = &analysis.Analyzer{
    Name:     "unsafeptr",
    Doc:      Doc,
    Requires: []*analysis.Analyzer{inspect.Analyzer},
    Run:      run,
}

Package unsafeptr imports 7 packages (graph).

Version v0.1.8 (latest) | Published Dec 2, 2021 | Platform: linux/amd64 | Updated 3 weeks ago

.
Tools for package owners.