(result Result)
| 1014 | } |
| 1015 | |
| 1016 | func recordFinding(result Result) { |
| 1017 | if result.defaultReq { |
| 1018 | return |
| 1019 | } |
| 1020 | topFindingsMutex.Lock() |
| 1021 | defer topFindingsMutex.Unlock() |
| 1022 | topFindings = append(topFindings, result) |
| 1023 | } |
| 1024 | |
| 1025 | func printTopFindings(limit int) { |
| 1026 | if getVerbose() || limit <= 0 { |