TElfResourceReader class
ELF resource reader
Declaration
TElfResourceReader = class(TAbstractResourceReader)Inheritance
- TElfResourceReader
- 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
- MachineType
- TAbstractResourceReader
- TElfResourceWriter
- Format of resources in object files
Properties
MachineType | public | The machine type of the object file |
Methods
GetExtensions | protected | Returns the extensions the reader is registered for |
GetDescription | protected | Returns the description of the reader |
Load | protected | Loads resources from a stream |
CheckMagic | protected | Checks whether a stream is in a format the reader recognizes |
Create | public | Creates a new reader object |
Destroy | public |
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.
