Go stdlib package — runtime/trace. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.
.Log()NeutralLog(ctx context.Context, category string, message string)
Log emits a one-off event with the given category and message.
.Logf()NeutralLogf(ctx context.Context, category string, format string, args any)
Logf is like [Log], but the value is formatted using the specified format spec.
.NewTask()NeutralNewTask(pctx context.Context, taskType string) (context.Context, *Task)
NewTask creates a task instance with the type taskType and returns
.StartRegion()NeutralStartRegion(ctx context.Context, regionType string) *Region
StartRegion starts a region and returns it.
.WithRegion()NeutralWithRegion(ctx context.Context, regionType string, fn func())
WithRegion starts a region associated with its calling goroutine, runs fn,
| FQN | Field | |
|---|---|---|
| runtime/trace | 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 ... # runtime/trace