about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorIvan “CLOVIS” Canet <ivan.canet@gmail.com>2022-03-15 15:00:24 +0100
committerIvan “CLOVIS” Canet <ivan.canet@gmail.com>2022-03-21 09:21:51 +0100
commit64f55d0c4f8f770e5b1d41ce59228ab2cba07f9a (patch)
treec59ea040f3307fb53a87ea4b1cebede75bd0095b
parente71c3152d1e57a95b5243e7d4c814eed4bad870a (diff)
downloadmiasm-64f55d0c4f8f770e5b1d41ce59228ab2cba07f9a.tar.gz
miasm-64f55d0c4f8f770e5b1d41ce59228ab2cba07f9a.zip
Fixed usage for constant_propagation, depgraph & graph_dataflow
-rw-r--r--example/expression/constant_propagation.py2
-rw-r--r--example/expression/graph_dataflow.py2
-rw-r--r--example/symbol_exec/depgraph.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/example/expression/constant_propagation.py b/example/expression/constant_propagation.py
index 20c2c3cc..e79adb44 100644
--- a/example/expression/constant_propagation.py
+++ b/example/expression/constant_propagation.py
@@ -16,7 +16,7 @@ from miasm.core.locationdb import LocationDB
 
 
 
-parser = ArgumentParser("Constant expression propagation")
+parser = ArgumentParser(description="Constant expression propagation")
 parser.add_argument('filename', help="File to analyze")
 parser.add_argument('address', help="Starting address for disassembly engine")
 parser.add_argument('-s', "--simplify", action="store_true",
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",
diff --git a/example/symbol_exec/depgraph.py b/example/symbol_exec/depgraph.py
index 21c6fe45..a7df2e25 100644
--- a/example/symbol_exec/depgraph.py
+++ b/example/symbol_exec/depgraph.py
@@ -12,7 +12,7 @@ from miasm.analysis.depgraph import DependencyGraph
 from miasm.expression.expression import ExprMem, ExprId, ExprInt
 from miasm.core.locationdb import LocationDB
 
-parser = ArgumentParser("Dependency grapher")
+parser = ArgumentParser(description="Dependency grapher")
 parser.add_argument("filename", help="Binary to analyse")
 parser.add_argument("func_addr", help="Function address")
 parser.add_argument("target_addr", help="Address to start")