diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-07-12 13:07:55 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-07-12 13:08:42 (GMT) |
commit | a331ff258895865049bf79bc1629dbc744b7faf5 (patch) | |
tree | c4f649ba21afcacf974cc6536f03aa97663a9acd /src/arch/raw.c | |
parent | 9b018cede5af54594c0a20847239233153b04ce1 (diff) |
Removed the too complex memory share system.
Diffstat (limited to 'src/arch/raw.c')
-rw-r--r-- | src/arch/raw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/raw.c b/src/arch/raw.c index 4a82aef..8ab788f 100644 --- a/src/arch/raw.c +++ b/src/arch/raw.c @@ -203,7 +203,7 @@ GArchInstruction *g_raw_instruction_new_from_value(const vmpa2t *addr, MemoryDat operand = G_IMM_OPERAND(g_imm_operand_new_from_value(size, value)); if (operand == NULL) goto grinfv_error; - g_imm_operand_pad(&operand, true, NULL); + g_imm_operand_pad(operand, true); g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand)); @@ -290,7 +290,7 @@ GArchInstruction *g_raw_instruction_new_uleb128(const GBinContent *content, vmpa operand = G_IMM_OPERAND(g_imm_operand_new_from_value(leb_size, (uint64_t)value)); if (operand == NULL) goto grinu_error; - g_imm_operand_pad(&operand, true, NULL); + g_imm_operand_pad(operand, true); g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand)); @@ -344,7 +344,7 @@ GArchInstruction *g_raw_instruction_new_sleb128(const GBinContent *content, vmpa operand = G_IMM_OPERAND(g_imm_operand_new_from_value(leb_size, (uint64_t)value)); if (operand == NULL) goto grins_error; - g_imm_operand_pad(&operand, true, NULL); + g_imm_operand_pad(operand, true); g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand)); @@ -393,7 +393,7 @@ GArchInstruction *g_raw_instruction_new_array(const GBinContent *content, Memory operand = G_IMM_OPERAND(g_imm_operand_new_from_data(size, content, addr, endian)); if (operand == NULL) goto grina_error; - g_imm_operand_pad(&operand, true, NULL); + g_imm_operand_pad(operand, true); g_arch_instruction_attach_extra_operand(result, G_ARCH_OPERAND(operand)); |