Searched refs:CheckFileRange (Results 1 – 2 of 2) sorted by relevance
/bionic/linker/ |
D | linker_phdr.cpp | 327 bool ElfReader::CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment) { in CheckFileRange() function in ElfReader 357 if (!CheckFileRange(header_.e_phoff, size, alignof(ElfW(Phdr)))) { in ReadProgramHeaders() 383 if (!CheckFileRange(header_.e_shoff, size, alignof(const ElfW(Shdr)))) { in ReadSectionHeaders() 479 if (!CheckFileRange(dynamic_shdr->sh_offset, dynamic_shdr->sh_size, alignof(const ElfW(Dyn)))) { in ReadDynamicSection() 491 if (!CheckFileRange(strtab_shdr->sh_offset, strtab_shdr->sh_size, alignof(const char))) { in ReadDynamicSection()
|
D | linker_phdr.h | 75 [[nodiscard]] bool CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment);
|