Searched refs:match_offset (Results 1 – 1 of 1) sorted by relevance
612 size_t match_offset = 0; in phdr_table_map_gnu_relro() local622 while (match_offset < size) { in phdr_table_map_gnu_relro()624 while (match_offset < size && in phdr_table_map_gnu_relro()625 memcmp(mem_base + match_offset, file_base + match_offset, PAGE_SIZE) != 0) { in phdr_table_map_gnu_relro()626 match_offset += PAGE_SIZE; in phdr_table_map_gnu_relro()630 size_t mismatch_offset = match_offset; in phdr_table_map_gnu_relro()637 if (mismatch_offset > match_offset) { in phdr_table_map_gnu_relro()638 void* map = mmap(mem_base + match_offset, mismatch_offset - match_offset, in phdr_table_map_gnu_relro()639 PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, match_offset); in phdr_table_map_gnu_relro()646 match_offset = mismatch_offset; in phdr_table_map_gnu_relro()