summaryrefslogtreecommitdiff
path: root/src/decomp/instruction.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-07-23 19:07:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-07-23 19:07:29 (GMT)
commit8b35a66464636d0c46237af7490a6ca6866ecc4d (patch)
tree92199b36e3af00eb4c175a80c20b9b14511a6a45 /src/decomp/instruction.h
parent8b2189a819c7a761cfdb97d9e3382ea963f225fb (diff)
Improved decompilation of Dalvik bytecode.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@252 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp/instruction.h')
-rw-r--r--src/decomp/instruction.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/decomp/instruction.h b/src/decomp/instruction.h
index 9c8a935..d8fe46c 100644
--- a/src/decomp/instruction.h
+++ b/src/decomp/instruction.h
@@ -56,4 +56,24 @@ void g_dec_instruction_print(const GDecInstruction *, GCodeBuffer *, GBufferLine
+/* -------------------- TRAITEMENT DES INSTRUCTIONS PAR ENSEMBLE -------------------- */
+
+
+/* Fournit la dernière instruction décompilée de l'ensemble. */
+GDecInstruction *g_dec_instruction_get_last(GDecInstruction *);
+
+/* Ajoute une instruction à un ensemble existant. */
+void g_dec_instruction_add_to_list(GDecInstruction **, GDecInstruction *);
+
+/* Supprime une instruction de l'ensemble décompilé. */
+void g_dec_instruction_delete(GDecInstruction **, GDecInstruction *);
+
+/* Fournit l'élement suivant un autre pour un parcours. */
+GDecInstruction *g_dec_instruction_get_next_iter(const GDecInstruction *, const GDecInstruction *);
+
+/* Fournit l'élement précédant un autre pour un parcours. */
+GDecInstruction *g_dec_instruction_get_prev_iter(const GDecInstruction *, const GDecInstruction *);
+
+
+
#endif /* _DECOMP_INSTRUCTION_H */