Sign in Join
FPDoc Onlineexperiment

TElfResourceReader class

In unit elfreader

ELF resource reader

Declaration

pascal
TElfResourceReader = class(TAbstractResourceReader)

Inheritance

  1. TElfResourceReader
  2. TAbstractResourceReader

Description

This class provides a reader for ELF object files and images containing resources.

ELF is the file format used by unices and other operating systems for object files and image files (executables, dynamic libraries and so on). Free Pascal can store resources in ELF files in its own format.

After an object file has been read, MachineType property holds the machine type the object file was built for.

This reader can't read ELF files without section headers. These are however very rare.

See also

Properties

MachineTypepublicThe machine type of the object file

Methods

GetExtensionsprotectedReturns the extensions the reader is registered for
GetDescriptionprotectedReturns the description of the reader
LoadprotectedLoads resources from a stream
CheckMagicprotectedChecks whether a stream is in a format the reader recognizes
CreatepublicCreates a new reader object
Destroypublic

Inherited

From TAbstractResourceReader (9)

AddNoTree CallSubReaderLoad Description Extensions GetTree SetDataOffset SetDataSize SetHeaderSize SetRawData

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.