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
Enumerations | Functions
target_arch_x86.h File Reference
#include "config.h"
#include "arch.h"
#include "arch_x86.h"
#include "arch_x86_64.h"
#include "target_api.h"
Include dependency graph for target_arch_x86.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  arch_x86_v2p_flags_t {
  ARCH_X86_V2P_NOTPAGING = 1 << 0, ARCH_X86_V2P_PAE = 1 << 1, ARCH_X86_V2P_NOPSE = 1 << 2, ARCH_X86_V2P_NOPSE36 = 1 << 3,
  ARCH_X86_V2P_NOPSE40 = 1 << 4, ARCH_X86_V2P_LMA = 1 << 5, ARCH_X86_V2P_PV = 1 << 6
}
 

Functions

int target_arch_x86_v2p_get_flags (struct target *target, REGVAL cr0, REGVAL cr4, REGVAL msr_efer, REGVAL cpuid_edx, arch_x86_v2p_flags_t *flags)
 
int target_arch_x86_v2p (struct target *target, ADDR pgd, ADDR virt, arch_x86_v2p_flags_t flags, ADDR *phys)
 
int target_arch_x86_v2p_flags_snprintf (struct target *target, arch_x86_v2p_flags_t flags, char *buf, unsigned int bufsiz)
 

Enumeration Type Documentation

Enumerator
ARCH_X86_V2P_NOTPAGING 
ARCH_X86_V2P_PAE 
ARCH_X86_V2P_NOPSE 
ARCH_X86_V2P_NOPSE36 
ARCH_X86_V2P_NOPSE40 
ARCH_X86_V2P_LMA 
ARCH_X86_V2P_PV 

Definition at line 28 of file target_arch_x86.h.

Function Documentation

int target_arch_x86_v2p ( struct target target,
ADDR  pgd,
ADDR  virt,
arch_x86_v2p_flags_t  flags,
ADDR phys 
)

Definition at line 87 of file target_arch_x86.c.

int target_arch_x86_v2p_flags_snprintf ( struct target target,
arch_x86_v2p_flags_t  flags,
char *  buf,
unsigned int  bufsiz 
)

Definition at line 350 of file target_arch_x86.c.

int target_arch_x86_v2p_get_flags ( struct target target,
REGVAL  cr0,
REGVAL  cr4,
REGVAL  msr_efer,
REGVAL  cpuid_edx,
arch_x86_v2p_flags_t flags 
)

Definition at line 42 of file target_arch_x86.c.