The srecord::memory_walker_gcrypt class is used to represent walking memory and passing it to the gcrypt library in order to calculate a message digest.
More...
#include <gcrypt.h>
|
void | observe (unsigned long, const void *, int) |
| The observe method is used by the memory walker to provide data. More...
|
|
| memory_walker () |
| The default constructor. More...
|
|
The srecord::memory_walker_gcrypt class is used to represent walking memory and passing it to the gcrypt library in order to calculate a message digest.
Definition at line 39 of file gcrypt.h.
◆ ~memory_walker_gcrypt()
virtual srecord::memory_walker_gcrypt::~memory_walker_gcrypt |
( |
| ) |
|
|
virtual |
◆ create()
The create class method is used to create new dynamically allocated instances of this class.
- Parameters
-
handle | used to access the libgcrypt handle to the message digest being calculated. |
◆ observe()
void srecord::memory_walker_gcrypt::observe |
( |
unsigned long |
address, |
|
|
const void * |
data, |
|
|
int |
data_size |
|
) |
| |
|
protectedvirtual |
The observe method is used by the memory walker to provide data.
Derived classes are required to impliment this method, and do something with the data.
- Parameters
-
address | The base address of this chunk of memory. |
data | The base address of this chunk of memory in memory. |
data_size | The size, in bytes, of this chunk of memory. |
Implements srecord::memory_walker.
The documentation for this class was generated from the following file: