Home
last modified time | relevance | path

Searched refs:elf_buf (Results 1 – 1 of 1) sorted by relevance

/devicemodel/core/
A Dsw_load_elf.c170 char *elf_buf; in acrn_load_elf() local
174 elf_buf = calloc(1, ELF_BUF_LEN); in acrn_load_elf()
175 if (elf_buf == NULL) { in acrn_load_elf()
183 free(elf_buf); in acrn_load_elf()
187 read_len = fread(elf_buf, 1, ELF_BUF_LEN, fp); in acrn_load_elf()
196 ptr32 = (unsigned int *) elf_buf; in acrn_load_elf()
222 elf_ehdr = (Elf32_Ehdr *) elf_buf; in acrn_load_elf()
230 free(elf_buf); in acrn_load_elf()
236 ret = load_elf32(ctx, fp, elf_buf); in acrn_load_elf()
240 free(elf_buf); in acrn_load_elf()
[all …]

Completed in 3 milliseconds