Lines Matching refs:ehdr
32 uint64_t (*ehdr_shoff)(Elf_Ehdr *ehdr);
33 uint16_t (*ehdr_shstrndx)(Elf_Ehdr *ehdr);
34 uint16_t (*ehdr_shentsize)(Elf_Ehdr *ehdr);
35 uint16_t (*ehdr_shnum)(Elf_Ehdr *ehdr);
60 static inline uint64_t ehdr64_shoff(Elf_Ehdr *ehdr) in ehdr64_shoff() argument
62 return elf_parser.r8(&ehdr->e64.e_shoff); in ehdr64_shoff()
65 static inline uint64_t ehdr32_shoff(Elf_Ehdr *ehdr) in ehdr32_shoff() argument
67 return elf_parser.r(&ehdr->e32.e_shoff); in ehdr32_shoff()
70 static inline uint64_t ehdr_shoff(Elf_Ehdr *ehdr) in ehdr_shoff() argument
72 return elf_parser.ehdr_shoff(ehdr); in ehdr_shoff()
76 static inline uint16_t ehdr64_##fn_name(Elf_Ehdr *ehdr) \
78 return elf_parser.r2(&ehdr->e64.e_##fn_name); \
81 static inline uint16_t ehdr32_##fn_name(Elf_Ehdr *ehdr) \
83 return elf_parser.r2(&ehdr->e32.e_##fn_name); \
86 static inline uint16_t ehdr_##fn_name(Elf_Ehdr *ehdr) \
88 return elf_parser.ehdr_##fn_name(ehdr); \