diff options
author | Marco Elver <elver@google.com> | 2021-08-09 14:25:14 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2021-09-14 02:41:19 +0300 |
commit | 6c65eb75686fc2068c926a73c9c3631b5f0e4c9c (patch) | |
tree | 1567b7b2f2259b039298e75630eb7a6ba8606dba /certs | |
parent | f4c87dbbef2638f6da6e29b5e998e3b1dcdb08ee (diff) | |
download | linux-6c65eb75686fc2068c926a73c9c3631b5f0e4c9c.tar.xz |
kcsan: Start stack trace with explicit location if provided
If an explicit access address is set, as is done for scoped accesses,
always start the stack trace from that location. get_stack_skipnr() is
changed into sanitize_stack_entries(), which if given an address, scans
the stack trace for a matching function and then replaces that entry
with the explicitly provided address.
The previous reports for scoped accesses were all over the place, which
could be quite confusing. We now always point at the start of the scope.
Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions