| 1 | /* Capstone Disassembly Engine */ |
| 2 | /* By Nguyen Anh Quynh, 2018 */ |
| 3 | |
| 4 | #ifndef CS_SHDISASSEMBLER_H |
| 5 | #define CS_SHDISASSEMBLER_H |
| 6 | |
| 7 | #include "../../MCInst.h" |
| 8 | |
| 9 | typedef struct sh_info { |
| 10 | cs_sh op; |
| 11 | } sh_info; |
| 12 | |
| 13 | bool SH_getInstruction(csh ud, const uint8_t *code, size_t code_len, |
| 14 | MCInst *instr, uint16_t *size, uint64_t address, void *info); |
| 15 | |
| 16 | void SH_reg_access(const cs_insn *insn, |
| 17 | cs_regs regs_read, uint8_t *regs_read_count, |
| 18 | cs_regs regs_write, uint8_t *regs_write_count); |
| 19 | #endif |