#include <mem32.h>
|
| | Mem32 () |
| |
| | ~Mem32 () |
| |
| template<class T > |
| void | setCallbackR (Type t, const T &fn) |
| |
| template<class T > |
| void | setCallbackW (Type t, const T &fn) |
| |
| template<class T > |
| void | setCallbackR (Type t, std::function< void(T &t, uint32_t)> fn) |
| |
| template<class T > |
| void | setCallbackW (Type t, std::function< void(T &t, uint32_t)> fn) |
| |
| ptr32_t | pin (void *mem, ptr32_t address, uint32_t size, const char *comment=nullptr) |
| |
| ptr32_t | pin (void *mem, uint32_t size, const char *comment=nullptr) |
| |
| ptr32_t | pin (ptr32_t address, uint32_t size, Type type) |
| |
| ptr32_t | alloc (uint32_t size, const char *comment=nullptr) |
| |
| ptr32_t | alloc (ptr32_t address, uint32_t size, const char *comment=nullptr) |
| |
| ptr32_t | alloc (uint32_t size, Type type, const char *comment=nullptr) |
| |
| void | free (ptr32_t at) |
| |
| ptr32_t | realloc (ptr32_t address, uint32_t size) |
| |
| auto | deref (ptr32_t address) -> std::tuple< void *, uint32_t > |
| |
| const void * | deref (ptr32_t address, uint32_t size) |
| |
| void * | derefv (ptr32_t address, uint32_t size) |
| |
| template<class T > |
| T * | deref (ptr32_t address) |
| |
| void | writeInt (ptr32_t address, int32_t v) |
| |
| int32_t | readInt (ptr32_t address) |
| |
| void | copyBytes (ptr32_t src, ptr32_t dst, uint32_t size) |
| |
Definition at line 12 of file mem32.h.
◆ ptr32_t
◆ Type
| Enumerator |
|---|
| plain | |
| zCParser | |
| zCParser_variables | |
| zCPar_Symbol | |
Definition at line 20 of file mem32.h.
◆ Mem32()
◆ ~Mem32()
◆ alloc() [1/3]
◆ alloc() [2/3]
| Mem32::ptr32_t Mem32::alloc |
( |
uint32_t |
size, |
|
|
const char * |
comment = nullptr |
|
) |
| |
◆ alloc() [3/3]
◆ copyBytes()
◆ deref() [1/3]
template<class T >
| T * Mem32::deref |
( |
ptr32_t |
address | ) |
|
|
inline |
◆ deref() [2/3]
| auto Mem32::deref |
( |
ptr32_t |
address | ) |
-> std::tuple<void*, uint32_t> |
◆ deref() [3/3]
| const void * Mem32::deref |
( |
ptr32_t |
address, |
|
|
uint32_t |
size |
|
) |
| |
◆ derefv()
| void * Mem32::derefv |
( |
ptr32_t |
address, |
|
|
uint32_t |
size |
|
) |
| |
◆ free()
◆ pin() [1/3]
◆ pin() [2/3]
◆ pin() [3/3]
| Mem32::ptr32_t Mem32::pin |
( |
void * |
mem, |
|
|
uint32_t |
size, |
|
|
const char * |
comment = nullptr |
|
) |
| |
◆ readInt()
| int32_t Mem32::readInt |
( |
ptr32_t |
address | ) |
|
◆ realloc()
◆ setCallbackR() [1/2]
template<class T >
| void Mem32::setCallbackR |
( |
Type |
t, |
|
|
const T & |
fn |
|
) |
| |
|
inline |
◆ setCallbackR() [2/2]
template<class T >
| void Mem32::setCallbackR |
( |
Type |
t, |
|
|
std::function< void(T &t, uint32_t)> |
fn |
|
) |
| |
|
inline |
◆ setCallbackW() [1/2]
template<class T >
| void Mem32::setCallbackW |
( |
Type |
t, |
|
|
const T & |
fn |
|
) |
| |
|
inline |
◆ setCallbackW() [2/2]
template<class T >
| void Mem32::setCallbackW |
( |
Type |
t, |
|
|
std::function< void(T &t, uint32_t)> |
fn |
|
) |
| |
|
inline |
◆ writeInt()
| void Mem32::writeInt |
( |
ptr32_t |
address, |
|
|
int32_t |
v |
|
) |
| |
◆ memAlign
| constexpr uint32_t Mem32::memAlign = 8 |
|
staticconstexpr |
The documentation for this class was generated from the following files: