summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/thumb_16.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2014-12-01 22:57:10 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2014-12-01 22:57:10 (GMT)
commit5b5b36dc862a3c7bcfa3e0db74efcf2806988706 (patch)
tree0c631ee484f2325ad182a5e527f1a6508ddf2d9a /src/arch/arm/v7/thumb_16.h
parent97d1cc10210cf4ec237e1d9a8b23b120ddef47c5 (diff)
Recognized Thumb 16 instructions and most of the Thumb 32 ones.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@430 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/thumb_16.h')
-rw-r--r--src/arch/arm/v7/thumb_16.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/arch/arm/v7/thumb_16.h b/src/arch/arm/v7/thumb_16.h
new file mode 100644
index 0000000..bc50fd8
--- /dev/null
+++ b/src/arch/arm/v7/thumb_16.h
@@ -0,0 +1,37 @@
+
+/* Chrysalide - Outil d'analyse de fichiers binaires
+ * thumb_16.h - prototypes pour le désassemblage des instructions ARMv7 Thumb 16 bits
+ *
+ * Copyright (C) 2014 Cyrille Bagard
+ *
+ * This file is part of Chrysalide.
+ *
+ * OpenIDA is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenIDA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _ARCH_ARM_V7_THUMB_16_H
+#define _ARCH_ARM_V7_THUMB_16_H
+
+
+#include "../../instruction.h"
+
+
+
+/* Désassemble une instruction ARMv7 en mode Thumb 16 bits. */
+GArchInstruction *process_armv7_thumb_16_instruction_set_encoding(uint16_t);
+
+
+
+#endif /* _ARCH_ARM_V7_THUMB_16_H */