#include <rz_util/rz_strbuf.h>
#include "opcodes_single.def"
#include "opcodes_double.def"
#include "opcodes_prefix.def"
Go to the source code of this file.
|
#define | OPCODE_SINGLE(name, str, param, byte, control) name = byte, |
|
#define | OPCODE_DOUBLE(name, str, param, byte, control) name = byte, |
|
#define | OPCODE_PREFIX(name, str, param, byte, control) name = byte, |
|
◆ OPCODE_DOUBLE
◆ OPCODE_PREFIX
◆ OPCODE_SINGLE
◆ anonymous enum
Definition at line 18 of file cil_dis.h.
19 #include "opcodes_single.def"
20 #include "opcodes_double.def"
21 #include "opcodes_prefix.def"
◆ cil_dis()
Disassemble a CIL buffer.
- Returns
- 0 on success, -1 on fail
Definition at line 150 of file cil_dis.c.
176 if (!opcode_reader.
str) {
190 if (opcode_reader.
prefix) {
static const CILOpcodeReader opcode_readers_single[]
static const CILOpcodeReader opcode_readers_double[]
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void start
RZ_API bool rz_strbuf_append(RzStrBuf *sb, const char *s)
RZ_API void rz_strbuf_init(RzStrBuf *sb)
int(* read_param)(int *pos, CILOp *op, const ut8 *buf, int len)
References len, opcode_readers_double, opcode_readers_single, pos, CILOpcodeReader::prefix, CILOpcodeReader::read_param, rz_strbuf_append(), rz_strbuf_init(), start, and CILOpcodeReader::str.
Referenced by cil_analyze_op(), and disassemble().