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