Home | History | Annotate | Download | only in libctf

Lines Matching refs:ctf_base

350   fp->ctf_buf = base + (fp->ctf_buf - fp->ctf_base);
351 fp->ctf_base = base;
418 The upgrade is not done in-place: the ctf_base is moved. ctf_strptr() must
431 unsigned char *ctf_base, *old_ctf_base = (unsigned char *) fp->ctf_dynbase;
477 if ((ctf_base = malloc (fp->ctf_size + increase)) == NULL)
480 /* Start at ctf_buf, not ctf_base, to squeeze out the original header: we
483 memcpy (ctf_base, fp->ctf_buf, cth->cth_typeoff);
484 memcpy (ctf_base + cth->cth_stroff + increase,
487 memset (ctf_base + cth->cth_typeoff, 0, cth->cth_stroff - cth->cth_typeoff
493 fp->ctf_base = ctf_base;
494 fp->ctf_buf = ctf_base;
495 fp->ctf_dynbase = ctf_base;
496 ctf_set_base (fp, cth, ctf_base);
1596 if ((fp->ctf_base = malloc (fp->ctf_size)) == NULL)
1601 fp->ctf_dynbase = fp->ctf_base;
1607 fp->ctf_buf = fp->ctf_base;
1609 if ((rc = uncompress (fp->ctf_base, &dstlen, src, srclen)) != Z_OK)
1640 if ((fp->ctf_base = malloc (fp->ctf_size)) == NULL)
1645 fp->ctf_dynbase = fp->ctf_base;
1646 memcpy (fp->ctf_base, ((unsigned char *) ctfsect->cts_data) + hdrsz,
1648 fp->ctf_buf = fp->ctf_base;
1655 fp->ctf_base = (unsigned char *) ctfsect->cts_data;
1657 fp->ctf_buf = fp->ctf_base + hdrsz;
1751 ctf_set_base (fp, hp, fp->ctf_base);
1755 ctf_set_base (fp, hp, fp->ctf_base);