aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/arch/WASM/WASMDisassembler.h
diff options
context:
space:
mode:
Diffstat (limited to 'capstone/arch/WASM/WASMDisassembler.h')
-rw-r--r--capstone/arch/WASM/WASMDisassembler.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/capstone/arch/WASM/WASMDisassembler.h b/capstone/arch/WASM/WASMDisassembler.h
new file mode 100644
index 000000000..ca79a7ffd
--- /dev/null
+++ b/capstone/arch/WASM/WASMDisassembler.h
@@ -0,0 +1,12 @@
+/* Capstone Disassembly Engine */
+/* By Spike, xwings 2019 */
+
+#ifndef CS_WASMDISASSEMBLER_H
+#define CS_WASMDISASSEMBLER_H
+
+#include "../../MCInst.h"
+
+bool WASM_getInstruction(csh ud, const uint8_t *code, size_t code_len,
+ MCInst *instr, uint16_t *size, uint64_t address, void *info);
+
+#endif