v0.3.15
Pre-release
Pre-release
Changes
- ruleguard: pass imports table to gogrep pattern compiler @quasilyte (#343)
- ruleguard: better text truncation in the rendered message @quasilyte (#330)
- ruleguard: assign the current func decl @quasilyte (#328)
- ruleguard,analyzer: change Report() callback argument @quasilyte (#327)
DSL
- ruleguard: implement
ExprType.HasPointers()
predicate @quasilyte (#337) - dsl: add ExprType.HasPointers() predicate @quasilyte (#336)
- ruleguard: implement Type.OfKind filter @quasilyte (#334)
- dsl: add Type.OfKind method @quasilyte (#332)
Fixes
- ruleguard: improve FieldList and Field matching @quasilyte (#342)
- ruleguard: continue pattern matching for multi-match patterns @quasilyte (#340)
- close test descriptor @peakle (#335)
Performance
- ruleguard: call Walk handler with nodetag @quasilyte (#341)
Other
- ruleguard: add profiling labels support @quasilyte (#338)