#include <stdio.h>
#include <capstone/platform.h>
#include <capstone/capstone.h>
Go to the source code of this file.
|
#define | PPC_CODE "\x43\x20\x0c\x07\x41\x56\xff\x17\x80\x20\x00\x00\x80\x3f\x00\x00\x10\x43\x23\x0e\xd0\x44\x00\x80\x4c\x43\x22\x02\x2d\x03\x00\x80\x7c\x43\x20\x14\x7c\x43\x20\x93\x4f\x20\x00\x21\x4c\xc8\x00\x21\x40\x82\x00\x14" |
|
#define | PPC_CODE2 "\x10\x60\x2a\x10\x10\x64\x28\x88\x7c\x4a\x5d\x0f" |
|
◆ PPC_CODE
#define PPC_CODE "\x43\x20\x0c\x07\x41\x56\xff\x17\x80\x20\x00\x00\x80\x3f\x00\x00\x10\x43\x23\x0e\xd0\x44\x00\x80\x4c\x43\x22\x02\x2d\x03\x00\x80\x7c\x43\x20\x14\x7c\x43\x20\x93\x4f\x20\x00\x21\x4c\xc8\x00\x21\x40\x82\x00\x14" |
◆ PPC_CODE2
#define PPC_CODE2 "\x10\x60\x2a\x10\x10\x64\x28\x88\x7c\x4a\x5d\x0f" |
◆ get_bc_name()
static const char* get_bc_name |
( |
int |
bc | ) |
|
|
static |
◆ main()
◆ print_insn_detail()
static void print_insn_detail |
( |
cs_insn * |
ins | ) |
|
|
static |
◆ print_string_hex()
static void print_string_hex |
( |
const char * |
comment, |
|
|
unsigned char * |
str, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ test()
◆ handle