Versions in this module Expand all Collapse all v0 v0.1.7 Jan 5, 2026 v0.1.6 Jan 1, 2026 Changes in this version + func NodeContent(node *sitter.Node, source []byte) string + func SourceLocationHash(loc *SourceLocation) string + func SourceLocationSearch(locs []*SourceLocation, loc *SourceLocation) bool + type AnalyzerContext struct + Summaries map[RefID]*FunctionSummary + func NewAnalyzerContext() *AnalyzerContext + func (ac *AnalyzerContext) AddIntraProceduralFinding(finding StaticFinding) + func (ac *AnalyzerContext) GetIntraProceduralFindings() []StaticFinding + type Fingerprinter struct + func NewFingerprinter(logger *zap.Logger) *Fingerprinter + func (f *Fingerprinter) Analyze(filename, content string) ([]StaticFinding, error) + type FunctionSummary struct + ParamToReturn map[int]bool + RefID RefID + TaintedParams map[int]bool + TaintsReturn bool + func NewFunctionSummary(id RefID) *FunctionSummary + type LocationInfo struct + Column int + File string + Line int + Snippet string + func FormatLocation(filename string, node *sitter.Node, source []byte) LocationInfo + func (l LocationInfo) String() string + type ObjectTaint struct + Properties map[string]TaintState + StructureTainted bool + func NewObjectTaint() *ObjectTaint + func (t *ObjectTaint) GetPropertyTaint(propName string) TaintState + func (t *ObjectTaint) GetSource() core.TaintSource + func (t *ObjectTaint) GetSources() map[core.TaintSource]bool + func (t *ObjectTaint) IsTainted() bool + func (t *ObjectTaint) Merge(other TaintState) TaintState + func (t *ObjectTaint) SetPropertyTaint(propName string, state TaintState) + type RefID string + type SimpleTaint struct + Line int + Sources map[core.TaintSource]bool + func NewSimpleTaint(source core.TaintSource, line int) SimpleTaint + func (t SimpleTaint) GetSource() core.TaintSource + func (t SimpleTaint) GetSources() map[core.TaintSource]bool + func (t SimpleTaint) IsTainted() bool + func (t SimpleTaint) Merge(other TaintState) TaintState + type SourceLocation struct + Column int + File string + Line int + func (s *SourceLocation) String() string + type StaticFinding struct + CanonicalType schemas.TaintSink + Confidence string + Location LocationInfo + Sink core.TaintSink + SinkType core.SinkType + Source core.TaintSource + type StaticSinkDefinition struct + CanonicalType schemas.TaintSink + Name core.TaintSink + TaintedArgs []int + Type core.SinkType + func CheckIfSinkFunction(path []string) (StaticSinkDefinition, bool) + func CheckIfSinkProperty(path []string) (StaticSinkDefinition, bool) + type TaintState interface + GetSource func() core.TaintSource + GetSources func() map[core.TaintSource]bool + IsTainted func() bool + Merge func(other TaintState) TaintState + type WalkerMode int + const ModeAnalyze + const ModeSummarize