miasm
Reverse engineering framework
|
#include <Python.h>
#include "structmember.h"
#include <stdint.h>
#include <inttypes.h>
#include "../compat_py23.h"
#include "../queue.h"
#include "../vm_mngr.h"
#include "../bn.h"
#include "../vm_mngr_py.h"
#include "../JitCore.h"
#include "JitCore_msp430.h"
Functions | |
PyObject * | cpu_get_gpreg (JitCpu *self) |
PyObject * | cpu_set_gpreg (JitCpu *self, PyObject *args) |
PyObject * | cpu_init_regs (JitCpu *self) |
void | dump_gpregs (struct vm_cpu *vmcpu) |
PyObject * | cpu_dump_gpregs (JitCpu *self, PyObject *args) |
PyObject * | cpu_dump_gpregs_with_attrib (JitCpu *self, PyObject *args) |
PyObject * | cpu_set_exception (JitCpu *self, PyObject *args) |
PyObject * | cpu_get_exception (JitCpu *self, PyObject *args) |
void | MEM_WRITE_08 (JitCpu *jitcpu, uint64_t addr, uint8_t src) |
void | MEM_WRITE_16 (JitCpu *jitcpu, uint64_t addr, uint16_t src) |
void | MEM_WRITE_32 (JitCpu *jitcpu, uint64_t addr, uint32_t src) |
void | MEM_WRITE_64 (JitCpu *jitcpu, uint64_t addr, uint64_t src) |
getset_reg_u16 (PC) | |
getset_reg_u16 (SP) | |
getset_reg_u16 (R3) | |
getset_reg_u16 (R4) | |
getset_reg_u16 (R5) | |
getset_reg_u16 (R6) | |
getset_reg_u16 (R7) | |
getset_reg_u16 (R8) | |
getset_reg_u16 (R9) | |
getset_reg_u16 (R10) | |
getset_reg_u16 (R11) | |
getset_reg_u16 (R12) | |
getset_reg_u16 (R13) | |
getset_reg_u16 (R14) | |
getset_reg_u16 (R15) | |
getset_reg_u16 (zf) | |
getset_reg_u16 (nf) | |
getset_reg_u16 (of) | |
getset_reg_u16 (cf) | |
getset_reg_u16 (cpuoff) | |
getset_reg_u16 (gie) | |
getset_reg_u16 (osc) | |
getset_reg_u16 (scg0) | |
getset_reg_u16 (scg1) | |
getset_reg_u16 (res) | |
PyObject * | get_gpreg_offset_all (void) |
MOD_INIT (JitCore_msp430) | |
Variables | |
reg_dict | gpreg_dict [] |
PyObject* cpu_dump_gpregs | ( | JitCpu * | self, |
PyObject * | args | ||
) |
PyObject* cpu_dump_gpregs_with_attrib | ( | JitCpu * | self, |
PyObject * | args | ||
) |
PyObject* cpu_get_exception | ( | JitCpu * | self, |
PyObject * | args | ||
) |
PyObject* cpu_get_gpreg | ( | JitCpu * | self | ) |
PyObject* cpu_init_regs | ( | JitCpu * | self | ) |
PyObject* cpu_set_exception | ( | JitCpu * | self, |
PyObject * | args | ||
) |
PyObject* cpu_set_gpreg | ( | JitCpu * | self, |
PyObject * | args | ||
) |
void dump_gpregs | ( | struct vm_cpu * | vmcpu | ) |
PyObject* get_gpreg_offset_all | ( | void | ) |
getset_reg_u16 | ( | cf | ) |
getset_reg_u16 | ( | cpuoff | ) |
getset_reg_u16 | ( | gie | ) |
getset_reg_u16 | ( | nf | ) |
getset_reg_u16 | ( | of | ) |
getset_reg_u16 | ( | osc | ) |
getset_reg_u16 | ( | PC | ) |
getset_reg_u16 | ( | R10 | ) |
getset_reg_u16 | ( | R11 | ) |
getset_reg_u16 | ( | R12 | ) |
getset_reg_u16 | ( | R13 | ) |
getset_reg_u16 | ( | R14 | ) |
getset_reg_u16 | ( | R15 | ) |
getset_reg_u16 | ( | R3 | ) |
getset_reg_u16 | ( | R4 | ) |
getset_reg_u16 | ( | R5 | ) |
getset_reg_u16 | ( | R6 | ) |
getset_reg_u16 | ( | R7 | ) |
getset_reg_u16 | ( | R8 | ) |
getset_reg_u16 | ( | R9 | ) |
getset_reg_u16 | ( | res | ) |
getset_reg_u16 | ( | scg0 | ) |
getset_reg_u16 | ( | scg1 | ) |
getset_reg_u16 | ( | SP | ) |
getset_reg_u16 | ( | zf | ) |
void MEM_WRITE_08 | ( | JitCpu * | jitcpu, |
uint64_t | addr, | ||
uint8_t | src | ||
) |
void MEM_WRITE_16 | ( | JitCpu * | jitcpu, |
uint64_t | addr, | ||
uint16_t | src | ||
) |
void MEM_WRITE_32 | ( | JitCpu * | jitcpu, |
uint64_t | addr, | ||
uint32_t | src | ||
) |
void MEM_WRITE_64 | ( | JitCpu * | jitcpu, |
uint64_t | addr, | ||
uint64_t | src | ||
) |
MOD_INIT | ( | JitCore_msp430 | ) |
reg_dict gpreg_dict[] |