Unit 'elfreader' Package
[Overview][Classes][Index] [#fcl-res]

TElfResourceReader

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

ELF resource reader

Declaration

Source position: elfreader.pp line 43

type TElfResourceReader = class(TAbstractResourceReader)

protected

  function GetExtensions; override;

  function GetDescription; override;

  procedure Load(); override;

  function CheckMagic(); override;

public

  constructor Create; override;

  destructor Destroy; override;

  property MachineType: TElfMachineType; [r]

  

The machine type of the object file

end;

Inheritance

TElfResourceReader

  

ELF resource reader

|

TAbstractResourceReader

  

Base abstract resource reader class

|

TObject

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.

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

See also

TElfResourceReader.MachineType

  

The machine type of the object file

TAbstractResourceReader

  

Base abstract resource reader class

TElfResourceWriter

  

ELF resource writer

Format of resources in object files

  

Format of resources in object files


Documentation generated on: Dec 22 2024