summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/fetch.c10
-rw-r--r--src/analysis/disass/links.c4
-rw-r--r--src/analysis/disass/loop.c4
-rw-r--r--src/analysis/disass/output.c2
4 files changed, 19 insertions, 1 deletions
diff --git a/src/analysis/disass/fetch.c b/src/analysis/disass/fetch.c
index f10178a..dea6645 100644
--- a/src/analysis/disass/fetch.c
+++ b/src/analysis/disass/fetch.c
@@ -430,6 +430,16 @@ static GArchInstruction *load_code_binary(const GLoadedBinary *binary, const vmp
//done += (new_phy - old_phy);
//gtk_extended_status_bar_update_activity(statusbar, id, done * 1.0 / sum);
+
+
+
+
+
+ g_arch_instruction_call_post_prod_function(instr, format); /* FIXME */
+
+
+
+
}
return result;
diff --git a/src/analysis/disass/links.c b/src/analysis/disass/links.c
index d437682..dc870fc 100644
--- a/src/analysis/disass/links.c
+++ b/src/analysis/disass/links.c
@@ -25,6 +25,10 @@
+#include "../../arch/instruction.h"
+
+
+
/******************************************************************************
* *
* Paramètres : list = ensemble d'instructions à relier. *
diff --git a/src/analysis/disass/loop.c b/src/analysis/disass/loop.c
index 79e3786..0a06748 100644
--- a/src/analysis/disass/loop.c
+++ b/src/analysis/disass/loop.c
@@ -30,6 +30,10 @@
+#include "../../arch/instruction.h"
+
+
+
/* Suivi du flot d'exécution */
typedef struct _exec_flow
{
diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c
index 97924cd..eb53206 100644
--- a/src/analysis/disass/output.c
+++ b/src/analysis/disass/output.c
@@ -189,7 +189,7 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form
g_buffer_line_fill_mrange(line, msize, msize);
g_buffer_line_start_merge_at(line, BLC_ASSEMBLY_HEAD);
- g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, label, strlen(label), RTT_COMMENT);
+ g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, label, strlen(label), RTT_LABEL);
g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, ":", 1, RTT_PUNCT);