| 1 | /* Capstone Disassembly Engine */ |
| 2 | /* By Nguyen Anh Quynh <[email protected]>, 2013-2019 */ |
| 3 | |
| 4 | #ifndef CS_TRICORE_LINKAGE_H |
| 5 | #define CS_TRICORE_LINKAGE_H |
| 6 | |
| 7 | // Function defintions to call static LLVM functions. |
| 8 | |
| 9 | #include "../../MCDisassembler.h" |
| 10 | #include "../../MCInst.h" |
| 11 | #include "../../MCRegisterInfo.h" |
| 12 | #include "../../SStream.h" |
| 13 | #include "capstone/capstone.h" |
| 14 | |
| 15 | bool TriCore_LLVM_getInstruction(csh handle, const uint8_t *Bytes, |
| 16 | size_t ByteLen, MCInst *MI, uint16_t *Size, |
| 17 | uint64_t Address, void *Info); |
| 18 | const char *TriCore_LLVM_getRegisterName(unsigned RegNo); |
| 19 | void TriCore_LLVM_printInst(MCInst *MI, uint64_t Address, SStream *O); |
| 20 | |
| 21 | #endif // CS_TRICORE_LINKAGE_H |