Interface ILinkInfoProvider
public interface 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. That method
may decide to use the provider to resolve imported symbol names.-
Method Summary
Modifier and TypeMethodDescriptionlongresolveImportedSymbol(String name, int mode, IVirtualMemory vm, IELFUnit elf) Resolve an imported symbol to a target address.
-
Method Details
-
resolveImportedSymbol
Resolve an imported symbol to a target address.- Parameters:
name- imported symbol namemode- preferred mode, currently should be set to 0 (AUTO)vm- the memory with which the code object mapper is currently workingelf- the source Elf unit- Returns:
- resolved address, or -1L if unresolved
-