TExeFile
Structure describing the binary.
Declaration
Source position: exeinfo.pp line 32
Type
TExeFile = record
f : File;
size : Int64;
isopen : Boolean;
nsects : LongInt;
sechdrofs : PtrUInt;
secstrofs : PtrUInt;
processaddress : PtrUInt;
FunctionRelative : Boolean;
ImgOffset : PtrUInt;
filename : string;
buf : Array[0..4095] of Byte;
bufsize : LongInt;
bufcnt : LongInt;
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 |
---|---|
CloseExeFile | Close a previously opened file. |
Int64 | 64-bit, signed integer |
LongInt | A signed 32-bits integer |
LongInt | A signed 32-bits integer |
LongInt | A signed 32-bits integer |
OpenExeFile | Open an executable file |
PtrUInt | Unsigned integer type with same size as Pointer. |
PtrUInt | Unsigned integer type with same size as Pointer. |
PtrUInt | Unsigned integer type with same size as Pointer. |
PtrUInt | Unsigned integer type with same size as Pointer. |