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
TMS320C64x
TMS320C64xModule.c
Go to the documentation of this file.
1
/* Capstone Disassembly Engine */
2
/* TMS320C64x Backend by Fotis Loukos <me@fotisl.com> 2016 */
3
4
#ifdef CAPSTONE_HAS_TMS320C64X
5
6
#include "../../utils.h"
7
#include "../../MCRegisterInfo.h"
8
#include "
TMS320C64xDisassembler.h
"
9
#include "
TMS320C64xInstPrinter.h
"
10
#include "
TMS320C64xMapping.h
"
11
#include "
TMS320C64xModule.h
"
12
13
cs_err
TMS320C64x_global_init
(
cs_struct
*ud)
14
{
15
MCRegisterInfo
*mri;
16
17
mri =
cs_mem_malloc
(
sizeof
(*mri));
18
19
TMS320C64x_init
(mri);
20
ud->
printer
=
TMS320C64x_printInst
;
21
ud->
printer_info
= mri;
22
ud->
getinsn_info
= mri;
23
ud->
disasm
=
TMS320C64x_getInstruction
;
24
ud->
post_printer
=
TMS320C64x_post_printer
;
25
26
ud->
reg_name
=
TMS320C64x_reg_name
;
27
ud->
insn_id
=
TMS320C64x_get_insn_id
;
28
ud->
insn_name
=
TMS320C64x_insn_name
;
29
ud->
group_name
=
TMS320C64x_group_name
;
30
31
return
CS_ERR_OK
;
32
}
33
34
cs_err
TMS320C64x_option
(
cs_struct
*
handle
,
cs_opt_type
type
,
size_t
value
)
35
{
36
return
CS_ERR_OK
;
37
}
38
39
#endif
TMS320C64x_insn_name
const char * TMS320C64x_insn_name(csh handle, unsigned int id)
cs_mem_malloc
cs_malloc_t cs_mem_malloc
Definition:
cs.c:368
cs_opt_type
cs_opt_type
Runtime option for the disassembled engine.
Definition:
capstone.h:169
cs_struct::disasm
Disasm_t disasm
Definition:
cs_priv.h:56
TMS320C64x_reg_name
const char * TMS320C64x_reg_name(csh handle, unsigned int reg)
TMS320C64xModule.h
TMS320C64x_init
void TMS320C64x_init(MCRegisterInfo *MRI)
cs_struct
Definition:
cs_priv.h:51
cs_struct::printer_info
void * printer_info
Definition:
cs_priv.h:55
capstone.CS_ERR_OK
CS_ERR_OK
Definition:
third_party/bloaty/third_party/capstone/bindings/python/capstone/__init__.py:237
TMS320C64x_global_init
cs_err TMS320C64x_global_init(cs_struct *ud)
cs_struct::insn_name
GetName_t insn_name
Definition:
cs_priv.h:59
cs_struct::getinsn_info
void * getinsn_info
Definition:
cs_priv.h:57
cs_struct::printer
Printer_t printer
Definition:
cs_priv.h:54
TMS320C64x_group_name
const char * TMS320C64x_group_name(csh handle, unsigned int id)
TMS320C64xMapping.h
TMS320C64x_printInst
void TMS320C64x_printInst(MCInst *MI, SStream *O, void *Info)
value
const char * value
Definition:
hpack_parser_table.cc:165
TMS320C64xInstPrinter.h
TMS320C64x_post_printer
void TMS320C64x_post_printer(csh ud, cs_insn *insn, char *insn_asm, MCInst *mci)
cs_struct::insn_id
GetID_t insn_id
Definition:
cs_priv.h:61
cs_struct::group_name
GetName_t group_name
Definition:
cs_priv.h:60
TMS320C64xDisassembler.h
cs_struct::reg_name
GetName_t reg_name
Definition:
cs_priv.h:58
cs_struct::post_printer
PostPrinter_t post_printer
Definition:
cs_priv.h:62
TMS320C64x_getInstruction
bool TMS320C64x_getInstruction(csh ud, const uint8_t *code, size_t code_len, MCInst *instr, uint16_t *size, uint64_t address, void *info)
handle
static csh handle
Definition:
test_arm_regression.c:16
MCRegisterInfo
Definition:
MCRegisterInfo.h:78
asyncio_get_stats.type
type
Definition:
asyncio_get_stats.py:37
TMS320C64x_option
cs_err TMS320C64x_option(cs_struct *handle, cs_opt_type type, size_t value)
TMS320C64x_get_insn_id
void TMS320C64x_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:40