miasm
Reverse engineering framework
JitCore.c File Reference
#include <Python.h>
#include "structmember.h"
#include <stdint.h>
#include <limits.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 dependency graph for JitCore.c:

Functions

void JitCpu_dealloc (JitCpu *self)
 
PyObject * JitCpu_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
PyObject * JitCpu_get_vmmngr (JitCpu *self, void *closure)
 
PyObject * JitCpu_set_vmmngr (JitCpu *self, PyObject *value, void *closure)
 
PyObject * JitCpu_get_vmcpu (JitCpu *self, void *closure)
 
PyObject * JitCpu_set_vmcpu (JitCpu *self, PyObject *value, void *closure)
 
PyObject * JitCpu_get_jitter (JitCpu *self, void *closure)
 
PyObject * JitCpu_set_jitter (JitCpu *self, PyObject *value, void *closure)
 
uint8_t MEM_LOOKUP_08 (JitCpu *jitcpu, uint64_t addr)
 
uint16_t MEM_LOOKUP_16 (JitCpu *jitcpu, uint64_t addr)
 
uint32_t MEM_LOOKUP_32 (JitCpu *jitcpu, uint64_t addr)
 
uint64_t MEM_LOOKUP_64 (JitCpu *jitcpu, uint64_t addr)
 
bn_t MEM_LOOKUP_BN_BN (JitCpu *jitcpu, int size, bn_t addr)
 
uint64_t MEM_LOOKUP_BN_INT (JitCpu *jitcpu, int size, bn_t addr)
 
bn_t MEM_LOOKUP_INT_BN (JitCpu *jitcpu, int size, uint64_t addr)
 
void MEM_LOOKUP_INT_BN_TO_PTR (JitCpu *jitcpu, int size, uint64_t addr, char *ptr)
 
void MEM_WRITE_BN_BN (JitCpu *jitcpu, int size, bn_t addr, bn_t src)
 
void MEM_WRITE_BN_INT (JitCpu *jitcpu, int size, bn_t addr, uint64_t src)
 
void MEM_WRITE_INT_BN (JitCpu *jitcpu, int size, uint64_t addr, bn_t src)
 
void MEM_WRITE_INT_BN_FROM_PTR (JitCpu *jitcpu, int size, uint64_t addr, char *ptr)
 

Function Documentation

◆ JitCpu_dealloc()

void JitCpu_dealloc ( JitCpu self)

◆ JitCpu_get_jitter()

PyObject* JitCpu_get_jitter ( JitCpu self,
void *  closure 
)

◆ JitCpu_get_vmcpu()

PyObject* JitCpu_get_vmcpu ( JitCpu self,
void *  closure 
)
Here is the call graph for this function:

◆ JitCpu_get_vmmngr()

PyObject* JitCpu_get_vmmngr ( JitCpu self,
void *  closure 
)

◆ JitCpu_new()

PyObject* JitCpu_new ( PyTypeObject *  type,
PyObject *  args,
PyObject *  kwds 
)

◆ JitCpu_set_jitter()

PyObject* JitCpu_set_jitter ( JitCpu self,
PyObject *  value,
void *  closure 
)

◆ JitCpu_set_vmcpu()

PyObject* JitCpu_set_vmcpu ( JitCpu self,
PyObject *  value,
void *  closure 
)

◆ JitCpu_set_vmmngr()

PyObject* JitCpu_set_vmmngr ( JitCpu self,
PyObject *  value,
void *  closure 
)

◆ MEM_LOOKUP_08()

uint8_t MEM_LOOKUP_08 ( JitCpu jitcpu,
uint64_t  addr 
)
Here is the call graph for this function:

◆ MEM_LOOKUP_16()

uint16_t MEM_LOOKUP_16 ( JitCpu jitcpu,
uint64_t  addr 
)
Here is the call graph for this function:

◆ MEM_LOOKUP_32()

uint32_t MEM_LOOKUP_32 ( JitCpu jitcpu,
uint64_t  addr 
)
Here is the call graph for this function:

◆ MEM_LOOKUP_64()

uint64_t MEM_LOOKUP_64 ( JitCpu jitcpu,
uint64_t  addr 
)
Here is the call graph for this function:

◆ MEM_LOOKUP_BN_BN()

bn_t MEM_LOOKUP_BN_BN ( JitCpu jitcpu,
int  size,
bn_t  addr 
)
Here is the call graph for this function:

◆ MEM_LOOKUP_BN_INT()

uint64_t MEM_LOOKUP_BN_INT ( JitCpu jitcpu,
int  size,
bn_t  addr 
)
Here is the call graph for this function:

◆ MEM_LOOKUP_INT_BN()

bn_t MEM_LOOKUP_INT_BN ( JitCpu jitcpu,
int  size,
uint64_t  addr 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEM_LOOKUP_INT_BN_TO_PTR()

void MEM_LOOKUP_INT_BN_TO_PTR ( JitCpu jitcpu,
int  size,
uint64_t  addr,
char *  ptr 
)
Here is the call graph for this function:

◆ MEM_WRITE_BN_BN()

void MEM_WRITE_BN_BN ( JitCpu jitcpu,
int  size,
bn_t  addr,
bn_t  src 
)
Here is the call graph for this function:

◆ MEM_WRITE_BN_INT()

void MEM_WRITE_BN_INT ( JitCpu jitcpu,
int  size,
bn_t  addr,
uint64_t  src 
)
Here is the call graph for this function:

◆ MEM_WRITE_INT_BN()

void MEM_WRITE_INT_BN ( JitCpu jitcpu,
int  size,
uint64_t  addr,
bn_t  src 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ MEM_WRITE_INT_BN_FROM_PTR()

void MEM_WRITE_INT_BN_FROM_PTR ( JitCpu jitcpu,
int  size,
uint64_t  addr,
char *  ptr 
)
Here is the call graph for this function: