Commit 331f8fc3 authored by Carsten Emde's avatar Carsten Emde
Browse files

Added type of binary to gv header if full directory scan

parent 321dbe00
......@@ -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")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment