Lines Matching full:segments
41 struct segments struct
91 static void check_rel (size_t nsegments, struct segments segments[nsegments],
304 /* Get the address ranges for the loaded segments. */ in process_file()
307 struct segments *segments in process_file() local
308 = (struct segments *) malloc (nsegments_max * sizeof (segments[0])); in process_file()
309 if (segments == NULL) in process_file()
336 segments in process_file()
337 = (struct segments *) realloc (segments, in process_file()
339 * sizeof (segments[0])); in process_file()
340 if (segments == NULL) in process_file()
350 segments[nsegments].from = phdr->p_vaddr; in process_file()
351 segments[nsegments].to = phdr->p_vaddr + phdr->p_memsz; in process_file()
383 write-protected segments. */ in process_file()
434 check_rel (nsegments, segments, rel->r_offset, elf, in process_file()
457 check_rel (nsegments, segments, rela->r_offset, elf, in process_file()
473 free (segments); in process_file()
492 check_rel (size_t nsegments, struct segments segments[nsegments], in check_rel()
497 if (segments[cnt].from <= addr && segments[cnt].to > addr) in check_rel()