diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-10-28 19:40:19 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-10-28 19:40:19 (GMT) |
commit | 0f0cb560006c0ef5eb690f89c4ce720936c9d6f6 (patch) | |
tree | 09a09248b4da91cbebae8609249d02f3fbef1ef3 /src/arch/instruction.h | |
parent | 3e6c0fb01710f61e8dc9383de6be4db1188b3ee6 (diff) |
Stored instruction hooks in the data section rather than in the heap.
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r-- | src/arch/instruction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index e902849..93dfa52 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -117,7 +117,7 @@ typedef enum _InstrProcessHook typedef void (* instr_hook_fc) (GArchInstruction *, GArchProcessor *, GProcContext *, GBinFormat *); /* Définit un traitement complémentare au désassemblage. */ -void g_arch_instruction_set_hook(GArchInstruction *, InstrProcessHook, instr_hook_fc); +void g_arch_instruction_set_hooks(GArchInstruction *, const instr_hook_fc [IPH_COUNT]); /* Complète un désassemblage accompli pour une instruction. */ void g_arch_instruction_call_hook(GArchInstruction *, InstrProcessHook, GArchProcessor *, GProcContext *, GBinFormat *); |