Searched refs:payload_size (Results 1 – 4 of 4) sorted by relevance
/DragonStub/apps/ |
H A D | stub.c | 106 static struct payload_info payload_info_new(u64 payload_addr, u64 payload_size) in payload_info_new() argument 109 .payload_size = payload_size, in payload_info_new() 123 u64 payload_size = payload_end - payload_start; in find_elf() local 127 efi_info("payload_size: %p\n", payload_size); in find_elf() 130 payload_size == 0) { in find_elf() 135 bool found = elf_check((void *)payload_start, payload_size); in find_elf() 139 info->payload_size = payload_size; in find_elf()
|
H A D | elf.c | 56 bool elf_check(const void *payload_start, u64 payload_size) in elf_check() argument 59 if (!verify_ident(payload_start, payload_size)) { in elf_check() 82 efi_status_t elf_get_header(const void *payload_start, u64 payload_size, in elf_get_header() argument 85 if (!verify_ident(payload_start, payload_size)) { in elf_get_header() 110 static efi_status_t parse_phdrs(const void *payload_start, u64 payload_size, in parse_phdrs() argument 132 if (shoff + sizeof(Elf64_Shdr) > payload_size) { in parse_phdrs() 149 if (phoff + total_size > payload_size) { in parse_phdrs() 325 static efi_status_t load_program(const void *payload_start, u64 payload_size, in load_program() argument 373 if (file_offset + file_size > payload_size) { in load_program() 409 u64 payload_size = payload_info->payload_size; in load_elf() local [all …]
|
/DragonStub/inc/dragonstub/ |
H A D | elfloader.h | 8 bool elf_check(const void *payload_start, u64 payload_size); 15 efi_status_t elf_get_header(const void *payload_start, u64 payload_size,
|
H A D | dragonstub.h | 194 u64 payload_size; member
|