-
- All Known Implementing Classes:
Builder
,DTFJLibraryAdapter
public interface Builder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
buildAddressSpace(String name, int id)
Object
buildCorruptData(Object addressSpace, String message, long address)
Object
buildModule(String name, Properties properties, Iterator sections, Iterator symbols, long startAddress)
Object
buildModuleSection(Object addressSpace, String name, long imageStart, long imageEnd)
Object
buildProcess(Object addressSpace, String pid, String commandLine, Properties environment, Object currentThread, Iterator threads, Object executable, Iterator libraries, int addressSize)
Object
buildRegister(String name, Number value)
Object
buildStackFrame(Object addressSpace, long stackBasePointer, long pc)
Object
buildStackSection(Object addressSpace, long stackStart, long stackEnd)
Object
buildSymbol(Object addressSpace, String functionName, long relocatedFunctionAddress)
Object
buildThread(String name, Iterator registers, Iterator stackSections, Iterator stackFrames, Properties properties, int signalNumber)
long
getEnvironmentAddress()
long
getValueOfNamedRegister(List registers, String string)
ClosingFileReader
openFile(String filename)
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
setOSType(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)
-
-