|
Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include "config.h"#include <errno.h>#include <assert.h>#include <ctype.h>#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <sys/mman.h>#include "common.h"#include "arch.h"#include "arch_x86.h"#include "arch_x86_64.h"#include "target_api.h"#include "target.h"#include "target_arch_x86.h"#include "target_os.h"#include <xenctrl.h>#include <xs.h>#include <xenaccess/xenaccess.h>#include <xenaccess/xa_private.h>#include "target_xen_vm.h"Go to the source code of this file.
Data Structures | |
| struct | xen_vm_mem_xenaccess_state |
Functions | |
| int | xen_vm_mem_xenaccess_init (struct target *target) |
| int | xen_vm_mem_xenaccess_attach (struct target *target) |
| int | xen_vm_mem_xenaccess_handle_exception_any (struct target *target) |
| int | xen_vm_mem_xenaccess_handle_exception_ours (struct target *target) |
| int | xen_vm_mem_xenaccess_addr_v2p (struct target *target, tid_t tid, ADDR pgd, ADDR vaddr, ADDR *paddr) |
| unsigned char * | xen_vm_mem_xenaccess_read_phys (struct target *target, ADDR paddr, unsigned long length, unsigned char *buf) |
| unsigned long | xen_vm_mem_xenaccess_write_phys (struct target *target, ADDR paddr, unsigned long length, unsigned char *buf) |
| unsigned char * | xen_vm_mem_xenaccess_read_tid (struct target *target, tid_t tid, ADDR addr, unsigned long target_length, unsigned char *buf) |
| unsigned long | xen_vm_mem_xenaccess_write_tid (struct target *target, int pid, ADDR addr, unsigned long length, unsigned char *buf) |
| int xen_vm_mem_xenaccess_addr_v2p | ( | struct target * | target, |
| tid_t | tid, | ||
| ADDR | pgd, | ||
| ADDR | vaddr, | ||
| ADDR * | paddr | ||
| ) |
Definition at line 144 of file target_xen_vm_mem_xenaccess.c.
| int xen_vm_mem_xenaccess_attach | ( | struct target * | target | ) |
Definition at line 78 of file target_xen_vm_mem_xenaccess.c.
| int xen_vm_mem_xenaccess_handle_exception_any | ( | struct target * | target | ) |
Definition at line 126 of file target_xen_vm_mem_xenaccess.c.
| int xen_vm_mem_xenaccess_handle_exception_ours | ( | struct target * | target | ) |
Definition at line 130 of file target_xen_vm_mem_xenaccess.c.
| int xen_vm_mem_xenaccess_init | ( | struct target * | target | ) |
Definition at line 56 of file target_xen_vm_mem_xenaccess.c.
| unsigned char* xen_vm_mem_xenaccess_read_phys | ( | struct target * | target, |
| ADDR | paddr, | ||
| unsigned long | length, | ||
| unsigned char * | buf | ||
| ) |
Definition at line 182 of file target_xen_vm_mem_xenaccess.c.
| unsigned char* xen_vm_mem_xenaccess_read_tid | ( | struct target * | target, |
| tid_t | tid, | ||
| ADDR | addr, | ||
| unsigned long | target_length, | ||
| unsigned char * | buf | ||
| ) |
Definition at line 361 of file target_xen_vm_mem_xenaccess.c.
| unsigned long xen_vm_mem_xenaccess_write_phys | ( | struct target * | target, |
| ADDR | paddr, | ||
| unsigned long | length, | ||
| unsigned char * | buf | ||
| ) |
Definition at line 245 of file target_xen_vm_mem_xenaccess.c.
| unsigned long xen_vm_mem_xenaccess_write_tid | ( | struct target * | target, |
| int | pid, | ||
| ADDR | addr, | ||
| unsigned long | length, | ||
| unsigned char * | buf | ||
| ) |
Definition at line 455 of file target_xen_vm_mem_xenaccess.c.
1.8.5