Function report |
Source Code:arch\x86\kernel\ptrace.c |
Create Date:2022-07-28 07:51:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:arch_ptrace
Proto:long arch_ptrace(struct task_struct *child, long request, unsigned long addr, unsigned long data)
Type:long
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | child | |
long | request | |
unsigned long | addr | |
unsigned long | data |
754 | Case request == PTRACE_PEEKUSR |
761 | tmp = 0 |
764 | Else if addr >= offsetof(structuser, u_debugreg[0]) && addr <= offsetof(structuser, u_debugreg[7]) Then |
766 | addr -= offsetof(structuser, u_debugreg[0]) |
770 | Break |
773 | Case request == PTRACE_POKEUSR |
780 | Else if addr >= offsetof(structuser, u_debugreg[0]) && addr <= offsetof(structuser, u_debugreg[7]) Then |
782 | addr -= offsetof(structuser, u_debugreg[0]) |
786 | Break |
795 | Case request == PTRACE_SETREGS |
802 | Case request == PTRACE_GETFPREGS |
809 | Case request == PTRACE_SETFPREGS |
817 | Case request == PTRACE_GETFPXREGS |
823 | Case request == PTRACE_SETFPXREGS |
831 | Case request == ly useful for access 32bit programs / kernels |
836 | Break |
838 | Case request == PTRACE_SET_THREAD_AREA |
843 | Break |
850 | Case request == PTRACE_ARCH_PRCTL |
851 | ret = do_arch_prctl_64(child, data, addr) |
852 | Break |
855 | Default |
860 | 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 |