gasp_walk_init()

Initialize a memory walk state structure

Synopsis:

#include <qvm/gasp.h>
void gasp_walk_init(gasp_walk_state_t *gws,
                    uint64_t max_length,
                    gasp_walk_flags_t gwf_flags)

Arguments:

gws
A pointer to a memory walk state structure (see gasp_walk_state_t).
max_length
The maximum length of each entry, in bytes.
flags
A combination of GWF_* flags specifying the address space information to be returned.

Description:

This function initializes a structure so you can start iterating (walking) through the list of RAM/ROM blocks of memory in the guest's address space. Call this function before using gasp_walk_next().

Page updated: