Files
go_pwner/procmem_other.go
T
2026-07-18 21:37:15 +03:00

28 lines
572 B
Go

//go:build !windows
package winpwn
import "errors"
var errWindowsOnly = errors.New("requires GOOS=windows")
func OpenPEFromProcess(pid uint32, base uintptr) (*PEFile, error) {
return nil, errWindowsOnly
}
func ResolveModuleBase(pid uint32, moduleName string) (uintptr, error) {
return 0, errWindowsOnly
}
func SpawnSuspended(target string) (tube *Tube, pid uint32, err error) {
return nil, 0, errWindowsOnly
}
func ResumeMainThread(pid uint32) error {
return errWindowsOnly
}
func ListProcessHeaps(pid uint32) ([]uint64, error) {
return nil, errWindowsOnly
}