diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-12-29 10:30:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-12-29 10:30:28 (GMT) |
commit | 9f9041e11efa71cb043425cd5e89daea0247e76c (patch) | |
tree | 84d8704c291a5efef46af1e14a2aa3544dc29455 /src/format/executable-int.h | |
parent | 403a0519ec85a156a7f306b045d9cab619302473 (diff) |
Cut binary data into several areas using all the available CPUs and less memory.
Diffstat (limited to 'src/format/executable-int.h')
-rw-r--r-- | src/format/executable-int.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/format/executable-int.h b/src/format/executable-int.h index a4d4b35..88527a5 100644 --- a/src/format/executable-int.h +++ b/src/format/executable-int.h @@ -36,7 +36,7 @@ typedef const char * (* get_target_machine_fc) (const GExeFormat *); /* Etend la définition des portions au sein d'un binaire. */ -typedef void (* refine_portions_fc) (const GExeFormat *, GPortionLayer *); +typedef void (* refine_portions_fc) (GExeFormat *); /* Fournit l'emplacement correspondant à une position physique. */ typedef bool (* translate_phys_fc) (const GExeFormat *, phys_t, vmpa2t *); @@ -57,7 +57,8 @@ struct _GExeFormat GDbgFormat **debugs; /* Informations de débogage */ size_t debugs_count; /* Nombre de ces informations */ - GPortionLayer *layers; /* Couches de morceaux binaires*/ + GBinPortion *portions; /* Couches de morceaux binaires*/ + GMutex mutex; /* Accès à l'arborescence */ }; @@ -77,6 +78,9 @@ struct _GExeFormatClass }; +/* Effectue les ultimes opérations de chargement d'un binaire. */ +bool g_executable_format_complete_loading(GExeFormat *, GtkStatusStack *); + /* Fournit l'emplacement correspondant à une position physique. */ bool g_exe_format_without_virt_translate_offset_into_vmpa(const GExeFormat *, phys_t, vmpa2t *); |