-
- All Known Implementing Classes:
Builder,DTFJLibraryAdapter
public interface Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectbuildAddressSpace(String name, int id)ObjectbuildCorruptData(Object addressSpace, String message, long address)ObjectbuildModule(String name, Properties properties, Iterator sections, Iterator symbols, long startAddress)ObjectbuildModuleSection(Object addressSpace, String name, long imageStart, long imageEnd)ObjectbuildProcess(Object addressSpace, String pid, String commandLine, Properties environment, Object currentThread, Iterator threads, Object executable, Iterator libraries, int addressSize)ObjectbuildRegister(String name, Number value)ObjectbuildStackFrame(Object addressSpace, long stackBasePointer, long pc)ObjectbuildStackSection(Object addressSpace, long stackStart, long stackEnd)ObjectbuildSymbol(Object addressSpace, String functionName, long relocatedFunctionAddress)ObjectbuildThread(String name, Iterator registers, Iterator stackSections, Iterator stackFrames, Properties properties, int signalNumber)longgetEnvironmentAddress()longgetValueOfNamedRegister(List registers, String string)ClosingFileReaderopenFile(String filename)voidsetCPUSubType(String subType)voidsetCPUType(String cpuType)voidsetCreationTime(long millis)voidsetExecutableUnavailable(String description)Called to inform the builder that the executable data cannot be trusted.voidsetOSType(String osType)
-
-
-
Method Detail
-
buildProcess
Object buildProcess(Object addressSpace, String pid, String commandLine, Properties environment, Object currentThread, Iterator threads, Object executable, Iterator libraries, int addressSize)
-
buildThread
Object buildThread(String name, Iterator registers, Iterator stackSections, Iterator stackFrames, Properties properties, int signalNumber)
-
buildModuleSection
Object buildModuleSection(Object addressSpace, String name, long imageStart, long imageEnd)
-
buildModule
Object buildModule(String name, Properties properties, Iterator sections, Iterator symbols, long startAddress)
-
buildSymbol
Object buildSymbol(Object addressSpace, String functionName, long relocatedFunctionAddress)
-
openFile
ClosingFileReader openFile(String filename) throws IOException
- Throws:
IOException
-
getEnvironmentAddress
long getEnvironmentAddress()
-
setExecutableUnavailable
void setExecutableUnavailable(String description)
Called to inform the builder that the executable data cannot be trusted. Note that this also set the libraries unavailable as a side-effect- Parameters:
description-
-
setCPUType
void setCPUType(String cpuType)
-
setCPUSubType
void setCPUSubType(String subType)
-
setCreationTime
void setCreationTime(long millis)
-
setOSType
void setOSType(String osType)
-
-