Small framework for decompiler
Jeffrey Pfau jeffrey@endrift.com
Wed, 30 Oct 2013 23:22:38 -0700
2 files changed,
18 insertions(+),
0 deletions(-)
A
src/arm/decompiler.c
@@ -0,0 +1,6 @@
+#include "decompiler.h" + +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) { + // TODO + info->opcode = opcode; +}
A
src/arm/decompiler.h
@@ -0,0 +1,12 @@
+#ifndef ARM_DECOMPILER_H +#define ARM_DECOMPILER_H + +#include <stdint.h> + +struct ThumbInstructionInfo { + uint16_t opcode; +}; + +void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info); + +#endif