about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/expression/graph_dataflow.py2
-rw-r--r--example/jitter/test_x86_32_seh.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/expression/graph_dataflow.py b/example/expression/graph_dataflow.py
index b30bd29f..0951cc1e 100644
--- a/example/expression/graph_dataflow.py
+++ b/example/expression/graph_dataflow.py
@@ -50,7 +50,7 @@ def intra_block_flow_symb(ir_arch, _, flow_graph, irblock, in_nodes, out_nodes):
             node_n_w = get_node_name(irblock.loc_key, 0, n)
             if not n == src:
                 continue
-            o_r = n.arg.get_r(mem_read=False, cst_read=True)
+            o_r = n.ptr.get_r(mem_read=False, cst_read=True)
             for i, n_r in enumerate(o_r):
                 if n_r in current_nodes:
                     node_n_r = current_nodes[n_r]
diff --git a/example/jitter/test_x86_32_seh.py b/example/jitter/test_x86_32_seh.py
index 5277807d..e7f8cff4 100644
--- a/example/jitter/test_x86_32_seh.py
+++ b/example/jitter/test_x86_32_seh.py
@@ -36,7 +36,7 @@ parser = Sandbox_Win_x86_32.parser(description="PE sandboxer")
 parser.add_argument("filename", help="PE Filename")
 options = parser.parse_args()
 options.usesegm = True
-options.use_seh = True
+options.use_windows_structs = True
 
 # Create sandbox
 sb = Sandbox_Win_x86_32(options.filename, options, globals())