Home
last modified time | relevance | path

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

/ndk/sources/android/crazy_linker/src/
Dcrazy_linker_elf_loader.cpp286 ELF::Addr seg_file_end = seg_start + phdr->p_filesz; in LoadSegments() local
316 if ((phdr->p_flags & PF_W) != 0 && PAGE_OFFSET(seg_file_end) > 0) { in LoadSegments()
317 memset((void*)seg_file_end, 0, PAGE_SIZE - PAGE_OFFSET(seg_file_end)); in LoadSegments()
320 seg_file_end = PAGE_END(seg_file_end); in LoadSegments()
326 if (seg_page_end > seg_file_end) { in LoadSegments()
327 void* zeromap = mmap((void*)seg_file_end, in LoadSegments()
328 seg_page_end - seg_file_end, in LoadSegments()