diff options
author | Samuel Holland <[email protected]> | 2024-07-31 20:36:59 -0700 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-09-19 01:10:00 -0700 |
commit | 58ff537109ac863d4ec83baf8413b17dcc10101c (patch) | |
tree | 9bd118c81ca4582e270c84a880b298c195e35b1e /scripts/generate_rust_analyzer.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
riscv: Omit optimized string routines when using KASAN
The optimized string routines are implemented in assembly, so they are
not instrumented for use with KASAN. Fall back to the C version of the
routines in order to improve KASAN coverage. This fixes the
kasan_strings() unit test.
Signed-off-by: Samuel Holland <[email protected]>
Reviewed-by: Alexandre Ghiti <[email protected]>
Tested-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions