summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-09-25 18:43:06 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-09-25 18:43:06 (GMT)
commit8df6567b5213fe842e329ad1102c5531d7c509bb (patch)
tree19218ffe5d30a5578e3e7d1cd2aaf6ed764def67 /src/arch
parent3c970a0a1b74a1991be303132221329f3eef0b91 (diff)
Removed debug code.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/link.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/arch/link.c b/src/arch/link.c
index 3b74e5c..48bc3a3 100644
--- a/src/arch/link.c
+++ b/src/arch/link.c
@@ -121,9 +121,6 @@ void handle_branch_as_link(GArchInstruction *instr, GArchProcessor *proc, GProcC
target = g_arch_processor_find_instr_by_address(proc, &addr);
- printf(" @ 0x%08x BRANCH true to 0x%08x -->> %p\n",
- (unsigned int)instr->range.addr.virtual, (unsigned int)virt, target);
-
if (target != NULL)
{
g_arch_instruction_link_with(instr, target, ILT_JUMP_IF_TRUE);
@@ -132,14 +129,6 @@ void handle_branch_as_link(GArchInstruction *instr, GArchProcessor *proc, GProcC
target = g_arch_instruction_get_next_iter(list, instr, ~0);
-
- if (target != NULL)
- printf(" @ 0x%08x BRANCH false to 0x%08x -->> %p\n",
- (unsigned int)instr->range.addr.virtual,
- (unsigned int)g_arch_instruction_get_range(target)->addr.virtual,
- target);
-
-
if (target != NULL)
g_arch_instruction_link_with(instr, target, ILT_JUMP_IF_FALSE);
@@ -147,13 +136,6 @@ void handle_branch_as_link(GArchInstruction *instr, GArchProcessor *proc, GProcC
}
-
- else printf(" @ 0x%08x FAILED TO BRANCH\n",
- (unsigned int)instr->range.addr.virtual);
-
-
-
-
}