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