added config files argument
This commit is contained in:
parent
820e00c0ba
commit
6b5ed45943
1 changed files with 3 additions and 2 deletions
|
@ -4,10 +4,11 @@ import (
|
|||
"debug/elf"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/fatih/color"
|
||||
"runtime"
|
||||
"strings"
|
||||
u "tools/srcs/common"
|
||||
|
||||
"github.com/fatih/color"
|
||||
)
|
||||
|
||||
// RunAnalyserTool allows to run the dependency analyser tool.
|
||||
|
@ -222,7 +223,7 @@ func saveGraph(programName, outFolder string, data *u.Data) {
|
|||
programName+"_dependencies", data.StaticData.Dependencies, nil)
|
||||
}
|
||||
|
||||
if len(data.StaticData.SharedLibs) > 0 {
|
||||
if len(data.DynamicData.SharedLibs) > 0 {
|
||||
u.GenerateGraph(programName, outFolder+"dynamic"+u.SEP+
|
||||
programName+"_shared_libs", data.DynamicData.SharedLibs, nil)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue