|
Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|


Go to the source code of this file.
Data Structures | |
| struct | memcache |
| struct | memcache_tag_entry |
| struct | memcache_v2p_entry |
| struct | memcache_mmap_entry |
Macros | |
| #define | MEMCACHE_TAG_ANY ADDRMAX |
Typedefs | |
| typedef void(* | memcache_tag_priv_dtor )(ADDR tag, void *tag_priv) |
Enumerations | |
| enum | memcache_flags_t { MEMCACHE_PHYS = 1 << 0, MEMCACHE_VIRT = 1 << 1 } |
Functions | |
| struct memcache * | memcache_create (unsigned long int max_v2p, unsigned long int max_mmap_size, memcache_tag_priv_dtor pdtor) |
| void | memcache_destroy (struct memcache *memcache) |
| int | memcache_invalidate_all_v2p (struct memcache *memcache, ADDR tag) |
| int | memcache_invalidate_all_mmap (struct memcache *memcache, ADDR tag) |
| int | memcache_invalidate_all (struct memcache *memcache) |
| void | memcache_inc_ticks (struct memcache *memcache, unsigned int new_ticks) |
| int | memcache_get_v2p (struct memcache *memcache, ADDR tag, ADDR va, ADDR *pa, void **tag_priv) |
| int | memcache_get_mmap (struct memcache *memcache, ADDR tag, ADDR pa, unsigned long int pa_len, memcache_flags_t flags, ADDR *pa_start, OFFSET *pa_offset, void **mem, unsigned long int *mem_len, void **tag_priv) |
| int | memcache_set_tag_priv (struct memcache *memcache, ADDR tag, void *tag_priv) |
| int | memcache_set_v2p (struct memcache *memcache, ADDR tag, ADDR va, ADDR pa) |
| int | memcache_set_mmap (struct memcache *memcache, ADDR tag, ADDR pa, memcache_flags_t flags, void *mem, unsigned long int mem_len) |
| unsigned long int | memcache_lru_evict_mmap (struct memcache *memcache, ADDR tag, memcache_flags_t flags, unsigned long int mem_len) |
| #define MEMCACHE_TAG_ANY ADDRMAX |
Definition at line 45 of file memcache.h.
| typedef void(* memcache_tag_priv_dtor)(ADDR tag, void *tag_priv) |
Definition at line 47 of file memcache.h.
| enum memcache_flags_t |
| Enumerator | |
|---|---|
| MEMCACHE_PHYS | |
| MEMCACHE_VIRT | |
Definition at line 49 of file memcache.h.
| struct memcache* memcache_create | ( | unsigned long int | max_v2p, |
| unsigned long int | max_mmap_size, | ||
| memcache_tag_priv_dtor | pdtor | ||
| ) |
Definition at line 33 of file memcache.c.
| void memcache_destroy | ( | struct memcache * | memcache | ) |
Definition at line 49 of file memcache.c.
| int memcache_get_mmap | ( | struct memcache * | memcache, |
| ADDR | tag, | ||
| ADDR | pa, | ||
| unsigned long int | pa_len, | ||
| memcache_flags_t | flags, | ||
| ADDR * | pa_start, | ||
| OFFSET * | pa_offset, | ||
| void ** | mem, | ||
| unsigned long int * | mem_len, | ||
| void ** | tag_priv | ||
| ) |
Definition at line 265 of file memcache.c.
Definition at line 232 of file memcache.c.
| void memcache_inc_ticks | ( | struct memcache * | memcache, |
| unsigned int | new_ticks | ||
| ) |
Definition at line 220 of file memcache.c.
| int memcache_invalidate_all | ( | struct memcache * | memcache | ) |
Definition at line 138 of file memcache.c.
Definition at line 117 of file memcache.c.
Definition at line 78 of file memcache.c.
| unsigned long int memcache_lru_evict_mmap | ( | struct memcache * | memcache, |
| ADDR | tag, | ||
| memcache_flags_t | flags, | ||
| unsigned long int | mem_len | ||
| ) |
Definition at line 486 of file memcache.c.
| int memcache_set_mmap | ( | struct memcache * | memcache, |
| ADDR | tag, | ||
| ADDR | pa, | ||
| memcache_flags_t | flags, | ||
| void * | mem, | ||
| unsigned long int | mem_len | ||
| ) |
Definition at line 402 of file memcache.c.
Definition at line 354 of file memcache.c.
1.8.8