# Class: com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationContext

ELF relocation contexts can be registered using the [ELFPluginsService](ELFPluginsService). 

 A relocation context means a type of ELF \(e.g. executable, or dynamic file\) and an architecture \(e.g. Arm\). A context consists of one or more relocation applicators.

## Constructor: ELFRelocationContext
- parameter: `relocApplicators`, type: `com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationApplicator<?>[]`


## Method: canApply
- parameter: `elfUnit`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFUnit`
- parameter: `actualImageBase`, type: `long`
- return type: `boolean`

Description: Override to check if the context applies to the given file.

## Method: getApplicableRelocations
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationApplicator<?>>`


## Protected Method: isMappedAtPreferredAddress
- parameter: `elfUnit`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFUnit`
- parameter: `actualImageBase`, type: `long`
- return type: `boolean`


