Debian Codegraph @

NEWS

raw
1 NEWS
2 ====
3
4 Version 0.15
5 ------------
6
7 - Ignore another cargo/rust false positive; reported by Yogeswaran Umasankar
8 (see Debian Bug #1037521).
9 - Permit "no compiler commands" for cargo/rust projects.
10 - Fix false positive in C++ compiler detection; reported by Rafael Laboissière
11 (Debian Bug #1069576).
12 - Relax detection of cmake's compiler detection; reported by Sébastien Noel,
13 patch by Alex Muntada (Debian Bug #1125781).
14 - Don't treat lines "compiling" .mo files as non-verbose; reported by Raphaël
15 Hertzog (Debian Bug #1114956).
16
17 Version 0.14
18 ------------
19
20 - Update moc handling for Qt6; reported by Ben Westover, patch from Ross
21 Vandegrift (Debian bug #1019521).
22 - Support -D_FORTIFY_SOURCE=3 added in glibc 2.35; reported by Christian
23 Göttsche (Debian bug #1027084).
24 - Fix false positive when using `nvcc`; reported by Andreas Beckmann (Debian
25 Bug #1033027).
26 - Fix tests in sid/testing by removing avr32 which is no longer supported
27 (Debian Bug #1050942).
28 - Accept -g3 instead of -g which enables more debug information; reported in
29 IRC OFTC/#debian-mentors.
30 - Properly ignore cargo/rust output; reported by Alexander Kjäll via email.
31 - Fix another false positives from cmake which probes for compiler flags
32 without setting CPPFLAGS; reported by Marco Mattiolo and Soren Stoutner
33 (Debian Bugs #1043522 and #1054882).
34 - Check for stack clash protection (-fstack-clash-protection); requested by
35 Emanuele Rocca (Debian Bug #1050909).
36 - Check for branch protection (amd64: -fcf-protection, arm64:
37 -mbranch-protection=standard); requested by Emanuele Rocca (Debian Bug
38 #1050912).
39
40
41 Version 0.13
42 ------------
43
44 - Also split commands on && and || (not only on ;) to detect more false
45 negatives. This could also trigger more false positives.
46 - Fix false positive when calling make; reported by Fabian Wolff (Debian Bug
47 #975650).
48 - Fix false positives from cmake which probes for compiler flags without
49 setting CPPFLAGS; reported and suggested fix by Joao Eriberto Mota Filho
50 (Debian Bug #994422).
51 - Properly handle quoted flags; reported by Olek Wojnar (see Debian Bug
52 #975650 message 45).
53 - Strip (basic) environment variables before compiler detection to reduce
54 false positives; reported by Fabian Wolff (Debian Bug #975650).
55
56
57 Version 0.12
58 ------------
59
60 - Add support to dynamically ignore lines from within the build log by
61 embedding the string "blhc: ignore-line-regexp:" (Debian Bug #725484).
62 - Fix false positive for meson build; reported by Yangfl (Debian Bug #953335).
63 - Fix false positive with embedded gcc -print-* commands; reported by Andreas
64 Beckmann (Debian Bug #964160).
65 - Detect non-verbose commands in waf builds.
66
67
68 Version 0.11
69 ------------
70
71 - Fix false positive in `dwz` lines; reported by Raphaël Hertzog (Debian Bug
72 #948009).
73
74
75 Version 0.10
76 ------------
77
78 - Sync architecture specific hardening support with dpkg 1.19.7.
79 - Fix architecture detection with recent dpkg-buildpackage versions; reported
80 by Ross Vandegrift, patch from Mathieu Parent (Debian bug #929503).
81 - Fix false positive in non-verbose check for python setuptools; reported by
82 Simon McVittie (Debian Bug #930993).
83 - Fix special handling of format CFLAGS for Ada/Fortran with build logs not
84 generated pbuilder/sbuild (pbuilder and sbuild provide build dependencies
85 but other do not); reported by Christoph Berg and Rafael Laboissière (Debian
86 bug #924387).
87 - Fix false positive in non-verbose check for cython's .pyx files; reported by
88 Picca Frédéric-Emmanuel (Debian Bug #939632).
89 - Fix false positive in libtool detection when the path to the libtool binary
90 is quoted; Yves-Alexis reported by Perez (Debian Bug #941836).
91
92
93 Version 0.09
94 ------------
95
96 - Detect restore of -D_FORTIFY_SOURCE=2 after it was overwritten by
97 -D_FORTIFY_SOURCE=0 or 1 or -U_FORTIFY_SOURCE; reported by Mike Hommey
98 (Debian bug #898332).
99 - Detect overwrite of -fstack-protector options with -fno-stack-protector
100 (same for -fstack-protector-all and -fstack-protector-strong).
101 - Don't treat hexdumps which contain "cc" as compiler lines; reported by Kurt
102 Roeckx (Debian bug #899137).
103
104
105 Version 0.08
106 ------------
107
108 - Support new dpkg versions which replaced Dpkg::Arch's debarch_to_debtriplet
109 with debarch_to_debtuple (Debian Bug #844393), reported by Johannes Schauer.
110 - Support Open MPI mpicc/mpicxx compiler wrappers to prevent false positives
111 in non-verbose-build detection, reported by Boud Roukema and Nico Schlömer
112 (Debian Bug #853265).
113 - Add better support for Fortran (c.f. Debian Bug #853265).
114 - Don't report missing PIE flags in buildd mode if GCC defaults to PIE (c.f.
115 Debian Bug 845339).
116 - Add new --debian option to handle PIE flags like buildd mode, thanks to
117 Eriberto Mota for the suggestion. This is not enabled per default to prevent
118 false negatives as the flags are missing from the build log and blhc can't
119 detect if the compiler applied PIE internally (c.f. Debian Bug 845339).
120 - Add --line-numbers command line option
121 - Sync architecture specific hardening support with dpkg 1.19.0.5.
122 - Use proper look back for non-verbose detection if DEB_BUILD_OPTIONS=parallel
123 is present. Previously it was too small causing false-positives if the
124 option was detected.
125
126
127 Version 0.07
128 ------------
129
130 - Sync architecture specific hardening support with dpkg 1.18.10.
131 - Fix false positive in "gcc > file" (Debian Bug #828789), reported by Mathieu
132 Parent.
133 - Fix another Ada false positive for format flags (Debian Bug #833939),
134 reported by Nicolas Boulenguez.
135
136
137 Version 0.06
138 ------------
139
140 - Sync architecture specific hardening support with dpkg 1.18.7.
141 - Fix false positive in "libtool: link: g++ -include test.h .." (Debian Bug
142 #784959), reported by Raphaël Hertzog.
143 - Fix false positive with `gcc -v` (Debian Bug #765756), reported by Andreas
144 Beckmann.
145 - Fix false positive in `rm` lines (Debian Bug #772853), reported by Jakub
146 Wilk.
147 - Update t/tests.t for new output of Pod::Usage in 1.65 (Debian Bug #825428),
148 reported by Niko Tyni, patch by Gregor Herrmann.
149 - Fix false positives for comment lines (Debian Bug #825671), reported by
150 Fabian Wolff.
151 - Improve non-verbose detection for parallel builds (Debian Bug #801492),
152 reported by Mattia Rizzolo, initial patch by Julien Lamy.
153
154
155 Version 0.05
156 ------------
157
158 - Fix false positive in configure output if $CC contains options (Debian bug
159 #710135), reported by Bastien Roucariès.
160 - Handle another case of Qt's `moc` (Debian bug #710780), reported by Felix
161 Geyer.
162 - Fix detection of build dependencies for buildd logs (Debian bug #719656),
163 reported by Nicolas Boulenguez.
164 - Fix buildd architecture detection. Only relevant if the chroot setup fails
165 and dpkg-buildpackage is never run; therefore a minor issue.
166 - Fix false positive when "compiling" python files (Debian bugs #714630 and
167 #753080), reported by Matthias Klose, patch by James McCoy.
168 - Don't check for hardening flags in non-verbose compiler commands spanning
169 multiple lines.
170 - Better handling of libtool commands (Debug bug #717598), reported by Stefan
171 Fritsch.
172
173 - Sync architecture specific hardening support with dpkg 1.17.13.
174 - Check for -fstack-protector-strong on supported platforms (since dpkg
175 1.17.11) (Debian bug #757885), reported by Markus Koschany.
176 - Consider lines with -O0 or -Og debug builds and disable checks for -O2
177 (Debian bug #714628), reported by Matthias Klose. Also don't check for
178 fortification in those lines as it requires optimization (Debian bug
179 #757683), also reported by Matthias Klose.
180
181
182 Version 0.04
183 ------------
184
185 - Fix many false positives, this includes compiled header files, lines with
186 only CC=gcc but no other compiler commands and `moc-qt4`/`moc-qt5` commands.
187 - Accept -Wformat=2 because it implies -Wformat.
188 - Accept --param ssp-buffer-size=4 (space instead of equals sign).
189 - Fix build dependency related checks (Ada, hardening-wrapper) for pbuilder
190 build logs.
191 - Fix architecture detection in old buildd build logs which use an additional
192 "is" in the "dpkg-buildpackage: host architecture" field.
193
194 - Updated output in buildd mode.
195 - Only return non-zero exit codes for errors in buildd mode, not for warnings.
196 - Minor performance improvements.
197 - Support for Ada files.
198
199
200 Version 0.03
201 ------------
202
203 - Fix --ignore-flag with -fPIE.
204 - Detect overwrite of -D_FORTIFY_SOURCE=2 with -D_FORTIFY_SOURCE=0 or 1 or
205 -U_FORTIFY_SOURCE.
206
207 - Add --ignore-arch-flag and --ignore-arch-line options to ignore flags and
208 lines on certain architectures only.
209 - Buildd tags "no-compiler-commands" and "invalid-cmake-used" are now
210 information ('I-') instead of warning ('W-').
211 - Ignore false positives when using moc-qt4.
212
213
214 Version 0.02
215 ------------
216
217 - Fix --version, --help.
218
219 - Remove -Wformat-security from expected CFLAGS because it's already implied
220 by -Werror=format-security (removed in dpkg-dev >= 1.16.3).
221
222
223 Version 0.01
224 ------------
225
226 - Initial release.
227
228 // vim: ft=asciidoc