Go to the documentation of this file.
2 #if defined(_MSC_VER) && _MSC_VER < 1900
3 #define _CRT_SECURE_NO_WARNINGS
28 "X86 32 (Intel syntax)"
34 "X86 64 (Intel syntax)"
76 "MIPS-32 (Big-endian)"
88 "MIPS-64-EL (Little-endian)"
94 "MIPS-32-EL (Little-endian)"
100 "MIPS-64 (Big-endian)"
106 "MIPS-32 | Micro (Big-endian)"
142 "MIPS-32R6 (Big-endian)"
148 "MIPS-32R6 (Micro+Big-endian)"
154 "MIPS-32R6 (Little-endian)"
160 "MIPS-32R6 (Micro+Little-endian)"
180 #ifdef CAPSTONE_HAS_MOS65XX
199 }
else if (Size > 0x1000) {
206 outfile = fopen(
"/dev/null",
"w");
213 int i = (
int)Data[0] % platforms_len;
229 for (j = 0; j <
count; j++) {
230 cs_insn *
i = &(all_insn[j]);
231 fprintf(
outfile,
"0x%"PRIx64
":\t%s\t\t%s // insn-ID: %u, insn-mnem: %s\n",
232 i->address,
i->mnemonic,
i->op_str,
237 if (
detail->regs_read_count > 0) {
238 fprintf(
outfile,
"\tImplicit registers read: ");
239 for (
n = 0;
n <
detail->regs_read_count;
n++) {
244 if (
detail->regs_write_count > 0) {
245 fprintf(
outfile,
"\tImplicit registers modified: ");
246 for (
n = 0;
n <
detail->regs_write_count;
n++) {
251 if (
detail->groups_count > 0) {
252 fprintf(
outfile,
"\tThis instruction belongs to groups: ");
253 for (
n = 0;
n <
detail->groups_count;
n++) {
259 fprintf(
outfile,
"0x%"PRIx64
":\n", all_insn[j-1].address + all_insn[j-1].
size);
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_close(csh *handle)
@ CS_MODE_32
32-bit mode (X86)
@ CS_ARCH_M68K
68K architecture
@ CS_ARCH_MOS65XX
MOS65XX architecture (including MOS6502)
CAPSTONE_EXPORT size_t CAPSTONE_API cs_disasm(csh ud, const uint8_t *buffer, size_t size, uint64_t offset, size_t count, cs_insn **insn)
@ CS_ARCH_PPC
PowerPC architecture.
int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size)
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_open(cs_arch arch, cs_mode mode, csh *handle)
cs_arch
Architecture type.
@ CS_OPT_DETAIL
Break down instruction structure into details.
@ CS_ARCH_EVM
Ethereum architecture.
@ CS_ARCH_M680X
680X architecture
CAPSTONE_EXPORT cs_err CAPSTONE_API cs_option(csh ud, cs_opt_type type, size_t value)
@ CS_MODE_MICRO
MicroMips mode (MIPS)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_insn_name(csh ud, unsigned int insn)
@ CS_ARCH_SYSZ
SystemZ architecture.
const CAPSTONE_EXPORT char *CAPSTONE_API cs_reg_name(csh ud, unsigned int reg)
@ CS_ARCH_X86
X86 architecture (including x86 & x86-64)
unsigned __int64 uint64_t
@ CS_OPT_ON
Turn ON an option (CS_OPT_DETAIL, CS_OPT_SKIPDATA).
@ CS_MODE_THUMB
ARM's Thumb mode, including Thumb-2.
@ CS_MODE_BIG_ENDIAN
big-endian mode
@ CS_MODE_MIPS32R6
Mips32r6 ISA.
@ CS_MODE_MCLASS
ARM's Cortex-M series.
@ CS_MODE_M680X_6809
M680X Motorola 6809 mode.
@ CS_ARCH_SPARC
Sparc architecture.
@ CS_ARCH_MIPS
Mips architecture.
@ CS_MODE_MIPS64
Mips64 ISA (Mips)
@ CS_MODE_64
64-bit mode (X86, PPC)
@ CS_ARCH_ARM
ARM architecture (including Thumb, Thumb-2)
const CAPSTONE_EXPORT char *CAPSTONE_API cs_group_name(csh ud, unsigned int group)
static struct platform platforms[]
CAPSTONE_EXPORT void CAPSTONE_API cs_free(cs_insn *insn, size_t count)
@ CS_MODE_V9
SparcV9 mode (Sparc)
@ CS_ARCH_ARM64
ARM-64, also called AArch64.
@ CS_MODE_MIPS32
Mips32 ISA (Mips)
@ CS_ARCH_XCORE
XCore architecture.
@ CS_MODE_V8
ARMv8 A32 encodings for ARM.
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:22