2014-04-28 11:19:44 +08:00
|
|
|
/* 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
|
|
|
|
2015-02-24 11:55:55 +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);
|
|
|
|
|
2014-05-07 08:25:24 +08:00
|
|
|
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
|
|
|
|
|