Added Windows PE support

This commit is contained in:
Eduard Urbach 2024-08-13 14:07:40 +02:00
parent 2e354befc3
commit 3dffa69f37
Signed by: eduard
GPG key ID: 49226B848C78F6C8
20 changed files with 373 additions and 103 deletions

View file

@ -1,11 +1,7 @@
package elf
const (
LittleEndian = 1
TypeExecutable = 2
ArchitectureAMD64 = 0x3E
HeaderSize = 64
)
// HeaderSize is equal to the size of a header in bytes.
const HeaderSize = 64
// Header contains general information.
type Header struct {