diff options
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/instruction.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c index aa90e70..a45e8fa 100644 --- a/src/arch/instruction.c +++ b/src/arch/instruction.c @@ -284,6 +284,11 @@ void g_arch_instruction_get_rw_registers(const GArchInstruction *instr, GArchReg { size_t i; /* Boucle de parcours */ + *rregs = NULL; + *rcount = 0; + *wregs = NULL; + *wcount = 0; + instr->get_rw_regs(instr, rregs, rcount, wregs, wcount); for (i = 0; i < *rcount; i++) |