Documentation ¶
Index ¶
Constants ¶
View Source
const NativeArch = pe.ImageFileMachineAMD64
NativeArch is a constant that will be equal to the PE machine type enumeration value that corresponds to the arch the binary is running as.
Variables ¶
This section is empty.
Functions ¶
func GetProcessHInstance ¶
GetProcessHInstance gets the HINSTANCE for the current process.
func MakePEBEntryForModule ¶
func MakePEBEntryForModule() error
MakePEBEntryForModule is a hack that inserts an entry for the loaded module into the PEB loader data to make it appear to Windows functions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.