gasp_walk_init()

Initialize a memory walk state structure

Synopsis:

#include <qvm/gasp.h>
void gasp_walk_init(struct gasp_walk_state *const gws,
                    const struct guest_system *const gsp,
                    uint64_t const max_length,
                    unsigned const flags)

Arguments:

gws
A pointer to a memory walk state structure (see gasp_walk_state).
gsp
A pointer to the guest system.
max_length
The maximum length of each information entry, in bytes.
flags
Flags specifying the address space information needed; see gasp_walk_state_flags.

Description:

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