Classes | Typedefs | Functions | Variables
MOS65XXDisassembler.c File Reference
#include "capstone/mos65xx.h"
#include "MOS65XXDisassembler.h"
Include dependency graph for MOS65XXDisassembler.c:

Go to the source code of this file.

Classes

struct  InstructionInfo
 
struct  OpInfo
 

Typedefs

typedef struct InstructionInfo InstructionInfo
 
typedef struct OpInfo OpInfo
 

Functions

static void fillDetails (MCInst *MI, unsigned char opcode)
 
static int getInstructionLength (mos65xx_address_mode am)
 
void MOS65XX_get_insn_id (cs_struct *h, cs_insn *insn, unsigned int id)
 
bool MOS65XX_getInstruction (csh ud, const uint8_t *code, size_t code_len, MCInst *MI, uint16_t *size, uint64_t address, void *inst_info)
 
const char * MOS65XX_group_name (csh handle, unsigned int id)
 
const char * MOS65XX_insn_name (csh handle, unsigned int id)
 
void MOS65XX_printInst (MCInst *MI, struct SStream *O, void *PrinterInfo)
 
const char * MOS65XX_reg_name (csh handle, unsigned int reg)
 

Variables

static const char * GroupNames []
 
static const struct InstructionInfo InstructionInfoTable []
 
static const struct OpInfo OpInfoTable []
 
static const char * RegNames []
 

Typedef Documentation

◆ InstructionInfo

◆ OpInfo

typedef struct OpInfo OpInfo

Function Documentation

◆ fillDetails()

static void fillDetails ( MCInst MI,
unsigned char  opcode 
)
static

Definition at line 382 of file MOS65XXDisassembler.c.

◆ getInstructionLength()

static int getInstructionLength ( mos65xx_address_mode  am)
static

Definition at line 354 of file MOS65XXDisassembler.c.

◆ MOS65XX_get_insn_id()

void MOS65XX_get_insn_id ( cs_struct h,
cs_insn *  insn,
unsigned int  id 
)

Definition at line 579 of file MOS65XXDisassembler.c.

◆ MOS65XX_getInstruction()

bool MOS65XX_getInstruction ( csh  ud,
const uint8_t code,
size_t  code_len,
MCInst MI,
uint16_t size,
uint64_t  address,
void *  inst_info 
)

Definition at line 509 of file MOS65XXDisassembler.c.

◆ MOS65XX_group_name()

const char* MOS65XX_group_name ( csh  handle,
unsigned int  id 
)

Definition at line 586 of file MOS65XXDisassembler.c.

◆ MOS65XX_insn_name()

const char* MOS65XX_insn_name ( csh  handle,
unsigned int  id 
)

Definition at line 555 of file MOS65XXDisassembler.c.

◆ MOS65XX_printInst()

void MOS65XX_printInst ( MCInst MI,
struct SStream O,
void *  PrinterInfo 
)

Definition at line 443 of file MOS65XXDisassembler.c.

◆ MOS65XX_reg_name()

const char* MOS65XX_reg_name ( csh  handle,
unsigned int  reg 
)

Definition at line 567 of file MOS65XXDisassembler.c.

Variable Documentation

◆ GroupNames

const char* GroupNames[]
static
Initial value:
= {
NULL,
"jump",
"call",
"ret",
NULL,
"iret",
"branch_relative"
}

Definition at line 276 of file MOS65XXDisassembler.c.

◆ InstructionInfoTable

const struct InstructionInfo InstructionInfoTable[]
static

Definition at line 293 of file MOS65XXDisassembler.c.

◆ OpInfoTable

const struct OpInfo OpInfoTable[]
static

Definition at line 12 of file MOS65XXDisassembler.c.

◆ RegNames

const char* RegNames[]
static
Initial value:
= {
"invalid", "A", "X", "Y", "P", "SP"
}

Definition at line 271 of file MOS65XXDisassembler.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:23