Standard Library

GoRuntimeCgo

Go stdlib package — runtime/cgo. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.Handle.Delete()Neutral
#
Signature
Handle.Delete()

Delete invalidates a handle. This method should only be called once

.Handle.Value()Neutral
#
Signature
Handle.Value() any

Value returns the associated Go value for a valid handle.

.NewHandle()Neutral
#
Signature
NewHandle(v any) Handle

NewHandle returns a handle for a given value.

.Handle()Neutral
#
Signature
type Handle ...

Handle provides a way to pass values that contain Go pointers

.Incomplete()Neutral
#
Signature
type Incomplete ...

Incomplete is used specifically for the semantics of incomplete C types.

Fully-Qualified Names

FQNField
runtime/cgofqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

go.mod
// standard library — no go.mod entry required
rule.py
from codepathfinder.go_rule import ...  # runtime/cgo