mirror of
https://github.com/securego/gosec.git
synced 2025-11-23 22:15:04 +02:00
Fix typos in comments, vars and tests
This commit is contained in:
committed by
Cosmin Cojocar
parent
e1484658ac
commit
1f689968ec
@@ -46,7 +46,7 @@ func runSSRF(pass *analysis.Pass) (interface{}, error) {
|
||||
if callee != nil {
|
||||
ssaResult.Logger.Printf("callee: %s\n", callee)
|
||||
return newIssue(pass.Analyzer.Name,
|
||||
"not implemeted",
|
||||
"not implemented",
|
||||
pass.Fset, instr.Call.Pos(), issue.Low, issue.High), nil
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ import (
|
||||
)
|
||||
|
||||
// SSAAnalyzerResult contains various information returned by the
|
||||
// SSA analysis along with some configuraion
|
||||
// SSA analysis along with some configuration
|
||||
type SSAAnalyzerResult struct {
|
||||
Config map[string]interface{}
|
||||
Logger *log.Logger
|
||||
@@ -42,7 +42,7 @@ func BuildDefaultAnalyzers() []*analysis.Analyzer {
|
||||
}
|
||||
}
|
||||
|
||||
// getSSAResult retrives the SSA result from analysis pass
|
||||
// getSSAResult retrieves the SSA result from analysis pass
|
||||
func getSSAResult(pass *analysis.Pass) (*SSAAnalyzerResult, error) {
|
||||
result, ok := pass.ResultOf[buildssa.Analyzer]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user