diff options
author | 2023-04-07 12:27:16 -0700 | |
---|---|---|
committer | 2024-02-29 13:38:02 -0800 | |
commit | 3d965b33e40d973b450cb0212913f039476c16f4 (patch) | |
tree | 213bf660d55d66a2a4a273f8394156f30f83410c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fortify: Add KUnit tests for runtime overflows (diff) | |
download | wireguard-linux-3d965b33e40d973b450cb0212913f039476c16f4.tar.xz wireguard-linux-3d965b33e40d973b450cb0212913f039476c16f4.zip |
fortify: Improve buffer overflow reporting
Improve the reporting of buffer overflows under CONFIG_FORTIFY_SOURCE to
help accelerate debugging efforts. The calculations are all just sitting
in registers anyway, so pass them along to the function to be reported.
For example, before:
detected buffer overflow in memcpy
and after:
memcpy: detected buffer overflow: 4096 byte read of buffer size 1
Link: https://lore.kernel.org/r/20230407192717.636137-10-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions