Class LoaderInformation.Builder
java.lang.Object
com.pnfsoftware.jeb.core.units.codeobject.LoaderInformation.Builder
- Enclosing class:
- LoaderInformation
Builder of
LoaderInformation
objects.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the loader information object.setCompilationTimestamp
(long compilationTimestamp) setEndianness
(Endianness endianness) setEntryPoint
(long entryPoint) setFlags
(int flags) setImageBase
(long imageBase) setImageSize
(long imageSize) setOverlayOffset
(long overlayOffset) setTargetProcessor
(ProcessorType processorType) setTargetSubsystem
(SubsystemType ssType) setVersion
(String version) setWordSize
(int wordSize)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setFlags
- Parameters:
flags
- a combination ofILoaderInformation.FLAG_HAS_RELOCATION
,ILoaderInformation.FLAG_HAS_SYMBOLS
,ILoaderInformation.FLAG_IS_RELOCATABLE
,ILoaderInformation.FLAG_LIBRARY_FILE
,ILoaderInformation.FLAG_OBJECT_FILE
,ILoaderInformation.FLAG_PURE_CODE
- Returns:
- this builder
-
setVersion
- Parameters:
version
- optional version of this container- Returns:
- this builder
-
setTargetProcessor
- Parameters:
processorType
- target processor- Returns:
- this builder
-
setTargetSubsystem
- Parameters:
ssType
-- Returns:
- this builder
-
setEndianness
- Parameters:
endianness
-- Returns:
- this builder
-
setWordSize
- Parameters:
wordSize
-- Returns:
- this builder
-
setCompilationTimestamp
- Parameters:
compilationTimestamp
-- Returns:
- this builder
-
setImageBase
- Parameters:
imageBase
-- Returns:
- this builder
-
setImageSize
- Parameters:
imageSize
-- Returns:
- this builder
-
setEntryPoint
- Parameters:
entryPoint
-- Returns:
- this builder
-
setOverlayOffset
- Parameters:
overlayOffset
-- Returns:
- this builder
-
setNotes
- Parameters:
notes
-- Returns:
- this builder
-
build
Build the loader information object.- Returns:
- the built object
-