函数逻辑报告 |
Source Code:arch\x86\include\asm\ptrace.h |
Create Date:2022-07-27 06:38:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:gs_within_kernel_stack() - check the address in the stack*@regs: pt_regs which contains kernel stack pointer.*@addr: address which is checked.* regs_within_kernel_stack() checks @addr is within the kernel stack page(s).
函数原型:static inline int regs_within_kernel_stack(struct pt_regs *regs, unsigned long addr)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pt_regs * | regs | |
| unsigned long | addr |
| 244 | 返回:addr按位与THREAD_SIZE减1的差的反的值恒等于sp按位与THREAD_SIZE减1的差的反的值 |
| 名称 | 描述 |
|---|---|
| regs_get_kernel_stack_nth_addr | gs_get_kernel_stack_nth_addr() - get the address of the Nth entry on stack*@regs: pt_regs which contains kernel stack pointer.*@n: stack entry number.* regs_get_kernel_stack_nth() returns the address of the @n th entry of the |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |