MCPcopy Create free account
hub / github.com/akyoto/q / Executable

Struct Executable

src/exe/Executable.go:4–11  ·  view source on GitHub ↗

Executable is a generic definition of the binary that later gets translated to OS-specific formats.

Source from the content-addressed store, hash-verified

2
3// Executable is a generic definition of the binary that later gets translated to OS-specific formats.
4type Executable struct {
5 Sections []*Section
6 headerEnd int
7 fileAlign int
8 memoryAlign int
9 congruent bool
10 embedHeaders bool
11}
12
13// New creates a new executable.
14func New(headerEnd int, fileAlign int, memoryAlign int, congruent bool, embedHeaders bool) *Executable {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected