mirror of
https://github.com/drasko/codezero.git
synced 2026-04-28 22:51:31 +02:00
Changes since April
Clean up of build directories. Simplifications to capability model.
This commit is contained in:
@@ -21,3 +21,7 @@ def elf_binary_size(img):
|
||||
paddr_end = x.p_paddr + x.p_memsz
|
||||
return paddr_end - paddr_start
|
||||
|
||||
# Return load address of elf file
|
||||
def get_elf_load_address(img):
|
||||
elffile = elf.ElfFile.from_file(img)
|
||||
return elffile.header.ai.e_entry
|
||||
|
||||
Reference in New Issue
Block a user