diff options
Diffstat (limited to 'plugins/ropgadgets')
-rw-r--r-- | plugins/ropgadgets/finder.c | 4 | ||||
-rw-r--r-- | plugins/ropgadgets/select.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/plugins/ropgadgets/finder.c b/plugins/ropgadgets/finder.c index 3fa1ea4..5655735 100644 --- a/plugins/ropgadgets/finder.c +++ b/plugins/ropgadgets/finder.c @@ -29,7 +29,7 @@ #include <core/processors.h> -#include <format/format.h> +#include <format/known.h> #include "helper.h" @@ -384,7 +384,7 @@ found_rop_list *list_all_gadgets(GExeFormat *format, unsigned int max_depth, upd g_object_ref(G_OBJECT(format)); domain.format = format; - domain.content = g_binary_format_get_content(G_BIN_FORMAT(format)); + domain.content = g_known_format_get_content(G_KNOWN_FORMAT(format)); target = g_exe_format_get_target_machine(format); domain.proc = get_arch_processor_for_key(target); diff --git a/plugins/ropgadgets/select.c b/plugins/ropgadgets/select.c index be2086e..aebe433 100644 --- a/plugins/ropgadgets/select.c +++ b/plugins/ropgadgets/select.c @@ -40,6 +40,7 @@ #include <common/cpp.h> #include <common/extstr.h> #include <core/processors.h> +#include <format/known.h> #include <gui/core/global.h> #include <gtkext/easygtk.h> @@ -1511,7 +1512,7 @@ static void add_new_gadgets_for_category(GExeFormat *format, GtkComboBoxText *co char *partial_markup; /* Contenu de la ligne visée */ GtkTreeIter iter; /* Point d'insertion */ - content = g_binary_format_get_content(G_BIN_FORMAT(format)); + content = g_known_format_get_content(G_KNOWN_FORMAT(format)); /* Conversion en contenu textuel */ |