Home
last modified time | relevance | path

Searched refs:ctf_buf (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/gpl3/binutils/dist/libctf/
H A Dctf-open.c254 fp->ctf_objtidx_names = (uint32_t *) (fp->ctf_buf + hp->cth_objtidxoff); in init_symtab()
256 fp->ctf_funcidx_names = (uint32_t *) (fp->ctf_buf + hp->cth_funcidxoff); in init_symtab()
350 fp->ctf_buf = base + (fp->ctf_buf - fp->ctf_base); in ctf_set_base()
352 fp->ctf_vars = (ctf_varent_t *) ((const char *) fp->ctf_buf + in ctf_set_base()
356 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *) fp->ctf_buf in ctf_set_base()
438 tbuf = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_typeoff); in upgrade_types_v1()
439 tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff); in upgrade_types_v1()
483 memcpy (ctf_base, fp->ctf_buf, cth->cth_typeoff); in upgrade_types_v1()
485 fp->ctf_buf + cth->cth_stroff, cth->cth_strlen); in upgrade_types_v1()
494 fp->ctf_buf = ctf_base; in upgrade_types_v1()
[all …]
H A Dctf-lookup.c727 tab = (uint32_t *) (fp->ctf_buf + hp->cth_funcoff); in ctf_symbol_next()
732 tab = (uint32_t *) (fp->ctf_buf + hp->cth_objtoff); in ctf_symbol_next()
756 sym = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[i->ctn_n]); in ctf_symbol_next()
829 (fp->ctf_buf + hp->cth_funcidxoff), in ctf_try_lookup_indexed()
838 symtypetab = (uint32_t *) (fp->ctf_buf + hp->cth_funcoff); in ctf_try_lookup_indexed()
849 (fp->ctf_buf + hp->cth_objtidxoff), in ctf_try_lookup_indexed()
859 symtypetab = (uint32_t *) (fp->ctf_buf + hp->cth_objtoff); in ctf_try_lookup_indexed()
998 type = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_sym_or_name()
H A Dctf-labels.c31 *ctl = (const ctf_lblent_t *) (fp->ctf_buf + h->cth_lbloff); in extract_label_info()
H A Dctf-impl.h397 unsigned char *ctf_buf; /* Uncompressed CTF data buffer. */ member
587 (ctf_type_t *)((uintptr_t)(fp)->ctf_buf + (fp)->ctf_txlate[(i)]))
H A Dctf-serialize.c1257 buf = fp->ctf_buf; in ctf_gzwrite()
1313 src = fp->ctf_buf; in ctf_write_mem()
1326 memcpy (flipped, fp->ctf_buf, fp->ctf_size); in ctf_write_mem()
H A DChangeLog-20201521 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const.
1522 * ctf-open.c (ctf_set_base): Preserve the gap between ctf_buf and
1534 ctf_buf explicitly. Use ctf_free, not ctf_free_base.
1541 the ctf_buf unless that buf is derived unmodified from the input.
/netbsd-src/external/gpl3/binutils.old/dist/libctf/
H A Dctf-open.c254 fp->ctf_objtidx_names = (uint32_t *) (fp->ctf_buf + hp->cth_objtidxoff); in init_symtab()
256 fp->ctf_funcidx_names = (uint32_t *) (fp->ctf_buf + hp->cth_funcidxoff); in init_symtab()
350 fp->ctf_buf = base + (fp->ctf_buf - fp->ctf_base); in ctf_set_base()
352 fp->ctf_vars = (ctf_varent_t *) ((const char *) fp->ctf_buf + in ctf_set_base()
356 fp->ctf_str[CTF_STRTAB_0].cts_strs = (const char *) fp->ctf_buf in ctf_set_base()
438 tbuf = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_typeoff); in upgrade_types_v1()
439 tend = (ctf_type_v1_t *) (fp->ctf_buf + cth->cth_stroff); in upgrade_types_v1()
483 memcpy (ctf_base, fp->ctf_buf, cth->cth_typeoff); in upgrade_types_v1()
485 fp->ctf_buf + cth->cth_stroff, cth->cth_strlen); in upgrade_types_v1()
494 fp->ctf_buf = ctf_base; in upgrade_types_v1()
[all …]
H A Dctf-lookup.c715 tab = (uint32_t *) (fp->ctf_buf + hp->cth_funcoff); in ctf_symbol_next()
720 tab = (uint32_t *) (fp->ctf_buf + hp->cth_objtoff); in ctf_symbol_next()
744 sym = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[i->ctn_n]); in ctf_symbol_next()
817 (fp->ctf_buf + hp->cth_funcidxoff), in ctf_try_lookup_indexed()
826 symtypetab = (uint32_t *) (fp->ctf_buf + hp->cth_funcoff); in ctf_try_lookup_indexed()
837 (fp->ctf_buf + hp->cth_objtidxoff), in ctf_try_lookup_indexed()
847 symtypetab = (uint32_t *) (fp->ctf_buf + hp->cth_objtoff); in ctf_try_lookup_indexed()
986 type = *(uint32_t *) ((uintptr_t) fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_sym_or_name()
H A Dctf-labels.c31 *ctl = (const ctf_lblent_t *) (fp->ctf_buf + h->cth_lbloff); in extract_label_info()
H A Dctf-impl.h397 unsigned char *ctf_buf; /* Uncompressed CTF data buffer. */ member
587 (ctf_type_t *)((uintptr_t)(fp)->ctf_buf + (fp)->ctf_txlate[(i)]))
H A Dctf-serialize.c1257 buf = fp->ctf_buf; in ctf_gzwrite()
1313 src = fp->ctf_buf; in ctf_write_mem()
1326 memcpy (flipped, fp->ctf_buf, fp->ctf_size); in ctf_write_mem()
H A DChangeLog-20201521 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const.
1522 * ctf-open.c (ctf_set_base): Preserve the gap between ctf_buf and
1534 ctf_buf explicitly. Use ctf_free, not ctf_free_base.
1541 the ctf_buf unless that buf is derived unmodified from the input.
/netbsd-src/external/cddl/osnet/dist/common/ctf/
H A Dctf_lookup.c206 type = *(ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_lookup_by_symbol()
269 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]); in ctf_func_info()
310 dp = (ushort_t *)((uintptr_t)fp->ctf_buf + fp->ctf_sxlate[symidx]) + 2; in ctf_func_args()
H A Dctf_impl.h192 const uchar_t *ctf_buf; /* uncompressed CTF data buffer */ member
217 ((ctf_type_t *)((uintptr_t)(fp)->ctf_buf + (fp)->ctf_txlate[(i)]))
H A Dctf_open.c173 info = *(ushort_t *)((uintptr_t)fp->ctf_buf + funcoff); in init_symtab()
206 const ctf_type_t *tbuf = (const ctf_type_t *)(fp->ctf_buf + cth->cth_typeoff); in init_types()
208 const ctf_type_t *tend = (const ctf_type_t *)(fp->ctf_buf + cth->cth_stroff); in init_types()
505 *xp = (uint_t)((uintptr_t)tp - (uintptr_t)fp->ctf_buf); in init_types()
716 fp->ctf_buf = buf; in ctf_bufopen()
H A Dctf_labels.c48 *ctl = (const ctf_lblent_t *)(fp->ctf_buf + h->cth_lbloff); in extract_label_info()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Dctftools.h347 typedef struct ctf_buf ctf_buf_t;
H A Dctf.c59 struct ctf_buf { struct
/netbsd-src/external/gpl3/gdb/dist/libctf/
H A DChangeLog-20201521 ctf_cuname, ctf_dyncuname: ctf_base and ctf_buf are no longer const.
1522 * ctf-open.c (ctf_set_base): Preserve the gap between ctf_buf and
1534 ctf_buf explicitly. Use ctf_free, not ctf_free_base.
1541 the ctf_buf unless that buf is derived unmodified from the input.