| 1 | /* Capstone Disassembly Engine */cxx . . $ `<file>/arch/BPF/BPFMapping.h`/ |
| 2 | /* BPF Backend by david942j <[email protected]>, 2019 */ |
| 3 | |
| 4 | #ifndef CS_BPFMAPPING_H |
| 5 | #define CS_BPFMAPPING_Hcxx . . $ `arch/BPF/BPFMapping.h:5:9`! |
| 6 | |
| 7 | #include <capstone/capstone.h>cxx . . $ `<file>/include/capstone/capstone.h`/ |
| 8 | |
| 9 | #include "../../cs_priv.h"cxx . . $ `<file>/cs_priv.h`/ |
| 10 | |
| 11 | #define EBPF_MODEcxx . . $ `arch/BPF/BPFMapping.h:11:9`!(ud) (((cs_struct*)ud)->mode & CS_MODE_BPF_EXTENDED) |
| 12 | |
| 13 | const char *BPF_group_namecxx . . $ BPF_group_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 14 | const char *BPF_insn_namecxx . . $ BPF_insn_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int id); |
| 15 | const char *BPF_reg_namecxx . . $ BPF_reg_name(efd1348d9ae5172e).(cshcxx . . $ csh# handle, unsigned int reg); |
| 16 | void BPF_get_insn_idcxx . . $ BPF_get_insn_id(b32a94ba649bfb5a).(cs_structcxx . . $ cs_struct# *h, cs_insncxx . . $ cs_insn# *insn, unsigned int id); |
| 17 | void BPF_reg_accesscxx . . $ BPF_reg_access(a4e53139cd2f126c).(const cs_insncxx . . $ cs_insn# *insn, |
| 18 | cs_regscxx . . $ cs_regs# regs_read, uint8_tcxx . . $ uint8_t# *regs_read_count, |
| 19 | cs_regscxx . . $ cs_regs# regs_write, uint8_tcxx . . $ uint8_t# *regs_write_count); |
| 20 | |
| 21 | #endif |