Function report |
Source Code:kernel\trace\bpf_trace.c |
Create Date:2022-07-28 12:34:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:____bpf_probe_read_user_str
Proto:static inline __attribute__((__always_inline__)) u64 ____bpf_probe_read_user_str(void *dst, u32 size, const void *unsafe_ptr)
Type:u64
Parameter:
Type | Parameter | Name |
---|---|---|
void * | dst | |
u32 | size | |
const void * | unsafe_ptr |
164 | ret = strncpy_from_unsafe_user(dst, unsafe_ptr, size) |
166 | If Value for the false possibility is greater at compile time(ret < 0) Then memset(dst, 0, size) |
169 | Return ret |
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 |