Skip to content

TExeFile

Structure describing the binary.

Declaration

Source position: exeinfo.pp line 36

type
  TExeFile = record
    f: File;
    size: Int64;
    isopen: Boolean;
    nsects: LongInt;
    sechdrofs: TExeOffset = PtrUInt;
    secstrofs: TExeOffset = PtrUInt;
    processaddress: TExeProcessAddress = PtrUInt;
    FunctionRelative: Boolean;
    ImgOffset: TExeOffset = PtrUInt;
    filename: shortstring;
  end;

Description

TExeFile is a record used in the various calls of this unit. It contains a file descriptor, and various fields that describe the executable.

The structure of TExeFile is opaque, that is, one shouldn't rely on the exactness of this structure, it may change any time in the future.

See also

Name Description
OpenExeFile Open an executable file.
CloseExeFile Close a previously opened file.