Commit f1d73d3
committed
Support distinct handling and configuration for DCHECK failures
Separates `DCHECK` failures from standard `CHECK` failures to enable
granular severity assessment and issue tracking policies.
In Chromium, `DCHECK` failures often carry different security and
priority implications than production `CHECK` failures. While they may
not always be treated as immediate security vulnerabilities, they
present information disclosure risks if filed publicly. Current logic
groups them together, preventing distinct visibility rules.
Detailed changes:
- **Stack Parsing:** Updates `stacktraces` regex constants to explicitly
distinguish "DCHECK failed" from "Check failed/NOTREACHED", assigning
the distinct crash type `DCHECK failure`.
- **Security Implications:** Introduces the
`DCHECKS_HAVE_SECURITY_IMPLICATION` environment variable to control
whether DCHECKs are flagged as security issues per-fuzzer.
- **Policy Engine:** Refactors `IssueTrackerPolicy` to support recursive
configuration application. This allows nested conditions (e.g., `all`
-> `non_security` -> `dcheck`) to apply specific labels, access
limits, or priority levels based on the intersection of crash traits.
This decouple the configuration depth from the code, enabling
arbitrary nesting or rules and simplifying the addition of future
condition types.
Bug: https://issues.chromium.org/issues/4066672021 parent 3612e16 commit f1d73d3
File tree
7 files changed
+251
-84
lines changed- src/clusterfuzz
- _internal
- crash_analysis
- issue_management
- tests
- appengine/libs
- core/crash_analysis/stack_parsing
- stacktraces
7 files changed
+251
-84
lines changedLines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
325 | 323 | | |
326 | 324 | | |
327 | 325 | | |
328 | 326 | | |
329 | | - | |
330 | | - | |
| 327 | + | |
| 328 | + | |
331 | 329 | | |
332 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
333 | 338 | | |
334 | 339 | | |
335 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
326 | | - | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
327 | 329 | | |
328 | 330 | | |
329 | 331 | | |
| |||
Lines changed: 49 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
156 | 165 | | |
157 | | - | |
158 | | - | |
159 | | - | |
| 166 | + | |
| 167 | + | |
160 | 168 | | |
161 | | - | |
162 | | - | |
163 | | - | |
| 169 | + | |
| 170 | + | |
164 | 171 | | |
165 | 172 | | |
166 | 173 | | |
167 | | - | |
| 174 | + | |
168 | 175 | | |
169 | | - | |
| 176 | + | |
170 | 177 | | |
171 | 178 | | |
172 | | - | |
173 | | - | |
| 179 | + | |
| 180 | + | |
174 | 181 | | |
175 | | - | |
176 | | - | |
| 182 | + | |
| 183 | + | |
177 | 184 | | |
178 | | - | |
| 185 | + | |
179 | 186 | | |
180 | 187 | | |
181 | 188 | | |
182 | | - | |
| 189 | + | |
183 | 190 | | |
184 | 191 | | |
185 | 192 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 193 | + | |
196 | 194 | | |
197 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
198 | 217 | | |
199 | 218 | | |
200 | 219 | | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
205 | 223 | | |
206 | 224 | | |
207 | 225 | | |
| |||
0 commit comments