|
Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include "config.h"#include "common.h"#include "log.h"#include "target.h"#include "target_api.h"#include "target_arch_x86.h"
Go to the source code of this file.
Macros | |
| #define | PAGE_SHIFT 12 |
| #define | CR0_PG 0x80000000 |
| #define | CR4_PAE 0x20 |
| #define | EFER_LMA 0x400 |
| #define | PTE_PSE (1 << 7) |
| #define | PTE_DIRTY (1 << 5) |
| #define | PTE_NOCACHE (1 << 4) |
| #define | PTE_WRITETHROUGH (1 << 3) |
| #define | PTE_USER (1 << 2) |
| #define | PTE_WRITE (1 << 1) |
| #define | PTE_PRESENT (1 << 0) |
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) |
| #define CR0_PG 0x80000000 |
Definition at line 30 of file target_arch_x86.c.
| #define CR4_PAE 0x20 |
Definition at line 31 of file target_arch_x86.c.
| #define EFER_LMA 0x400 |
Definition at line 32 of file target_arch_x86.c.
| #define PAGE_SHIFT 12 |
Definition at line 27 of file target_arch_x86.c.
| #define PTE_DIRTY (1 << 5) |
Definition at line 35 of file target_arch_x86.c.
| #define PTE_NOCACHE (1 << 4) |
Definition at line 36 of file target_arch_x86.c.
| #define PTE_PRESENT (1 << 0) |
Definition at line 40 of file target_arch_x86.c.
| #define PTE_PSE (1 << 7) |
Definition at line 34 of file target_arch_x86.c.
| #define PTE_USER (1 << 2) |
Definition at line 38 of file target_arch_x86.c.
| #define PTE_WRITE (1 << 1) |
Definition at line 39 of file target_arch_x86.c.
| #define PTE_WRITETHROUGH (1 << 3) |
Definition at line 37 of file target_arch_x86.c.
| 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.
1.8.8