函数逻辑报告 |
Source Code:arch\x86\kernel\traps.c |
Create Date:2022-07-27 08:31:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Note that we play around with the 'TS' bit in an attempt to get* the correct behaviour even in the presence of the asynchronous* IRQ13 behaviour
函数原型:static void math_error(struct pt_regs *regs, int error_code, int trapnr)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct pt_regs * | regs | |
| int | error_code | |
| int | trapnr |
| 827 | str等于如果trapnr恒等于X86_TRAP_MF则"fpu exception"否则"simd exception" |
| 833 | 如果fixup_exception(regs, trapnr, error_code, 0)则返回 |
| 836 | error_code等于error_code |
| 839 | 如果notify_die(DIE_TRAP, str, regs, error_code, trapnr, SIGFPE)不等于Clean way to return from the notifier and stop further calls.则终止程序 |
| 842 | 返回 |
| 851 | error_code等于error_code |
| 853 | si_code等于fpu__exception_code(fpu, trapnr) |
| 855 | 如果非si_code则返回 |
| 858 | force_sig_fault(SIGFPE, si_code, (void__user * )uprobe_get_trap_addr(regs)) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |