Go stdlib package — arena. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Arena.Free()NeutralArena.Free()
Free frees the arena (and all objects allocated from the arena) so that
.Clone()NeutralClone(s T) T
Clone makes a shallow copy of the input value that is no longer bound to any
.MakeSlice()NeutralMakeSlice(a *Arena, len int, cap int) []T
MakeSlice creates a new []T with the provided capacity and length. The []T must
.New()NeutralNew(a *Arena) *T
New creates a new *T in the provided arena. The *T must not be used after
.Arena()Neutraltype Arena ...
Arena represents a collection of Go values allocated and freed together.
| FQN | Field | |
|---|---|---|
| arena | fqns[0] |
Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.
// standard library — no go.mod entry required
from codepathfinder.go_rule import ... # arena