public static boolean deleteRecords(Table table, AddressMap addrMap, Address start, Address end)
			throws IOException {
		List<KeyRange> keyRangeList = addrMap.getKeyRanges(start, end, false);
		boolean success = false;
		Iterator<KeyRange> it = keyRangeList.iterator();
		while (it.hasNext()) {
			KeyRange kr = it.next();
			success |= table.deleteRecords(kr.minKey, kr.maxKey);
		}
		return success;
	}
Deletes the records the fall within the given range. Uses the address map to convert the
address range into 1 or more key ranges. (Address ranges may not be continuous after
converting to long space).
NOTE: Absolute key encodings are not handled currently !!
@param table the database table to delete records from.
@param addrMap the address map used to convert addresses into long keys.
@param start the start address in the range.
@param end the end address in the range.
@throws IOException if a database io error occurs.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/map/AddressRecordDeleter.java