diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-05-12 22:09:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-05-12 22:09:53 (GMT) |
commit | 00e93226e72bdb18853580f553e32df111422936 (patch) | |
tree | 9c346903d4506cae2df19b9314cf307c783c0cb3 /plugins/ropgadgets | |
parent | e44ffc323c8a9d4b446baba6e0b131107312fa84 (diff) |
Simplified the way processors are registered.
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r-- | plugins/ropgadgets/finder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ropgadgets/finder.c b/plugins/ropgadgets/finder.c index b9a4500..5d0e9c2 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_name(target); + domain.proc = get_arch_processor_for_key(target); bool collect_x_ranges(GBinPortion *portion, GBinPortion *parent, BinaryPortionVisit visit, void *unused) { |