peimage

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package peimage derives console-free Windows executables without changing code.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL