#include <oskit/amm.h>amm_entry_t *amm_find_addr(amm_t *amm, oskit_addr_t addr);
Locates the map entry describing the given address in the map amm and returns a pointer to it. Since AMM maps contain every possible address in some entry, this routine will always succeed; i.e., it will always return a valid amm_entry_t pointer.AMM-private fields of the returned entry can be queried with the amm_entry_field macros.
- amm
- A pointer to the amm_t structure representing the address map.
- addr
- Address to locate.
Returns a pointer to the entry containing the desired address.