diff options
Diffstat (limited to 'src/format/elf')
-rw-r--r-- | src/format/elf/helper_x86.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/format/elf/helper_x86.c b/src/format/elf/helper_x86.c index 82be74c..c31882c 100644 --- a/src/format/elf/helper_x86.c +++ b/src/format/elf/helper_x86.c @@ -257,8 +257,6 @@ void translate_elf_relocations(GElfFormat *format, GArchInstruction **instructio { operand = g_arch_instruction_get_operand(instructions[i], 0); - g_imm_operand_to_vmpa_t(G_IMM_OPERAND(operand), &address); - if (g_imm_operand_to_vmpa_t(G_IMM_OPERAND(operand), &address)) { symbols = g_binary_format_get_symbols(G_BIN_FORMAT(format), &symbols_count); @@ -286,6 +284,8 @@ void translate_elf_relocations(GElfFormat *format, GArchInstruction **instructio symbol = g_binary_symbol_new(STP_FUNCTION, new_name, address); g_binary_format_add_symbol(G_BIN_FORMAT(format), symbol); + break; + } } |