Legend:
Library
Module
Module type
Parameter
Class
Class type
Memory maps. Memory map is an assosiative data structure that maps memory regions to values. Unlike in the Table, memory regions in the Memmap can intersect in an arbitrary ways. This data structure is also known as an Interval Tree.
Memmap is an instance of the Interval_tree with the Memory serving as an interval.
add map mem tag adds a new memory region mem tagged with tag. If the same region was already in the map it will be tagged with the tag again, even if it has had the same tag.
dominators map mem an ordered sequence of all memory regions, containing mem. A memory region (x,y) contains region (p,q), iff p >= x && q <= y, where memory regions are depicted using closed intervals.
intersections map mem an ordered sequence of all memory regions, that intersects with mem. Memory region (x,y) intersects with region (p,q) iff there exists such z that
z >= p || z <= q && z >= x && z <= y.
In other words if there exists such byte that belongs to both memory regions.
filter_map m f creates a new map by applying a function f to each tag. If f returns Some x then this region will be mapped to x in a new map, otherwise it will be dropped.
val filter_mapi : 'at->f:(mem->'a->'b option)->'bt
filter_mapi is like filter_map but use function also accepts would associated memory region