Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Caren Kresse
callgraph
Commits
331f8fc3
Commit
331f8fc3
authored
Oct 04, 2021
by
Carsten Emde
Browse files
Added type of binary to gv header if full directory scan
parent
321dbe00
Changes
1
Hide whitespace changes
Inline
Side-by-side
generatecypher.py
View file @
331f8fc3
...
...
@@ -205,7 +205,11 @@ def createoutput(outputdir, outputformat, machine_to_binary, linked_libraries,
outputfileopen
.
write
(
"<nodes>
\n
"
)
elif
outputformat
==
'gv'
:
if
len
(
limitsearch
)
==
0
:
digraphname
=
"full_directory_scan"
if
endian
:
endianstr
=
"little_endian"
else
:
endianstr
=
"big_endian"
digraphname
=
"full_directory_scan_"
+
architecture
+
"_"
+
o
+
"_"
+
endianstr
+
"_"
+
str
(
elfclass
)
else
:
digraphname
=
os
.
path
.
basename
(
limitsearch
[
0
]).
replace
(
'.'
,
'_'
);
outputfileopen
.
write
(
"digraph "
+
digraphname
+
" {
\n
ratio=0.562;
\n
"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment