Standard Library

GoArena

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

Other Methods

.Arena.Free()Neutral
#
Signature
Arena.Free()

Free frees the arena (and all objects allocated from the arena) so that

.Clone()Neutral
#
Signature
Clone(s T) T

Clone makes a shallow copy of the input value that is no longer bound to any

.MakeSlice()Neutral
#
Signature
MakeSlice(a *Arena, len int, cap int) []T

MakeSlice creates a new []T with the provided capacity and length. The []T must

.New()Neutral
#
Signature
New(a *Arena) *T

New creates a new *T in the provided arena. The *T must not be used after

.NewArena()Neutral
#
Signature
NewArena() *Arena

NewArena allocates a new arena.

.Arena()Neutral
#
Signature
type Arena ...

Arena represents a collection of Go values allocated and freed together.

Fully-Qualified Names

FQNField
arenafqns[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 ...  # arena