Searched refs:ehdr (Results 1 – 2 of 2) sorted by relevance
92 ELF_EHDR* ehdr = (ELF_EHDR*)app_img->img_start; in trusty_app_symbolize() local93 ELF_SHDR* shdr = (ELF_SHDR*)((uintptr_t)ehdr + ehdr->e_shoff); in trusty_app_symbolize()99 for (size_t i = 0; i < ehdr->e_shnum; i++) { in trusty_app_symbolize()
1524 ELF_EHDR* ehdr; in trusty_app_create() local1556 ehdr = (ELF_EHDR*)app_img->img_start; in trusty_app_create()1557 if (!address_range_within_img(ehdr, sizeof(ELF_EHDR), app_img)) { in trusty_app_create()1563 if (strncmp((char*)ehdr->e_ident, ELFMAG, SELFMAG)) { in trusty_app_create()