Skip to content

Commit

Permalink
Fix wrongly formatted function names in CFG
Browse files Browse the repository at this point in the history
  • Loading branch information
muellerberndt committed Mar 15, 2018
1 parent e2eee11 commit 11fa58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythril/analysis/callgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def serialize(statespace, color_map):
code = re.sub("([0-9a-f]{8})[0-9a-f]+", lambda m: m.group(1) + "(...)", code)

if NodeFlags.FUNC_ENTRY in node.flags:
code = re.sub("JUMPDEST", "%d %s" % (node.start_addr, node.function_name), code)
code = re.sub("JUMPDEST", node.function_name, code)

code_split = code.split("\\n")

Expand Down

0 comments on commit 11fa58a

Please sign in to comment.