gasp_walk_init()

Initialize a memory walk 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 the memory walk structure.
gsp
A pointer to the guest system.
max_length
The maximum length of each entry, in bytes.
flags
GWS_* flags.

Library:

Provided by qvm; no external library is required.

Description:

Call this function before using gasp_walk_next().