Skip to content

Commit

Permalink
Naming and dropped SCC analysis for now
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Aug 25, 2022
1 parent d584ae6 commit 88b3fbf
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions modules/analyze/webservicefuncs.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ func analysisfuncs(ws *webservice) {
}
var results returnobject

for _, method := range engine.AllEdgesSlice() {
if !method.IsHidden() {
for _, edge := range engine.AllEdgesSlice() {
if !edge.IsHidden() {
results.Methods = append(results.Methods, filterinfo{
Name: method.String(),
Lookup: method.String(),
DefaultEnabledF: method.DefaultF(),
DefaultEnabledM: method.DefaultM(),
DefaultEnabledL: method.DefaultL(),
Name: edge.String(),
Lookup: edge.String(),
DefaultEnabledF: edge.DefaultF(),
DefaultEnabledM: edge.DefaultM(),
DefaultEnabledL: edge.DefaultL(),
})
}
}
Expand Down Expand Up @@ -358,18 +358,18 @@ func analysisfuncs(ws *webservice) {
for _, postprocessor := range engine.PostProcessors {
pg = postprocessor(pg)
}

clusters := pg.SCC()
for i, cluster := range clusters {
if len(cluster) == 1 {
continue
}
ui.Debug().Msgf("Cluster %v has %v members:", i, len(cluster))
for _, member := range cluster {
ui.Debug().Msgf("%v", member.DN())
/*
clusters := pg.SCC()
for i, cluster := range clusters {
if len(cluster) == 1 {
continue
}
ui.Debug().Msgf("Cluster %v has %v members:", i, len(cluster))
for _, member := range cluster {
ui.Debug().Msgf("%v", member.DN())
}
}
}

*/
var targets int

var objecttypes [256]int
Expand Down

0 comments on commit 88b3fbf

Please sign in to comment.