diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-03-28 19:18:45 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-06-09 21:33:04 +0300 |
commit | e7654c3fbdb348a0c54244015d97f0a0b8773b8c (patch) | |
tree | e69ca4275e0e40254f8ebe6e860b8c8c5deec121 /tools/perf/scripts/python/stackcollapse.py | |
parent | ac9a78681b921877518763ba0e89202254349d1b (diff) | |
download | linux-e7654c3fbdb348a0c54244015d97f0a0b8773b8c.tar.xz |
tools/nolibc: tests: use volatile to force stack smashing
Use a volatile pointer to write outside the buffer so the compiler can't
optimize it away.
Reported-by: Alexey Dobriyan <adobriyan@gmail.com>
Link: https://lore.kernel.org/lkml/c0584807-511c-4496-b062-1263ea38f349@p183/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions