函数逻辑报告 |
Source Code:arch\x86\kernel\traps.c |
Create Date:2022-07-27 08:31:19 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:do_general_protection
函数原型:__attribute__((__externally_visible__)) void do_general_protection(struct pt_regs *regs, long error_code)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pt_regs * | regs | |
| long | error_code |
| 524 | desc等于"general protection fault" |
| 535 | 如果v8086_mode(regs)则 |
| 536 | 开中断() |
| 538 | 返回 |
| 543 | 如果fixup_exception(regs, X86_TRAP_GP, error_code, 0)则返回 |
| 546 | error_code等于error_code |
| 547 | trap_nr等于X86_TRAP_GP |
| 554 | 如果非preemptible()且kprobe_running() will just return the current_kprobe on this CPU 且kprobe_fault_handler(regs, X86_TRAP_GP)则返回 |
| 558 | 如果notify_die(DIE_GPF, desc, regs, error_code, X86_TRAP_GP, SIGSEGV)不等于Clean way to return from the notifier and stop further calls.则终止程序 |
| 561 | 返回 |
| 564 | error_code等于error_code |
| 565 | trap_nr等于X86_TRAP_GP |
| 567 | show_signal(tsk, SIGSEGV, "", desc, regs, error_code) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |