From dfbc9e348fbb8402fba32f44735cb204d4babae4 Mon Sep 17 00:00:00 2001 From: Lars Karlslund Date: Wed, 10 Jan 2024 12:08:03 +0100 Subject: [PATCH] And is not or --- modules/analyze/analyzeobjects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/analyze/analyzeobjects.go b/modules/analyze/analyzeobjects.go index 1dd9236..e1887df 100644 --- a/modules/analyze/analyzeobjects.go +++ b/modules/analyze/analyzeobjects.go @@ -222,7 +222,7 @@ func AnalyzeObjects(opts AnalyzeObjectsOptions) AnalysisResults { Target: nextobject}] = detectededges } - if currentRound != 1 && extrainfo[nextobject] == nil { + if currentRound != 1 || extrainfo[nextobject] == nil { // First round is special, as we process the targets // All the other rounds, we can assume that nextobjects are new in the graph extrainfo[nextobject] = &GraphNode{