Debugger: Static Mappings

A static mapping refers to a range of addresses in the dynamic listing and its corresponding range in the static listing. These mappings provide a flexible means of mapping Ghidra program databases into a trace database. Typically, this table is populated automatically. See the Auto-Map action. Common mapping schemes are available in user actions, e.g., Map Modules. This under-the-hood static mapping window displays the mappings table, allowing users or developers to diagnose image mapping issues and manually specify mappings, regardless of reported modules, sections, regions, etc. For most users, there is no reason to access this window.

Table Columns

The table has the following columns:

Actions

This window provides actions for finding, adding, and removing mappings. NOTE: To "modify" an entry, delete and re-add it.

Select Rows

This action is available when the active listing's (dynamic or static) cursor is at a valid location. It selects the mapping containing that cursor. If the active listing has a selection, it selects all mappings intersecting that selection.

Add Mapping

This action is always available. It presents a dialog to manually add a mapping. When one primary listing (dynamic or static) has a selection, and the other's cursor is at a valid location, it will populate the dialog, using the selection's size and minimum address, and the cursor as the corresponding minimum address. The default lifespan is "from now on out", i.e., the current snap to infinity.

Remove Mapping

This action is available when at least one mapping is selected. It removes those mappings.