Class ASNoProcess
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.ASNoProcess
- All Implemented Interfaces:
IAddressSpace
,IMemory
,IProcess
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
long
findPattern
(byte[] whatBytes, int alignment, long startFrom) int
byte
getByteAt
(long address) int
getBytesAt
(long address, byte[] buffer) int
getBytesAt
(long address, byte[] buffer, int offset, int length) getCore()
The core file from which this address space has been created fromint
getIntAt
(long address) long
getLongAt
(long address) Collection
<? extends IMemoryRange> Collection
<? extends IModule> long
getPointerAt
(long address) getProcedureNameForAddress
(long address) Equivalent to getProcedureNameForAddress(address, false).getProcedureNameForAddress
(long address, boolean dtfjFormat) Collection
<? extends IProcess> long
getProperties
(long address) short
getShortAt
(long address) int
Collection
<? extends IOSThread> boolean
isExecutable
(long address) boolean
boolean
isReadOnly
(long address) boolean
isShared
(long address)
-
Constructor Details
-
ASNoProcess
-
-
Method Details
-
getMemoryRanges
- Specified by:
getMemoryRanges
in interfaceIMemory
-
getByteAt
- Specified by:
getByteAt
in interfaceIMemory
- Throws:
MemoryFault
-
getShortAt
- Specified by:
getShortAt
in interfaceIMemory
- Throws:
MemoryFault
-
getAddressSpaceId
public int getAddressSpaceId()- Specified by:
getAddressSpaceId
in interfaceIAddressSpace
- Returns:
- Numeric ID of address space.
-
getIntAt
- Specified by:
getIntAt
in interfaceIMemory
- Throws:
MemoryFault
-
getLongAt
- Specified by:
getLongAt
in interfaceIMemory
- Throws:
MemoryFault
-
getProcesses
- Specified by:
getProcesses
in interfaceIAddressSpace
- Returns:
- List of processes using this address space.
-
getBytesAt
- Specified by:
getBytesAt
in interfaceIMemory
- Throws:
MemoryFault
-
getBytesAt
- Specified by:
getBytesAt
in interfaceIMemory
- Throws:
MemoryFault
-
getCore
Description copied from interface:IAddressSpace
The core file from which this address space has been created from- Specified by:
getCore
in 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:
findPattern
in interfaceIMemory
-
getByteOrder
- Specified by:
getByteOrder
in interfaceIMemory
-
isExecutable
public boolean isExecutable(long address) - Specified by:
isExecutable
in interfaceIMemory
-
isReadOnly
public boolean isReadOnly(long address) - Specified by:
isReadOnly
in interfaceIMemory
-
getProperties
- Specified by:
getProperties
in interfaceIMemory
-
getPlatform
- Specified by:
getPlatform
in interfaceIMemory
-
getAddressSpace
- Specified by:
getAddressSpace
in interfaceIProcess
- Returns:
- Address space this process uses.
-
getPointerAt
- Specified by:
getPointerAt
in interfaceIProcess
- Throws:
MemoryFault
-
bytesPerPointer
public int bytesPerPointer()- Specified by:
bytesPerPointer
in interfaceIProcess
- Returns:
- Number of bytes in a pointer
-
getCommandLine
- Specified by:
getCommandLine
in interfaceIProcess
- Returns:
- Process command line or null if the data is unavailable
- Throws:
CorruptDataException
DataUnavailableException
-
getEnvironmentVariables
- Specified by:
getEnvironmentVariables
in interfaceIProcess
- Returns:
- Properties containing environment variables name=value pairs
- Throws:
CorruptDataException
DataUnavailableException
-
getModules
- Specified by:
getModules
in interfaceIProcess
- Throws:
CorruptDataException
-
getExecutable
- Specified by:
getExecutable
in interfaceIProcess
- Throws:
CorruptDataException
-
getProcessId
- Specified by:
getProcessId
in interfaceIProcess
- Throws:
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address) throws DataUnavailableException, CorruptDataException Description copied from interface:IProcess
Equivalent to getProcedureNameForAddress(address, false). Default behaviour is to return DDR format strings for symbols.- Specified by:
getProcedureNameForAddress
in interfaceIProcess
- Throws:
DataUnavailableException
CorruptDataException
-
getProcedureNameForAddress
public String getProcedureNameForAddress(long address, boolean dtfjFormat) throws DataUnavailableException, CorruptDataException - Specified by:
getProcedureNameForAddress
in interfaceIProcess
- Throws:
DataUnavailableException
CorruptDataException
-
getThreads
- Specified by:
getThreads
in interfaceIProcess
- Throws:
CorruptDataException
-
getSignalNumber
- Specified by:
getSignalNumber
in interfaceIProcess
- Throws:
DataUnavailableException
-
isFailingProcess
- Specified by:
isFailingProcess
in interfaceIProcess
- Throws:
DataUnavailableException
-