ddl.elf.ELFObjLoader

Authors:
Lars Ivar Igesund, Eric Anderton

License:
BSD Derivative (see source for details)

class ELFObjLoader: ddl.DynamicLibraryLoader.DynamicLibraryLoader;
An implementation of the abstract class DynamicLibraryLoader for for use with object files in ELF (Executable and Linkable Format). The object files can be standalone .o or embedded in archive files.

char[] getLibraryType();
Returns the typename supported by this loader. Returns the static string "ELF".

bool canLoadLibrary(FileBuffer file);
Returns true if the loader can load the provided library. The method checks if the supplied library starts with the ELF magic string, "\x7fELF".

DynamicLibrary load(LoaderRegistry registry, FileBuffer file);
Loads the supplied library, returning an instance of ELFLibrary.