Class OSXProcessAddressSpace
java.lang.Object
com.ibm.j9ddr.corereaders.memory.SearchableMemory
com.ibm.j9ddr.corereaders.memory.AbstractMemory
com.ibm.j9ddr.corereaders.memory.ProcessAddressSpace
com.ibm.j9ddr.corereaders.macho.OSXProcessAddressSpace
- All Implemented Interfaces:
IAddressSpace, IMemory, IProcess
-
Field Summary
Fields declared in class AbstractMemory
decoratorMappingTable, memorySourcesModifier and TypeFieldDescriptionprotected final Map<IMemorySource, IMemorySource> protected final MemorySourceTableFields declared in class SearchableMemory
rangeTable -
Constructor Summary
ConstructorsConstructorDescriptionOSXProcessAddressSpace(int pointerSizeBytes, ByteOrder byteOrder, MachoDumpReader reader) -
Method Summary
Modifier and TypeMethodDescriptiongetCore()The core file from which this address space has been created fromlongintbooleanreadStringAt(long nameAddress) Methods declared in class ProcessAddressSpace
bytesPerPointer, getAddressSpace, getAddressSpaceId, getPointerAt, getProcedureNameForAddress, getProcedureNameForAddress, getProcessesModifier and TypeMethodDescriptionintintlonggetPointerAt(long address) final StringgetProcedureNameForAddress(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress(long address, boolean dtfjFormat) Methods declared in class AbstractMemory
addMemorySource, addMemorySources, getByteAt, getByteOrder, getBytesAt, getBytesAt, getIntAt, getLongAt, getMemoryRanges, getProperties, getShortAt, isExecutable, isReadOnly, isShared, removeMemorySourceModifier and TypeMethodDescriptionvoidaddMemorySource(IMemorySource source) voidaddMemorySources(Collection<? extends IMemorySource> memorySources) bytegetByteAt(long address) intgetBytesAt(long address, byte[] buffer) intgetBytesAt(long address, byte[] buffer, int offset, int length) intgetIntAt(long address) longgetLongAt(long address) getProperties(long address) shortgetShortAt(long address) booleanisExecutable(long address) booleanisReadOnly(long address) booleanisShared(long address) voidremoveMemorySource(IMemorySource source) Methods declared in class SearchableMemory
buildRangeTable, findPattern, mergeRangeTableModifier and TypeMethodDescriptionprotected long[][]longfindPattern(byte[] whatBytes, int alignment, long startFrom) protected intmergeRangeTable(long[][] rangeTable) Merges consecutive ranges to build a list of ranges to read
-
Constructor Details
-
OSXProcessAddressSpace
-
-
Method Details
-
getCore
Description copied from interface:IAddressSpaceThe core file from which this address space has been created from- Returns:
- the core file or null if this address space is not backed by an underlying core file
-
getCommandLine
- Returns:
- Process command line or null if the data is unavailable
- Throws:
DataUnavailableException
-
getEnvironmentVariables
- Returns:
- Properties containing environment variables name=value pairs
- Throws:
CorruptDataExceptionDataUnavailableException
-
getExecutable
- Throws:
CorruptDataException
-
getModules
- Throws:
CorruptDataException
-
getPlatform
-
getProcessId
- Throws:
CorruptDataException
-
getThreads
- Throws:
CorruptDataException
-
getSignalNumber
- Throws:
DataUnavailableException
-
readStringAt
- Throws:
MemoryFault
-
isFailingProcess
- Throws:
DataUnavailableException
-