Go stdlib package — index/suffixarray. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Index.Bytes()NeutralIndex.Bytes() []byte
Bytes returns the data over which the index was created.
.Index.FindAllIndex()NeutralIndex.FindAllIndex(r *regexp.Regexp, n int) [][]int
FindAllIndex returns a sorted list of non-overlapping matches of the
.Index.Lookup()NeutralIndex.Lookup(s []byte, n int) []int
Lookup returns an unsorted list of at most n indices where the byte string s
.Index.Read()NeutralIndex.Read(r io.Reader) error
Read reads the index from r into x; x must not be nil.
| FQN | Field | |
|---|---|---|
| index/suffixarray | 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 ... # index/suffixarray