Function report |
Source Code:lib\test_kasan.c |
Create Date:2022-07-28 06:29:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:kmalloc_uaf_memset
Proto:static noinline void __init kmalloc_uaf_memset(void)
Type:void
Parameter:Nothing
| 307 | size = 33 |
| 309 | pr_info("use-after-free in memset\n") |
| 310 | ptr = kmalloc(size, GFP_KERNEL) |
| 311 | If Not ptr Then |
| 312 | pr_err("Allocation failed\n") |
| 313 | Return |
| 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 |