Improved security

This commit is contained in:
Eduard Urbach 2024-08-14 17:49:07 +02:00
parent 074ce25997
commit a80207d105
Signed by: eduard
GPG key ID: 49226B848C78F6C8
11 changed files with 42 additions and 77 deletions

View file

@ -8,6 +8,12 @@ const (
// The base address is the virtual address for our ELF file.
BaseAddress = 0x40 * MinAddress
// Align decides the alignment of the sections and it must be a multiple of the page size.
Align = 0x1000
// The code offset is the offset of the executable machine code within the file.
CodeOffset = Align
)
var (