Class Builder
java.lang.Object
com.ibm.dtfj.image.j9.Builder
-
Constructor Summary
ConstructorDescriptionBuilder
(ICoreFileReader core, ClosingFileReader openCoreFile, long environmentAddress, IFileLocationResolver resolvingAgent) Builder
(ICoreFileReader core, ImageInputStream stream, long environmentAddress, IFileLocationResolver resolvingAgent) -
Method Summary
Modifier and TypeMethodDescriptionbuildAddressSpace
(String name, int id) buildCorruptData
(Object addressSpace, String message, long address) buildModule
(String name, Properties properties, Iterator sections, Iterator symbols, long loadAddress) buildModuleSection
(Object addressSpace, String name, long imageStart, long imageEnd) buildProcess
(Object addressSpace, String pid, String commandLine, Properties environment, Object currentThread, Iterator threads, Object executable, Iterator libraries, int addressSize) buildRegister
(String name, Number value) buildStackFrame
(Object addressSpace, long stackBasePointer, long pc) buildStackSection
(Object addressSpace, long stackStart, long stackEnd) buildSymbol
(Object addressSpace, String functionName, long relocatedFunctionAddress) buildThread
(String name, Iterator registers, Iterator stackSections, Iterator stackFrames, Properties properties, int signalNumber) long
long
long
getValueOfNamedRegister
(List registers, String string) void
setCPUSubType
(String subType) void
setCPUType
(String cpuType) void
setCreationTime
(long millis) void
setExecutableUnavailable
(String description) Called to inform the builder that the executable data cannot be trusted.void
-
Constructor Details
-
Builder
public Builder(ICoreFileReader core, ClosingFileReader openCoreFile, long environmentAddress, IFileLocationResolver resolvingAgent) - Parameters:
core
- The abstraction over the core fileopenCoreFile
- The open file whichenvironmentAddress
- The address of the environment structure in the coreresolvingAgent
- The agent we can delegate to locate files for us
-
Builder
public Builder(ICoreFileReader core, ImageInputStream stream, long environmentAddress, IFileLocationResolver resolvingAgent) - Parameters:
core
- The abstraction over the core filestream
- The stream for the core fileenvironmentAddress
- The address of the environment structure in the coreresolvingAgent
- The agent we can delegate to locate files for us
-
-
Method Details
-
buildProcess
-
buildAddressSpace
- Specified by:
buildAddressSpace
in interfaceBuilder
-
buildRegister
- Specified by:
buildRegister
in interfaceBuilder
-
buildStackSection
- Specified by:
buildStackSection
in interfaceBuilder
-
buildThread
public Object buildThread(String name, Iterator registers, Iterator stackSections, Iterator stackFrames, Properties properties, int signalNumber) - Specified by:
buildThread
in interfaceBuilder
-
buildModuleSection
- Specified by:
buildModuleSection
in interfaceBuilder
-
buildModule
public Object buildModule(String name, Properties properties, Iterator sections, Iterator symbols, long loadAddress) - Specified by:
buildModule
in interfaceBuilder
-
getAddressSpaces
-
getEnvironmentAddress
public long getEnvironmentAddress()- Specified by:
getEnvironmentAddress
in interfaceBuilder
-
getValueOfNamedRegister
- Specified by:
getValueOfNamedRegister
in interfaceBuilder
-
buildStackFrame
- Specified by:
buildStackFrame
in interfaceBuilder
-
openFile
- Specified by:
openFile
in interfaceBuilder
- Throws:
IOException
-
buildSymbol
- Specified by:
buildSymbol
in interfaceBuilder
-
getOSType
-
getCPUType
-
getCPUSubType
-
getCreationTime
public long getCreationTime() -
setOSType
-
setCPUType
- Specified by:
setCPUType
in interfaceBuilder
-
setCPUSubType
- Specified by:
setCPUSubType
in interfaceBuilder
-
setCreationTime
public void setCreationTime(long millis) - Specified by:
setCreationTime
in interfaceBuilder
-
buildCorruptData
- Specified by:
buildCorruptData
in interfaceBuilder
-