From 64f55d0c4f8f770e5b1d41ce59228ab2cba07f9a Mon Sep 17 00:00:00 2001 From: Ivan “CLOVIS” Canet Date: Tue, 15 Mar 2022 15:00:24 +0100 Subject: Fixed usage for constant_propagation, depgraph & graph_dataflow --- example/expression/graph_dataflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/expression/graph_dataflow.py') diff --git a/example/expression/graph_dataflow.py b/example/expression/graph_dataflow.py index f40646bc..0546fda3 100644 --- a/example/expression/graph_dataflow.py +++ b/example/expression/graph_dataflow.py @@ -13,7 +13,7 @@ from miasm.analysis.data_flow import DeadRemoval from miasm.core.locationdb import LocationDB -parser = ArgumentParser("Simple expression use for generating dataflow graph") +parser = ArgumentParser(description="Simple expression use for generating dataflow graph") parser.add_argument("filename", help="File to analyse") parser.add_argument("addr", help="Function's address") parser.add_argument("-s", "--symb", help="Symbolic execution mode", -- cgit 1.4.1 From 711752fc45027682e962853906a4b515e5f45849 Mon Sep 17 00:00:00 2001 From: Ivan “CLOVIS” Canet Date: Wed, 16 Mar 2022 09:28:33 +0100 Subject: Fixed output file name in graph_dataflow --- example/expression/graph_dataflow.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'example/expression/graph_dataflow.py') diff --git a/example/expression/graph_dataflow.py b/example/expression/graph_dataflow.py index 0546fda3..dc09eae4 100644 --- a/example/expression/graph_dataflow.py +++ b/example/expression/graph_dataflow.py @@ -158,8 +158,10 @@ gen_block_data_flow_graph(lifter, ircfg, ad, block_flow_cb) print('*' * 40) print(""" View with: -dotty dataflow.dot +dotty data.dot + or +xdot data.dot or Generate ps with pdf: -dot -Tps dataflow_xx.dot -o graph.ps +dot -Tps data.dot -o graph.ps """) -- cgit 1.4.1