summaryrefslogtreecommitdiff
path: root/src/arch/processor-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r--src/arch/processor-int.h31
1 files changed, 1 insertions, 30 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h
index 873ec72..bbe2384 100644
--- a/src/arch/processor-int.h
+++ b/src/arch/processor-int.h
@@ -29,7 +29,7 @@
-
+/* TODO : nettoyer ! */
#include <stdint.h>
#include <sys/types.h>
@@ -45,35 +45,6 @@
-/* Décode une instruction dans un flux de données. */
-typedef asm_instr * (* fetch_instruction_) (const asm_processor *, const uint8_t *, off_t *, off_t, uint64_t);
-
-/* Traduit une instruction en version humainement lisible. */
-typedef void (* print_instruction_) (const asm_processor *, const exe_format *, const asm_instr *, char *, size_t, AsmSyntax);
-
-
-
-/* Définition générique d'une architecture */
-struct _asm_processor
-{
-
- fetch_instruction_ fetch_instr; /* Lecture d'une instruction */
-
- print_instruction_ print_instr; /* Version lisible d'une instr.*/
-
-
-};
-
-
-#define ASM_PROCESSOR(proc) ((asm_processor *)proc)
-
-
-
-
-/* S'assure qu'une chaîne de caractère tient sur une ligne. */
-char *escape_crlf_bin_string(char *);
-
-