| 1 | /* Capstone Disassembly Engine */ |
| 2 | /* RISC-V Backend By Rodrigo Cortes Porto <[email protected]> & |
| 3 | Shawn Chang <[email protected]>, HardenedLinux@2018 */ |
| 4 | |
| 5 | #ifndef CS_RISCVDISASSEMBLER_H |
| 6 | #define CS_RISCVDISASSEMBLER_H |
| 7 | |
| 8 | #include "../../include/capstone/capstone.h" |
| 9 | #include "../../MCRegisterInfo.h" |
| 10 | #include "../../MCInst.h" |
| 11 | |
| 12 | void RISCV_init(MCRegisterInfo *MRI); |
| 13 | |
| 14 | bool RISCV_getInstruction(csh ud, const uint8_t *code, size_t code_len, |
| 15 | MCInst *instr, uint16_t *size, uint64_t address, |
| 16 | void *info); |
| 17 | |
| 18 | #endif |