Sign in Join
FPDoc Onlineexperiment

exeinfo unit

Return executable information.

The exeinfo unit implements some cross-platform routines to examine the contents of an executable: information about sections, mapping addresses to loaded modules etc.

It is mainly used by the lineinfo and lnfodwrf unit to examine the binary for debug info.

Classes and records

TExeFilerecordStructure describing the binary.

Procedures and functions

CloseExeFilefunctionClose a previously opened file.
FindExeSectionfunctionFind a section in the binary image.
GetModuleByAddrprocedureReturn the module name by address.
OpenExeFilefunctionOpen an executable file.
ReadDebugLinkfunctionRead the location of a debug info filename.

Types

TExeOffsettypeExecutable address offset type alias.
TExeProcessAddresstypeProcedure address pointer type alias.

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