Function report |
Source Code:lib\test_kasan.c |
Create Date:2022-07-28 06:29:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kasan_strings
Proto:static noinline void __init kasan_strings(void)
Type:void
Parameter:Nothing
630 | size = 24 |
632 | pr_info("use-after-free in strchr\n") |
633 | ptr = kmalloc(size, GFP_KERNEL | __GFP_ZERO) |
634 | If Not ptr Then Return |
645 | ptr += 16 |
648 | pr_info("use-after-free in strrchr\n") |
651 | pr_info("use-after-free in strcmp\n") |
654 | pr_info("use-after-free in strncmp\n") |
657 | pr_info("use-after-free in strlen\n") |
660 | pr_info("use-after-free in strnlen\n") |
Name | Describe |
---|---|
kmalloc_tests_init |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |