Package ghidra.trace.database.program
Class DBTraceProgramViewMemory
java.lang.Object
ghidra.trace.database.program.AbstractDBTraceProgramViewMemory
ghidra.trace.database.program.DBTraceProgramViewMemory
- All Implemented Interfaces:
AddressSetView,Memory,TraceProgramViewMemory,MemoryAdapter,Iterable<AddressRange>
-
Field Summary
Fields inherited from class ghidra.trace.database.program.AbstractDBTraceProgramViewMemory
cache, memoryManager, programFields inherited from interface ghidra.program.model.mem.Memory
GBYTE, GBYTE_SHIFT_FACTOR, MAX_BINARY_SIZE, MAX_BINARY_SIZE_GB, MAX_BLOCK_SIZE, MAX_BLOCK_SIZE_GB -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AddressSetViewprotected AddressSetprotected NavigableMap<Address, ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> computeRegionsByName(Collection<ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> regions) protected AddressSetprotected voidforPhysicalSpaces(Consumer<AddressSpace> consumer) protected voidforVisibleRegions(Consumer<ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> action) Returns the Block which contains addr.Returns the Block with the specified blockNameReturns an array containing all the memory blocks.Returns the set of addresses which correspond to the executable memory.protected MemoryBlockgetRegionBlock(ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry entry) protected NavigableMap<Address, ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> protected MemoryBlockgetSpaceBlock(AddressSpace space) protected voidvoidupdateAddSpaceBlock(AddressSpace space) voidupdateBytesChanged(AddressRange range) voidvoidMethods inherited from class ghidra.trace.database.program.AbstractDBTraceProgramViewMemory
contains, contains, contains, convertToInitialized, convertToUninitialized, createBitMappedBlock, createBlock, createByteMappedBlock, createFileBytes, createInitializedBlock, createInitializedBlock, createInitializedBlock, createUninitializedBlock, deleteFileBytes, findBytes, findBytes, findFirstAddressInCommon, getAddresses, getAddresses, getAddressRanges, getAddressRanges, getAddressRanges, getAddressSourceInfo, getAllFileBytes, getAllInitializedAddressSet, getByte, getBytes, getFirstRange, getInitializedAddressSet, getLastRange, getLoadedAndInitializedAddressSet, getMaxAddress, getMinAddress, getNumAddresses, getNumAddressRanges, getOrComputeAddressSet, getProgram, getRangeContaining, getSize, getSnap, getTrace, hasSameAddresses, intersect, intersectRange, intersects, intersects, invalidateAddressSet, isBigEndian, isEmpty, isForceFullView, iterator, iterator, iterator, join, moveBlock, removeBlock, setByte, setBytes, setForceFullView, split, subtract, union, xorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.program.model.address.AddressSetView
getAddressCountBefore, spliterator, spliterator, spliterator, stream, stream, streamMethods inherited from interface ghidra.program.model.mem.Memory
createByteMappedBlock, isExternalBlockAddress, locateAddressesForFileBytesOffset, locateAddressesForFileOffset
-
Constructor Details
-
DBTraceProgramViewMemory
-
-
Method Details
-
forPhysicalSpaces
-
computeRegionsByAddress
protected NavigableMap<Address,ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> computeRegionsByAddress() -
computeRegionsByName
protected Map<String,ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> computeRegionsByName(Collection<ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> regions) -
getRegionsByAddress
protected NavigableMap<Address,ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> getRegionsByAddress() -
getRegionsByName
-
forVisibleRegions
protected void forVisibleRegions(Consumer<ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry> action) -
computeRegionsAddressSet
-
computeSpacesAddressSet
-
computeAddressSet
- Specified by:
computeAddressSetin classAbstractDBTraceProgramViewMemory
-
getRegionBlock
protected MemoryBlock getRegionBlock(ghidra.trace.database.program.DBTraceProgramViewMemory.RegionEntry entry) -
getSpaceBlock
-
getBlock
Description copied from interface:MemoryReturns the Block which contains addr.- Parameters:
addr- a valid data Address.- Returns:
- the block containing addr; null if addr is not a valid location.
-
getBlock
Description copied from interface:MemoryReturns the Block with the specified blockName- Parameters:
blockName- the name of the requested block- Returns:
- the Block with the specified blockName
-
getBlocks
Description copied from interface:MemoryReturns an array containing all the memory blocks.- Returns:
- an array containing all the memory blocks
-
getExecuteSet
Description copied from interface:MemoryReturns the set of addresses which correspond to the executable memory.- Returns:
- the set of addresses which correspond to the executable memory
-
invalidateRegions
protected void invalidateRegions() -
updateAddSpaceBlock
-
updateDeleteSpaceBlock
-
updateRefreshBlocks
public void updateRefreshBlocks() -
updateBytesChanged
-