# Interface: com.pnfsoftware.jeb.core.units.codeobject.ILoaderInformation

Basic information held within a code loader unit.

## Static Field: FLAG_HAS_RELOCATION
Type: `int`

Constant value: `2`
Description: The file contains relocation information.

## Static Field: FLAG_HAS_SYMBOLS
Type: `int`

Constant value: `1`
Description: The file contains symbolic information.

## Static Field: FLAG_IS_RELOCATABLE
Type: `int`

Constant value: `32`
Description: The file can be relocated at different base addresses. 

 Note that a file can be relocatable even if it does not have relocation information \(eg, PIC\).

## Static Field: FLAG_LIBRARY_FILE
Type: `int`

Constant value: `4`
Description: The file is a library file \(eg, Windows DLL, Linux SO\)

## Static Field: FLAG_OBJECT_FILE
Type: `int`

Constant value: `8`
Description: The file is an object file \(e.g. Windows COFF, Linux relocatable ELF\)

## Static Field: FLAG_PURE_CODE
Type: `int`

Constant value: `16`
Description: The file is a pseudo\-object file, and contains pure code. An entry\-point RVA of 0 will not be disregarded; ie, if 0, the first code to be executed will be assumed to be at offset 0.

## Method: getCompilationTimestamp
- return type: `long`

Description: Get the compilation timestamp, if any.
return: epoch timestamp in milliseconds

## Method: getEndianness
- return type: `com.pnfsoftware.jeb.util.io.Endianness`

Description: Get the endianness.
return: byte ordering

## Method: getEntryPoint
- return type: `long`

Description: Get the relative address of the main entry\-point, if any. 

 Other exported addresses and symbols are defined within [ICodeObjectUnit](ICodeObjectUnit).
return: the relative \(to the base address\) address of the main entry\-point

## Method: getFlags
- return type: `int`

Description: Get generic flags, any combination of `FLAG_*`. The flags are mostly informative.
return: the optional flags

## Method: getImageBase
- return type: `long`

Description: Get the ideal in\-memory base address of the file. It is the address of the first byte of the mapped file in memory.
return: absolute address in bytes

## Method: getImageSize
- return type: `long`

Description: Get the in\-memory size of the file. It is the address of the loaded or memory\-mapped loader file.
return: size in bytes

## Method: getNotes
- return type: `java.lang.String`

Description: Retrieve custom notes provided by the code object parser.
return: may be null

## Method: getOverlayOffset
- return type: `long`

Description: Get the file offset to the overlay \(also called 'appended'\) data in this code object, if any. Overlay data, although part of a binary file, is normally not mapped to memory by the code object loaders.
return: the overlay data offset in file, 0 if none or N/A. A code object without overlay data         may also return a value equal to the input size itself

## Method: getTargetProcessor
- return type: `com.pnfsoftware.jeb.core.units.codeobject.ProcessorType`

Description: Get the target processor type.
return: target processor type, or null if unknown

## Method: getTargetSubsystem
- return type: `com.pnfsoftware.jeb.core.units.codeobject.SubsystemType`

Description: Get the target subsystem and/or operating system type.
return: target subsystem type, or null if unknown

## Method: getVersion
- return type: `java.lang.String`

Description: Get a version information string about the code object.
return: optional version string

## Method: getWordSize
- return type: `int`

Description: Get the machine word size, in bits. May be redundant with [#getTargetProcessor()](#getTargetProcessor()).
return: word size; common WS include 32\-bit and 64\-bit

