Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
arch.c File Reference
#include "log.h"
#include "arch.h"
Include dependency graph for arch.c:

Go to the source code of this file.

Functions

struct archarch_get (arch_type_t at)
 
int arch_has_reg (struct arch *arch, REG reg)
 
unsigned int arch_regsize (struct arch *arch, REG reg)
 
const char * arch_regname (struct arch *arch, REG reg)
 
int arch_regno (struct arch *arch, char *name, REG *reg)
 
int arch_cregno (struct arch *arch, common_reg_t creg, REG *reg)
 

Variables

struct arch arch_x86
 
struct arch arch_x86_64
 

Function Documentation

int arch_cregno ( struct arch arch,
common_reg_t  creg,
REG reg 
)

Definition at line 73 of file arch.c.

struct arch* arch_get ( arch_type_t  at)

Definition at line 25 of file arch.c.

int arch_has_reg ( struct arch arch,
REG  reg 
)

Definition at line 36 of file arch.c.

const char* arch_regname ( struct arch arch,
REG  reg 
)

Definition at line 51 of file arch.c.

int arch_regno ( struct arch arch,
char *  name,
REG reg 
)

Definition at line 58 of file arch.c.

unsigned int arch_regsize ( struct arch arch,
REG  reg 
)

Definition at line 44 of file arch.c.

Variable Documentation

struct arch arch_x86

Definition at line 79 of file arch_x86.c.

struct arch arch_x86_64

Definition at line 92 of file arch_x86_64.c.