diff options
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r-- | src/arch/instruction.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index 497b7f6..2201dd5 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -32,8 +32,8 @@ #include "immediate.h" #include "register.h" #include "vmpa.h" -#include "../analysis/content.h" #include "../analysis/type.h" +#include "../common/packed.h" #include "../format/executable.h" @@ -260,4 +260,19 @@ const char *g_arch_instruction_get_description(const GArchInstruction *); +/* -------------------- CONSERVATION SUR DISQUE DES INSTRUCTIONS -------------------- */ + + +/* Depuis "storage.h" : définition d'une conservation d'instructions d'assemblage (instance) */ +typedef struct _GAsmStorage GAsmStorage; + + +/* Charge une instruction depuis une mémoire tampon. */ +GArchInstruction *g_arch_instruction_load(GAsmStorage *, GBinFormat *, packed_buffer *); + +/* Sauvegarde une instruction dans une mémoire tampon. */ +bool g_arch_instruction_store(GArchInstruction *, GAsmStorage *, packed_buffer *); + + + #endif /* _ARCH_INSTRUCTION_H */ |