Documentation ¶ Overview ¶ Package peimage derives console-free Windows executables without changing code. Index ¶ func SetGUI(image []byte) error func VerifyGUI(source io.ReaderAt, size int64, derived io.Reader) ([sha256.Size]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SetGUI ¶ func SetGUI(image []byte) error SetGUI changes only the PE Subsystem field, after validating the fixed headers. func VerifyGUI ¶ func VerifyGUI(source io.ReaderAt, size int64, derived io.Reader) ([sha256.Size]byte, error) VerifyGUI checks every byte using fixed-size buffers and returns the original source checksum. Only the validated PE Subsystem field may differ. Startup must not allocate whole executable images in the persistent User process. Types ¶ This section is empty. Source Files ¶ View all Source files gui.go Click to show internal directories. Click to hide internal directories.