diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-05-05 21:58:46 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-05-05 21:59:01 (GMT) |
commit | a66f854ce4e19dc0f772fc55a3899643252afa3d (patch) | |
tree | 52e46f77acc199904a73e2260117a3a5198aeb86 /src/format/format.c | |
parent | 07768223823d8c2b0071be8d8e6dfc5ccb891b17 (diff) |
Inserted preloaded format information from instructions instead of symbols.
Diffstat (limited to 'src/format/format.c')
-rw-r--r-- | src/format/format.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/format/format.c b/src/format/format.c index 978a3d2..11216a2 100644 --- a/src/format/format.c +++ b/src/format/format.c @@ -31,6 +31,7 @@ #include "format-int.h" +#include "preload.h" #include "dex/dex.h" #include "dwarf/dwarf.h" #include "elf/elf.h" @@ -247,6 +248,7 @@ void g_binary_format_register_code_point(GBinFormat *format, virt_t pt, bool ent * * * Paramètres : format = description de l'exécutable à consulter. * * ctx = contexte de désassemblage à préparer. * +* status = barre de statut à tenir informée. * * * * Description : Fournit un contexte initialisé pour un désassemblage. * * * @@ -256,10 +258,12 @@ void g_binary_format_register_code_point(GBinFormat *format, virt_t pt, bool ent * * ******************************************************************************/ -void g_binary_format_setup_disassembling_context(GBinFormat *format, GProcContext *ctx) +void g_binary_format_setup_disassembling_context(GBinFormat *format, GProcContext *ctx, GtkStatusStack *status) { size_t i; /* Boucle de parcours */ + preload_binary_format(PGA_FORMAT_PRELOAD, format, G_PRELOAD_INFO(ctx), status); + g_rw_lock_reader_lock(&format->pt_lock); for (i = 0; i < format->ep_count; i++) |