Executable is a generic definition of the binary that later gets translated to OS-specific formats.
| 2 | |
| 3 | // Executable is a generic definition of the binary that later gets translated to OS-specific formats. |
| 4 | type 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. |
| 14 | func New(headerEnd int, fileAlign int, memoryAlign int, congruent bool, embedHeaders bool) *Executable { |
nothing calls this directly
no outgoing calls
no test coverage detected