coff

package
v0.0.0-...-06b6374 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	MEM_COMMIT             = windows.MEM_COMMIT
	MEM_RESERVE            = windows.MEM_RESERVE
	MEM_TOP_DOWN           = windows.MEM_TOP_DOWN
	PAGE_EXECUTE_READWRITE = windows.PAGE_EXECUTE_READWRITE
	// PAGE_EXECUTE_READ is a Windows constant used with Windows API calls
	PAGE_EXECUTE_READ = windows.PAGE_EXECUTE_READ
	// PAGE_READWRITE is a Windows constant used with Windows API calls
	PAGE_READWRITE = windows.PAGE_READWRITE

	// Characteristic Flag that implies a section should be executable
	IMAGE_SCN_MEM_EXECUTE = 0x20000000
)

Variables

This section is empty.

Functions

func Load

func Load(coffBytes []byte, argBytes []byte) (string, error)

func LoadWithMethod

func LoadWithMethod(coffBytes []byte, argBytes []byte, method string) (string, error)

Types

type CoffSection

type CoffSection struct {
	Section *pecoff.Section
	Address uintptr
}

Jump to

Keyboard shortcuts

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