History log of /netbsd/external/cddl/osnet/dist/tools/ctf/cvt/ctf.c (Results 1 – 14 of 14)
Revision Date Author Comments
# eada09ac 28-May-2018 chs <chs@NetBSD.org>

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of im

merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().

show more ...


# d8f15608 18-Mar-2016 christos <christos@NetBSD.org>

write references as pointers XXX:


# 64f4e35a 18-Mar-2016 christos <christos@NetBSD.org>

treat class line struct and union


# 12434ab2 18-Mar-2016 christos <christos@NetBSD.org>

swap first, then write.


# 2a0dad5e 04-Feb-2016 roy <roy@NetBSD.org>

More printflike and dead fixes.


# ee49c4a3 21-Oct-2015 christos <christos@NetBSD.org>

make too many struct or union members non-fatal.


# 2bebfa04 07-Feb-2015 christos <christos@NetBSD.org>

check and fix printf formats, negative array indices, uninitialized variables,
shadowed variables.


# 06119d22 09-Mar-2014 christos <christos@NetBSD.org>

sync with freebsd


# 92b7beac 10-Jan-2012 darran <darran@NetBSD.org>

Fix a segfault in ctfmerge.

GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0xFFFFFFFF.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998 .

GCC is currently doing this for e

Fix a segfault in ctfmerge.

GCC can generate bogus dwarf attributes with DW_AT_byte_size set to 0xFFFFFFFF.
See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35998 .

GCC is currently doing this for external/bsd/tmux/dist/compat/imsg-buffer.c:
readelf -a --debug-dump imsg-buffer.o
...
<2><6e3>: Abbrev Number: 32 (DW_TAG_union_type)
<6e4> DW_AT_byte_size : 0xffffffff
<6e8> DW_AT_decl_file : 1
<6e9> DW_AT_decl_line : 229
<6ea> DW_AT_sibling : <0x705>

This resulted in ctfconvert generating a faulty CTF entry which then caused the
segfault in ctfmerge.

The fix has ctfconvert check for the bogus 0xFFFFFFFF value and works around it.
It also adds some protection to ctfmerge to avoid the segfault and fail
more gracefully if the error should occur in the future.

show more ...


# 2ac926fa 11-Mar-2010 darran <darran@NetBSD.org>

DTrace: The CTF format is limited to only 1024 elements in an enum,
so rather than error out when there are more than this just truncate the
length.


# a252d550 27-Feb-2010 haad <haad@NetBSD.org>

Merge NetBSD local changes to new zfs version 22 sources.


# 89300bd9 24-Feb-2010 darran <darran@NetBSD.org>

DTrace: Get the CTF tools building as part of the toolchain.


# bb8023b5 21-Feb-2010 darran <darran@NetBSD.org>

Add the FreeBSD 8-RC1 changes for DTrace.

Ok with core@.


# a864dc36 20-Feb-2010 darran <darran@NetBSD.org>

Import the rest of Opensolaris 20081117 needed for DTrace. No conflicts
with ZFS.