summaryrefslogtreecommitdiff
path: root/plugins/ropgadgets
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-21 18:49:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-21 18:49:45 (GMT)
commite10081897750e74dfd01266606870aab3638cfbf (patch)
treeb9fbb90301a9ca443af82e3f9dd5e58f05dfbbe3 /plugins/ropgadgets
parent7c04cf1a2dcc9e04ce8f280f399d6904053e89d9 (diff)
Provided a way to register new available processors from Python.
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r--plugins/ropgadgets/finder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ropgadgets/finder.c b/plugins/ropgadgets/finder.c
index 3e7ed1a..b9a4500 100644
--- a/plugins/ropgadgets/finder.c
+++ b/plugins/ropgadgets/finder.c
@@ -387,7 +387,7 @@ found_rop_list *list_all_gadgets(GExeFormat *format, unsigned int max_depth, upd
domain.content = g_binary_format_get_content(G_BIN_FORMAT(format));
target = g_exe_format_get_target_machine(format);
- domain.proc = get_arch_processor_for_type(target);
+ domain.proc = get_arch_processor_for_name(target);
bool collect_x_ranges(GBinPortion *portion, GBinPortion *parent, BinaryPortionVisit visit, void *unused)
{