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

The ELF plugins service is used to provide custom and architecture\-specific facility to the [ELF parser](IELFUnit). 

 Currently, this service supports the registration of:
 \- section processors
 \- symbol processors
 \- relocation processors
 

 Note: the current practice is to register additions in a `static initializer` block of a [native code plugin](INativeDisassemblerPlugin) class.

## Constructor: ELFPluginsService

Description: Create an ELF plugins service.

## Method: addRelocationContext
- parameter: `e`, type: `com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationContext`

Description: Register a relocation context.
parameter: e: relocation context

## Method: addSectionProcessor
- parameter: `e`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFSectionProcessor`

Description: Register a section processor.
parameter: e: section processor

## Method: addSymbolsProcessorFactory
- parameter: `e`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFSymbolProcessorFactory`

Description: Register a symbol processor factory.
parameter: e: symbol processor factory

## Method: createSymbolProcessor
- parameter: `elf`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFUnit`
- return type: `com.pnfsoftware.jeb.core.units.codeobject.IELFSymbolProcessor`

Description: Create a symbol processor for an ELF unit.
parameter: elf: ELF unit
return: symbol processor, or null if none applies

## Method: getRelocationContexts
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationContext>`

Description: Retrieve registered relocation contexts.
return: relocation contexts

## Method: getSectionProcessors
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.codeobject.IELFSectionProcessor>`

Description: Retrieve registered section processors.
return: section processors

## Method: getSymbolProcessorFactories
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.codeobject.IELFSymbolProcessorFactory>`

Description: Retrieve registered symbol processor factories.
return: symbol processor factories

## Static Method: getInstance
- return type: `com.pnfsoftware.jeb.core.units.codeobject.ELFPluginsService`

Description: Retrieve the singleton service instance.
return: the ELF plugins service

