File tree 1 file changed +11
-0
lines changed
1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -213,6 +213,12 @@ $ cd test
213
213
$ ./regression-tests
214
214
$ ./unit-tests
215
215
```
216
+ Please take care that the '<path/to/modsecurity>/test/cppcheck_suppressions.txt'
217
+ file contains hardcoded 'filename: line number' suppressions. If you modify a
218
+ file with explicit suppressions, you must update the 'cppcheck_suppressions.txt'
219
+ accordingly to ensure the suppression references remain aligned with the
220
+ intended lines of code. Failing to do so might trigger 'make check-static' to
221
+ break the build with errors that are logically unrelated to your modifications.
216
222
217
223
### Debugging
218
224
@@ -235,7 +241,12 @@ $ ./configure --enable-assertions=yes
235
241
$ make
236
242
$ sudo make install
237
243
```
244
+ "Assertions allow us to document assumptions and to spot violations early in the
245
+ development process. What is more, assertions allow us to spot violations with a
246
+ minimum of effort." https://dl.acm.org/doi/pdf/10.1145/240964.240969
238
247
248
+ It is recommended to use assertions where applicable, and to enable them with
249
+ '--enable-assertions=yes' during the testing and debugging workflow.
239
250
240
251
## Reporting Issues
241
252
You can’t perform that action at this time.
0 commit comments