summaryrefslogtreecommitdiff
path: root/src/binary.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/binary.c')
-rw-r--r--src/binary.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/binary.c b/src/binary.c
index a026021..eee4d2b 100644
--- a/src/binary.c
+++ b/src/binary.c
@@ -157,6 +157,37 @@ void fill_snippet(GtkSnippet *snippet)
}
+
+ gtk_snippet_add_line(snippet, offset, NULL, "Simple HelloWorld !");
+
+ pos = 0;
+ while (pos < len)
+ {
+ offset = base + pos;
+
+ instr = decode_instruction(proc, data, &pos, len);
+
+ gtk_snippet_add_line(snippet, offset, instr, NULL);
+
+
+ }
+
+
+ gtk_snippet_add_line(snippet, offset, NULL, "Simple HelloWorld !");
+
+ pos = 0;
+ while (pos < len)
+ {
+ offset = base + pos;
+
+ instr = decode_instruction(proc, data, &pos, len);
+
+ gtk_snippet_add_line(snippet, offset, instr, NULL);
+
+
+ }
+
+
/*
gtk_snippet_build_content(snippet);
*/