Home | History | Annotate | Download | only in src

Lines Matching refs:segments

48 struct segments
99 static void check_rel (size_t nsegments, struct segments segments[nsegments],
311 /* Get the address ranges for the loaded segments. */
314 struct segments *segments
315 = (struct segments *) malloc (nsegments_max * sizeof (segments[0]));
316 if (segments == NULL)
337 segments
338 = (struct segments *) realloc (segments,
340 * sizeof (segments[0]));
341 if (segments == NULL)
351 segments[nsegments].from = phdr->p_vaddr;
352 segments[nsegments].to = phdr->p_vaddr + phdr->p_memsz;
384 write-protected segments. */
434 check_rel (nsegments, segments, rel->r_offset, elf,
457 check_rel (nsegments, segments, rela->r_offset, elf,
491 check_rel (size_t nsegments, struct segments segments[nsegments],
496 if (segments[cnt].from <= addr && segments[cnt].to > addr)