Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_phdr.h68 bool CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment);
Dlinker_phdr.cpp251 bool ElfReader::CheckFileRange(ElfW(Addr) offset, size_t size, size_t alignment) { in CheckFileRange() function in ElfReader
276 if (!CheckFileRange(header_.e_phoff, size, alignof(ElfW(Phdr)))) { in ReadProgramHeaders()
302 if (!CheckFileRange(header_.e_shoff, size, alignof(const ElfW(Shdr)))) { in ReadSectionHeaders()
349 if (!CheckFileRange(dynamic_shdr->sh_offset, dynamic_shdr->sh_size, alignof(const ElfW(Dyn)))) { in ReadDynamicSection()
361 if (!CheckFileRange(strtab_shdr->sh_offset, strtab_shdr->sh_size, alignof(const char))) { in ReadDynamicSection()