Small framework for decompiler

This commit is contained in:
Jeffrey Pfau 2013-10-30 23:22:38 -07:00
parent 4c1014685f
commit 5b91d6d336
2 changed files with 18 additions and 0 deletions

6
src/arm/decompiler.c Normal file
View File

@ -0,0 +1,6 @@
#include "decompiler.h"
void ARMDecodeThumb(uint16_t opcode, struct ThumbInstructionInfo* info) {
// TODO
info->opcode = opcode;
}

12
src/arm/decompiler.h Normal file
View File

@ -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