aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorWalter Wu <[email protected]>2020-04-01 21:09:40 -0700
committerLinus Torvalds <[email protected]>2020-04-02 09:35:30 -0700
commit98f3b56fa62a61f1d4d6a5fdd035f0b03be1e93f (patch)
tree47aa9c7ce87f5260e1f238b7c0e960c70e22aed3 /tools/perf/scripts/python/syscall-counts.py
parent8cceeff48f23eede76de995df08cf665182ec8fb (diff)
kasan: add test for invalid size in memmove
Test negative size in memmove in order to verify whether it correctly get KASAN report. Casting negative numbers to size_t would indeed turn up as a large size_t, so it will have out-of-bounds bug and be detected by KASAN. [[email protected]: fix -Wstringop-overflow warning] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Walter Wu <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Dmitry Vyukov <[email protected]> Reviewed-by: Andrey Ryabinin <[email protected]> Cc: Alexander Potapenko <[email protected]> Cc: kernel test robot <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions