gasp_walk_init_filtered()

Initialize a memory walk filter state structure

Synopsis:

#include <qvm/gasp.h>
void gasp_walk_init_filtered(struct gasp_walk_state_filtered *wsf,
                             const struct guest_system *gsp,
                             uint64_t max_length,
                             unsigned flags,
                             gasp_walk_filter_t filter)

Arguments:

wsf
A pointer to a memory walk filter state structure (see gasp_walk_state_filtered).
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.
filter
The walk filter function that controls which RAM locations can be written out; see gasp_walk_filter_t.

Description:

This function initializes a structure so you can start walking through a filtered list of RAM/ROM blocks of memory in the guest's address space. You can access only those blocks that are allowed by the filter. Call this function before using gasp_walk_next_filtered().