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

Linker information provider, used by code object's mapper during the relocation and symbol resolution phase. An object implementing this interface may be provided to [map](ICodeObjectUnit#map(IVirtualMemory, long, boolean, ILinkInfoProvider)). That method may decide to use the provider to resolve imported symbol names.

## Method: resolveImportedSymbol
- parameter: `name`, type: `java.lang.String`
- parameter: `mode`, type: `int`
- parameter: `vm`, type: `com.pnfsoftware.jeb.core.units.code.asm.memory.IVirtualMemory`
- parameter: `elf`, type: `com.pnfsoftware.jeb.core.units.codeobject.IELFUnit`
- return type: `long`

Description: Resolve an imported symbol to a target address.
parameter: name: imported symbol name
parameter: mode: preferred mode, currently should be set to 0 \(AUTO\)
parameter: vm: the memory with which the code object mapper is currently working
parameter: elf: the source Elf unit
return: resolved address, or \-1L if unresolved

