Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
third_party
bloaty
third_party
capstone
arch
PowerPC
PPCMapping.h
Go to the documentation of this file.
1
/* Capstone Disassembly Engine */
2
/* By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2015 */
3
4
#ifndef CS_PPC_MAP_H
5
#define CS_PPC_MAP_H
6
7
#include "
capstone/capstone.h
"
8
9
// return name of regiser in friendly string
10
const
char
*
PPC_reg_name
(
csh
handle
,
unsigned
int
reg);
11
12
// given internal insn id, return public instruction info
13
void
PPC_get_insn_id
(
cs_struct
*h, cs_insn *insn,
unsigned
int
id
);
14
15
const
char
*
PPC_insn_name
(
csh
handle
,
unsigned
int
id
);
16
const
char
*
PPC_group_name
(
csh
handle
,
unsigned
int
id
);
17
18
// map internal raw register to 'public' register
19
ppc_reg
PPC_map_register
(
unsigned
int
r
);
20
21
struct
ppc_alias
{
22
unsigned
int
id
;
// instruction id
23
int
cc
;
// code condition
24
const
char
*
mnem
;
25
};
26
27
// given alias mnemonic, return instruction ID & CC
28
bool
PPC_alias_insn
(
const
char
*
name
,
struct
ppc_alias
*alias);
29
30
// check if this insn is relative branch
31
bool
PPC_abs_branch
(
cs_struct
*h,
unsigned
int
id
);
32
33
#endif
34
ppc_reg
ppc_reg
PPC registers.
Definition:
ppc.h:51
PPC_group_name
const char * PPC_group_name(csh handle, unsigned int id)
setup.name
name
Definition:
setup.py:542
PPC_map_register
ppc_reg PPC_map_register(unsigned int r)
PPC_alias_insn
bool PPC_alias_insn(const char *name, struct ppc_alias *alias)
PPC_abs_branch
bool PPC_abs_branch(cs_struct *h, unsigned int id)
cs_struct
Definition:
cs_priv.h:51
capstone.h
PPC_insn_name
const char * PPC_insn_name(csh handle, unsigned int id)
ppc_alias::cc
int cc
Definition:
PPCMapping.h:23
PPC_get_insn_id
void PPC_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
PPC_reg_name
const char * PPC_reg_name(csh handle, unsigned int reg)
csh
size_t csh
Definition:
capstone.h:71
fix_build_deps.r
r
Definition:
fix_build_deps.py:491
ppc_alias::mnem
const char * mnem
Definition:
PPCMapping.h:24
handle
static csh handle
Definition:
test_arm_regression.c:16
ppc_alias::id
unsigned int id
Definition:
PPCMapping.h:22
ppc_alias
Definition:
PPCMapping.h:21
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:54