Debian Codegraph @

arch/PowerPC/PPCMapping.h

raw symbols SCIP
1 /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/PowerPC/PPCMapping.h`/
2 /* By Nguyen Anh Quynh <[email protected]>, 2013-2015 */
3
4 #ifndef CS_PPC_MAP_H
5 #define CS_PPC_MAP_Hcxx . . $ `arch/PowerPC/PPCMapping.h:5:9`!
6
7 #include "capstone/capstone.h"cxx . . $ `<file>/include/capstone/capstone.h`/
8
9 // return name of regiser in friendly string
10 const char *PPC_reg_namecxx . . $ PPC_reg_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int reg);
11
12 // return register id, given register name
13 ppc_regcxx . . $ ppc_reg# PPC_name_regcxx . . $ PPC_name_reg(4780a8c9a5635c0).(const char *name);
14
15 // given internal insn id, return public instruction info
16 void PPC_get_insn_idcxx . . $ PPC_get_insn_id(b32a94ba649bfb5a).(cs_structcxx . . $ cs_struct# *h, cs_insncxx . . $ cs_insn# *insn, unsigned int id);
17
18 const char *PPC_insn_namecxx . . $ PPC_insn_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id);
19 const char *PPC_group_namecxx . . $ PPC_group_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id);
20
21 struct ppc_aliascxx . . $ ppc_alias# {
22 unsigned int idcxx . . $ ppc_alias#id.; // instruction id
23 int cccxx . . $ ppc_alias#cc.; // code condition
24 const char *mnemcxx . . $ ppc_alias#mnem.;
25 };
26
27 // map instruction name to public instruction ID
28 ppc_insncxx . . $ ppc_insn# PPC_map_insncxx . . $ PPC_map_insn(f6f8a50103cb1f83).(const char *name);
29
30 // check if this insn is relative branch
31 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! PPC_abs_branchcxx . . $ PPC_abs_branch(39412e1dc8bf7218).(cs_structcxx . . $ cs_struct# *h, unsigned int id);
32
33 // map internal raw register to 'public' register
34 ppc_regcxx . . $ ppc_reg# PPC_map_registercxx . . $ PPC_map_register(ef25ef89f5e0f641).(unsigned int r);
35
36 // given alias mnemonic, return instruction ID & CC
37 boolcxx . . $ `<external>/13015445228558014418/stdbool.h:36:9`! PPC_alias_insncxx . . $ PPC_alias_insn(f2a763a00d1136be).(const char *name, struct ppc_aliascxx . . $ ppc_alias# *alias);
38
39 #endif
40