scanDeleteStatement analyzes DELETE for injection patterns.
(stmt *ast.DeleteStatement, result *ScanResult)
| 704 | |
| 705 | // scanDeleteStatement analyzes DELETE for injection patterns. |
| 706 | func (s *Scanner) scanDeleteStatement(stmt *ast.DeleteStatement, result *ScanResult) { |
| 707 | // Check WHERE clause |
| 708 | if stmt.Where != nil { |
| 709 | s.scanExpression(stmt.Where, result, "WHERE clause") |
| 710 | } |
| 711 | } |
| 712 | |
| 713 | // scanSetOperation analyzes UNION/EXCEPT/INTERSECT for injection patterns. |
| 714 | func (s *Scanner) scanSetOperation(stmt *ast.SetOperation, result *ScanResult) { |
no test coverage detected