Skip to content

Commit

Permalink
add more sink
Browse files Browse the repository at this point in the history
  • Loading branch information
cokeBeer committed Sep 22, 2022
1 parent 301bed5 commit 66b7da9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/example/dataflow/taint/ruler.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ func (r *DummyRuler) IsSink(_f any) bool {
sink["(*database/sql.Tx).QueryContext"] = true
sink["(*database/sql.Tx).QueryRow"] = true
sink["(*database/sql.Tx).QueryRowContext"] = true
sink["(*github.com/jmoiron/sqlx.DB).Select"] = true
sink["(*github.com/jmoiron/sqlx.DB).Get"] = true
sink["(*github.com/jmoiron/sqlx.DB).Queryx"] = true
sink["(*github.com/jmoiron/sqlx.DB).QueryRowx"] = true
sink["(*gorm.io/gorm.DB).Raw"] = true
sink["(*gorm.io/gorm.DB).Where"] = true
sink["(*gorm.io/gorm.DB).Or"] = true
Expand Down

0 comments on commit 66b7da9

Please sign in to comment.