Up to [local] / src / usr.bin / ctfconv
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 22 13:17:18 2024 UTC (3 months, 2 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
HEAD
Changes since 1.19: +27 -13 lines
Diff to previous 1.19 (colored) to selected 1.5 (colored)
Rewrite the it_cmp() function to use the common check bigger than, check smaller than logic. There was a bug in this code because of a badly placed ) which I only noticed after rewriting the function since I assumed that C integer promotion is playing tricks with us. OK mpi@
Revision 1.19 / (download) - annotate - [select for diffs], Wed Feb 21 13:24:37 2024 UTC (3 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.18: +7 -2 lines
Diff to previous 1.18 (colored) to selected 1.5 (colored)
In it_cmp() make sure that arrays are only considered equal if both have the same number of elements. This fixes an issue where arrays where too aggressivly merged and as a result the number of elements was mostly wrong in the CTF bits. Also it_cmp() should return 0 if both elements are considered equal. OK mpi@
Revision 1.18 / (download) - annotate - [select for diffs], Wed Feb 21 13:21:56 2024 UTC (3 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.17: +6 -2 lines
Diff to previous 1.17 (colored) to selected 1.5 (colored)
Make DPRINTF() depend on DEBUG and add the missing ; OK mpi@
Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 21 13:20:38 2024 UTC (3 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.5 (colored)
Apply the void workaround also for typedefs. The kernel has 'typedef VOID void' which needs this. OK mpi@
Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 21 13:18:33 2024 UTC (3 months, 2 weeks ago) by claudio
Branch: MAIN
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored) to selected 1.5 (colored)
Handle DW_FORM_udata and DW_FORM_ref_udata in dav2val(). At least with clang enums use DW_FORM_udata and without this all enum values would be reported as -1. OK mpi@
Revision 1.15 / (download) - annotate - [select for diffs], Mon Dec 26 18:43:49 2022 UTC (17 months, 2 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.5 (colored)
revert previous: just as i get to replying, i find sthen's note. this part of the diff is not for me.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 26 18:41:05 2022 UTC (17 months, 2 weeks ago) by jmc
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.5 (colored)
emited -> emitted; from paul tagliamonte
Revision 1.13 / (download) - annotate - [select for diffs], Thu Nov 7 13:42:54 2019 UTC (4 years, 7 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.12: +12 -5 lines
Diff to previous 1.12 (colored) to selected 1.5 (colored)
Don't stop parsing functions when variables are declared before arguments. Fix argument types of functions containing a static variable when compiled with clang(1).
Revision 1.12 / (download) - annotate - [select for diffs], Thu Nov 7 13:36:03 2019 UTC (4 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.11: +15 -3 lines
Diff to previous 1.11 (colored) to selected 1.5 (colored)
Stop remembering the type of local variables. Fix a shadowing issue reported by procter@.
Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 31 14:47:13 2018 UTC (6 years, 4 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3
Changes since 1.10: +6 -1 lines
Diff to previous 1.10 (colored) to selected 1.5 (colored)
Consider integer/float size during base type comparisons. Regression introduced when I added support for merging forward declarations with their corresponding types because they do not have a size.
Revision 1.10 / (download) - annotate - [select for diffs], Tue Oct 31 10:08:51 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.9: +43 -12 lines
Diff to previous 1.9 (colored) to selected 1.5 (colored)
Merge type forward declarations with real ones as soon as they are found.
Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 28 13:23:26 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.8: +12 -6 lines
Diff to previous 1.8 (colored) to selected 1.5 (colored)
Document the use of a rbtree for resolving types inside a single CU. No functional changes.
Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 28 09:34:17 2017 UTC (6 years, 7 months ago) by mpi
Branch: MAIN
Changes since 1.7: +6 -2 lines
Diff to previous 1.7 (colored) to selected 1.5 (colored)
Define nitems() locally and stop including <sys/param.h>
Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 24 09:14:25 2017 UTC (6 years, 8 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored) to selected 1.5 (colored)
Handle parse_base() returning NULL for DW_TAG_base_type to avoid attemping to insert a NULL iterator leading to a NULL deref crash. Found with afl. ok mpi@
Revision 1.6 / (download) - annotate - [select for diffs], Sun Sep 24 08:44:14 2017 UTC (6 years, 8 months ago) by jsg
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)
Ignore DW_FORM_strp with size larger than elf section buffer fixes accessing memory out of bounds that led to a segfault. Found with afl. ok mpi@
Revision 1.5 / (download) - annotate - [selected], Tue Aug 29 21:10:20 2017 UTC (6 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)
quarterly rescan of the tree: remove unneccessary sys/param.h, and annotate the ones which are needed.
Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 11 16:55:46 2017 UTC (6 years, 10 months ago) by mpi
Branch: MAIN
Changes since 1.3: +11 -1 lines
Diff to previous 1.3 (colored) to selected 1.5 (colored)
Fix nested declaration inside union or struct.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 11 16:28:30 2017 UTC (6 years, 10 months ago) by mpi
Branch: MAIN
Changes since 1.2: +15 -7 lines
Diff to previous 1.2 (colored) to selected 1.5 (colored)
Do not insert random name for anonymous member.
Revision 1.2 / (download) - annotate - [select for diffs], Fri Aug 11 14:58:56 2017 UTC (6 years, 10 months ago) by jasper
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored) to selected 1.5 (colored)
add rcs ids
Revision 1.1 / (download) - annotate - [select for diffs], Fri Aug 11 14:21:24 2017 UTC (6 years, 10 months ago) by mpi
Branch: MAIN
Diff to selected 1.5 (colored)
Import a tool for generating CTF data section (SUNW_ctf) based on DWARF information. ctfconv(1) support multiple CUs in order to work on binaries. ctfstrip(1) works like strip(1) but also insert a .SUNW_ctf section inside a binary. ok deraadt@, kettenis@, jasper@