函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\ptrace.c Create Date:2022-07-27 10:13:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:generic_ptrace_peekdata

函数原型:int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, unsigned long data)

返回类型:int

参数:

类型参数名称
struct task_struct *tsk
unsigned longaddr
unsigned longdata
1293  copied等于Access another process' address space via ptrace.* Source/target buffer must be kernel space,* Do not walk the page table directly, use get_user_pages
1294  如果copied不等于tmp的长度则返回:负EIO
1296  返回:put_user - Write a simple value into user space(tmp, (unsignedlong__user * )data)
调用者
名称描述
ptrace_request