diff options
author | 2022-02-08 14:53:47 -0800 | |
---|---|---|
committer | 2022-02-13 16:50:07 -0800 | |
commit | 0a2b782a00f33e7d06dc43d099fa071ae97bee77 (patch) | |
tree | 3fc7f4fcccd1b9bc99989f3ccef16d519e8cbe8c /scripts/gdb/linux/utils.py | |
parent | Compiler Attributes: Add __diagnose_as for Clang (diff) | |
download | wireguard-linux-0a2b782a00f33e7d06dc43d099fa071ae97bee77.tar.xz wireguard-linux-0a2b782a00f33e7d06dc43d099fa071ae97bee77.zip |
fortify: Make pointer arguments const
In preparation for using Clang's __pass_object_size attribute, make all
the pointer arguments to the fortified string functions const. Nothing
was changing their values anyway, so this added requirement (needed by
__pass_object_size) requires no code changes and has no impact on
the binary instruction output.
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://lore.kernel.org/r/20220208225350.1331628-6-keescook@chromium.org
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions