|
Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
|
#include <byteswap.h>#include <limits.h>#include <stdint.h>

Go to the source code of this file.
Data Structures | |
| union | unaligned |
Macros | |
| #define | get_uleb128_step(var, addr, nth, break) |
| #define | get_uleb128(var, addr) |
| #define | get_uleb128_rest_return(var, i, addrp) |
| #define | get_sleb128_step(var, addr, nth, break) |
| #define | get_sleb128(var, addr) |
| #define | get_sleb128_rest_return(var, i, addrp) |
| #define | read_2ubyte_unaligned(obo, Addr) read_2ubyte_unaligned_1 ((obo), (Addr)) |
| #define | read_2sbyte_unaligned(obo, Addr) read_2sbyte_unaligned_1 ((obo), (Addr)) |
| #define | read_4ubyte_unaligned(obo, Addr) read_4ubyte_unaligned_1 ((obo), (Addr)) |
| #define | read_4sbyte_unaligned(obo, Addr) read_4sbyte_unaligned_1 ((obo), (Addr)) |
| #define | read_8ubyte_unaligned(obo, Addr) read_8ubyte_unaligned_1 ((obo), (Addr)) |
| #define | read_8sbyte_unaligned(obo, Addr) read_8sbyte_unaligned_1 ((obo), (Addr)) |
| #define | read_ubyte_unaligned(Nbytes, obo, Addr) |
| #define | read_sbyte_unaligned(Nbytes, obo, Addr) |
| #define | read_2ubyte_unaligned_inc(obo, Addr) |
| #define | read_2sbyte_unaligned_inc(obo, Addr) |
| #define | read_4ubyte_unaligned_inc(obo, Addr) |
| #define | read_4sbyte_unaligned_inc(obo, Addr) |
| #define | read_8ubyte_unaligned_inc(obo, Addr) |
| #define | read_8sbyte_unaligned_inc(obo, Addr) |
| #define | read_ubyte_unaligned_inc(Nbytes, obo, Addr) |
| #define | read_sbyte_unaligned_inc(Nbytes, obo, Addr) |
Functions | |
| get_uleb128_rest_return (acc, i, addrp) | |
| get_sleb128_rest_return (acc, i, addrp) | |
| union unaligned | __attribute__ ((packed)) |
Variables | |
| static uint64_t unsigned int | i |
| static uint64_t unsigned int const unsigned char ** | addrp |
| int64_t | _v = acc |
| void * | p |
| uint16_t | u2 |
| uint32_t | u4 |
| uint64_t | u8 |
| int16_t | s2 |
| int32_t | s4 |
| int64_t | s8 |
| #define get_sleb128 | ( | var, | |
| addr | |||
| ) |
Definition at line 98 of file memory-access.h.
Definition at line 106 of file memory-access.h.
| #define get_sleb128_step | ( | var, | |
| addr, | |||
| nth, | |||
| break | |||
| ) |
| #define get_uleb128 | ( | var, | |
| addr | |||
| ) |
Definition at line 67 of file memory-access.h.
Definition at line 75 of file memory-access.h.
| #define get_uleb128_step | ( | var, | |
| addr, | |||
| nth, | |||
| break | |||
| ) |
Definition at line 61 of file memory-access.h.
| #define read_2sbyte_unaligned | ( | obo, | |
| Addr | |||
| ) | read_2sbyte_unaligned_1 ((obo), (Addr)) |
Definition at line 195 of file memory-access.h.
| #define read_2sbyte_unaligned_inc | ( | obo, | |
| Addr | |||
| ) |
Definition at line 281 of file memory-access.h.
| #define read_2ubyte_unaligned | ( | obo, | |
| Addr | |||
| ) | read_2ubyte_unaligned_1 ((obo), (Addr)) |
Definition at line 193 of file memory-access.h.
| #define read_2ubyte_unaligned_inc | ( | obo, | |
| Addr | |||
| ) |
Definition at line 277 of file memory-access.h.
| #define read_4sbyte_unaligned | ( | obo, | |
| Addr | |||
| ) | read_4sbyte_unaligned_1 ((obo), (Addr)) |
Definition at line 199 of file memory-access.h.
| #define read_4sbyte_unaligned_inc | ( | obo, | |
| Addr | |||
| ) |
Definition at line 290 of file memory-access.h.
| #define read_4ubyte_unaligned | ( | obo, | |
| Addr | |||
| ) | read_4ubyte_unaligned_1 ((obo), (Addr)) |
Definition at line 197 of file memory-access.h.
| #define read_4ubyte_unaligned_inc | ( | obo, | |
| Addr | |||
| ) |
Definition at line 286 of file memory-access.h.
| #define read_8sbyte_unaligned | ( | obo, | |
| Addr | |||
| ) | read_8sbyte_unaligned_1 ((obo), (Addr)) |
Definition at line 203 of file memory-access.h.
| #define read_8sbyte_unaligned_inc | ( | obo, | |
| Addr | |||
| ) |
Definition at line 299 of file memory-access.h.
| #define read_8ubyte_unaligned | ( | obo, | |
| Addr | |||
| ) | read_8ubyte_unaligned_1 ((obo), (Addr)) |
Definition at line 201 of file memory-access.h.
| #define read_8ubyte_unaligned_inc | ( | obo, | |
| Addr | |||
| ) |
Definition at line 295 of file memory-access.h.
| #define read_sbyte_unaligned | ( | Nbytes, | |
| obo, | |||
| Addr | |||
| ) |
Definition at line 271 of file memory-access.h.
| #define read_sbyte_unaligned_inc | ( | Nbytes, | |
| obo, | |||
| Addr | |||
| ) |
Definition at line 310 of file memory-access.h.
| #define read_ubyte_unaligned | ( | Nbytes, | |
| obo, | |||
| Addr | |||
| ) |
Definition at line 266 of file memory-access.h.
| #define read_ubyte_unaligned_inc | ( | Nbytes, | |
| obo, | |||
| Addr | |||
| ) |
Definition at line 305 of file memory-access.h.
| union unaligned __attribute__ | ( | (packed) | ) |
| int64_t _v = acc |
Definition at line 141 of file memory-access.h.
| static int64_t unsigned int const unsigned char ** addrp |
Definition at line 132 of file memory-access.h.
| static int64_t unsigned int i |
Definition at line 131 of file memory-access.h.
| void* p |
Definition at line 143 of file memory-access.h.
| int16_t s2 |
Definition at line 147 of file memory-access.h.
| int32_t s4 |
Definition at line 148 of file memory-access.h.
| int64_t s8 |
Definition at line 149 of file memory-access.h.
| uint16_t u2 |
Definition at line 144 of file memory-access.h.
| uint32_t u4 |
Definition at line 145 of file memory-access.h.
| uint64_t u8 |
Definition at line 146 of file memory-access.h.
1.8.8