Searched refs:elfmap (Results 1 – 2 of 2) sorted by relevance
136 static unsigned char *elfmap; variable213 if (elfmap != NULL && elfmap != MAP_FAILED) in main()214 munmap (elfmap, elfmap_size); in main()215 elfmap = NULL; in main()565 if (elfmap == NULL) in read_block()569 elfmap_base = elfmap = map_file (fd, elfmap_off, fdlen, &elfmap_size); in read_block()571 if (unlikely (elfmap == MAP_FAILED)) in read_block()576 if (unlikely (elfmap == MAP_FAILED)) in read_block()597 if (mmap (elfmap, elfmap_size, PROT_READ, in read_block()601 elfmap_base = elfmap; in read_block()[all …]
4868 * strings.c (main): Reset elfmap variable after munmap call.