capstone/arch/PowerPC/PPCDisassembler.h

22 lines
499 B
C
Raw Normal View History

/* Capstone Disassembly Engine */
2015-03-04 17:45:23 +08:00
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
2013-12-30 00:29:32 +08:00
#ifndef CS_PPCDISASSEMBLER_H
#define CS_PPCDISASSEMBLER_H
2016-05-12 12:48:32 +08:00
#if !defined(_MSC_VER) || !defined(_KERNEL_MODE)
2013-12-30 00:29:32 +08:00
#include <stdint.h>
2016-05-12 12:48:32 +08:00
#endif
2013-12-30 00:29:32 +08:00
#include "capstone/capstone.h"
2013-12-30 00:29:32 +08:00
#include "../../MCRegisterInfo.h"
#include "../../MCInst.h"
void PPC_init(MCRegisterInfo *MRI);
bool PPC_getInstruction(csh ud, const uint8_t *code, size_t code_len,
2013-12-30 00:29:32 +08:00
MCInst *instr, uint16_t *size, uint64_t address, void *info);
#endif