java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.ASNoProcess
- All Implemented Interfaces:
IAddressSpace,IMemory,IProcess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongfindPattern(byte[] whatBytes, int alignment, long startFrom) intbytegetByteAt(long address) intgetBytesAt(long address, byte[] buffer) intgetBytesAt(long address, byte[] buffer, int offset, int length) getCore()The core file from which this address space has been created fromintgetIntAt(long address) longgetLongAt(long address) Collection<? extends IMemoryRange> Collection<? extends IModule> longgetPointerAt(long address) getProcedureNameForAddress(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress(long address, boolean dtfjFormat) Collection<? extends IProcess> longgetProperties(long address) shortgetShortAt(long address) intCollection<? extends IOSThread> booleanisExecutable(long address) booleanbooleanisReadOnly(long address) booleanisShared(long address)
-
Constructor Details
-
ASNoProcess
-
-
Method Details
-
getMemoryRanges
- Specified by:
getMemoryRangesin interfaceIMemory
-
getByteAt
- Specified by:
getByteAtin interfaceIMemory- Throws:
MemoryFault
-
getShortAt
- Specified by:
getShortAtin interfaceIMemory- Throws:
MemoryFault
-
getAddressSpaceId
public int getAddressSpaceId()- Specified by:
getAddressSpaceIdin interfaceIAddressSpace- Returns:
- Numeric ID of address space.
-
getIntAt
- Specified by:
getIntAtin interfaceIMemory- Throws:
MemoryFault
-
getLongAt
- Specified by:
getLongAtin interfaceIMemory- Throws:
MemoryFault
-
getProcesses
- Specified by:
getProcessesin interfaceIAddressSpace- Returns:
- List of processes using this address space.
-
getBytesAt
- Specified by:
getBytesAtin interfaceIMemory- Throws:
MemoryFault
-
getBytesAt
- Specified by:
getBytesAtin interfaceIMemory- Throws:
MemoryFault
-
getCore
Description copied from interface:IAddressSpaceThe core file from which this address space has been created from- Specified by:
getCorein interfaceIAddressSpace- Returns:
- the core file or null if this address space is not backed by an underlying core file
-
findPattern
public long findPattern(byte[] whatBytes, int alignment, long startFrom) - Specified by:
findPatternin interfaceIMemory
-
getByteOrder
- Specified by:
getByteOrderin interfaceIMemory
-
isExecutable
public boolean isExecutable(long address) - Specified by:
isExecutablein interfaceIMemory
-
isReadOnly
public boolean isReadOnly(long address) - Specified by:
isReadOnlyin interfaceIMemory
-
getProperties
- Specified by:
getPropertiesin interfaceIMemory
-
getPlatform
- Specified by:
getPlatformin interfaceIMemory
-
getAddressSpace
- Specified by:
getAddressSpacein interfaceIProcess- Returns:
- Address space this process uses.
-
getPointerAt
- Specified by:
getPointerAtin interfaceIProcess- Throws:
MemoryFault
-
bytesPerPointer
public int bytesPerPointer()- Specified by:
bytesPerPointerin interfaceIProcess- Returns:
- Number of bytes in a pointer
-
getCommandLine
- Specified by:
getCommandLinein interfaceIProcess- Returns:
- Process command line or null if the data is unavailable
- Throws:
CorruptDataExceptionDataUnavailableException
-
getEnvironmentVariables
- Specified by:
getEnvironmentVariablesin interfaceIProcess- Returns:
- Properties containing environment variables name=value pairs
- Throws:
CorruptDataExceptionDataUnavailableException
-
getModules
- Specified by:
getModulesin interfaceIProcess- Throws:
CorruptDataException
-
getExecutable
- Specified by:
getExecutablein interfaceIProcess- Throws:
CorruptDataException
-
getProcessId
- Specified by:
getProcessIdin interfaceIProcess- Throws:
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address) throws DataUnavailableException, CorruptDataException Description copied from interface:IProcessEquivalent to getProcedureNameForAddress(address, false). Default behaviour is to return DDR format strings for symbols.- Specified by:
getProcedureNameForAddressin interfaceIProcess- Throws:
DataUnavailableExceptionCorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address, boolean dtfjFormat) throws DataUnavailableException, CorruptDataException - Specified by:
getProcedureNameForAddressin interfaceIProcess- Throws:
DataUnavailableExceptionCorruptDataException
-
getThreads
- Specified by:
getThreadsin interfaceIProcess- Throws:
CorruptDataException
-
getSignalNumber
- Specified by:
getSignalNumberin interfaceIProcess- Throws:
DataUnavailableException
-
isFailingProcess
- Specified by:
isFailingProcessin interfaceIProcess- Throws:
DataUnavailableException
-