java.lang.Object
com.ibm.dtfj.image.j9.Builder
- All Implemented Interfaces:
Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder(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) longlonglonggetValueOfNamedRegister(List registers, String string) voidsetCPUSubType(String subType) voidsetCPUType(String cpuType) voidsetCreationTime(long millis) voidsetExecutableUnavailable(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
public Object buildProcess(Object addressSpace, String pid, String commandLine, Properties environment, Object currentThread, Iterator threads, Object executable, Iterator libraries, int addressSize) - Specified by:
buildProcessin interfaceBuilder
-
buildAddressSpace
- Specified by:
buildAddressSpacein interfaceBuilder
-
buildRegister
- Specified by:
buildRegisterin interfaceBuilder
-
buildStackSection
- Specified by:
buildStackSectionin interfaceBuilder
-
buildThread
public Object buildThread(String name, Iterator registers, Iterator stackSections, Iterator stackFrames, Properties properties, int signalNumber) - Specified by:
buildThreadin interfaceBuilder
-
buildModuleSection
- Specified by:
buildModuleSectionin interfaceBuilder
-
buildModule
public Object buildModule(String name, Properties properties, Iterator sections, Iterator symbols, long loadAddress) - Specified by:
buildModulein interfaceBuilder
-
getAddressSpaces
-
getEnvironmentAddress
public long getEnvironmentAddress()- Specified by:
getEnvironmentAddressin interfaceBuilder
-
getValueOfNamedRegister
- Specified by:
getValueOfNamedRegisterin interfaceBuilder
-
buildStackFrame
- Specified by:
buildStackFramein interfaceBuilder
-
openFile
- Specified by:
openFilein interfaceBuilder- Throws:
IOException
-
buildSymbol
- Specified by:
buildSymbolin interfaceBuilder
-
getOSType
-
getCPUType
-
getCPUSubType
-
getCreationTime
public long getCreationTime() -
setOSType
-
setCPUType
- Specified by:
setCPUTypein interfaceBuilder
-
setCPUSubType
- Specified by:
setCPUSubTypein interfaceBuilder
-
setCreationTime
public void setCreationTime(long millis) - Specified by:
setCreationTimein interfaceBuilder
-
buildCorruptData
- Specified by:
buildCorruptDatain interfaceBuilder
-