Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Method for Analyzing Abnormal User Mode Processes in Linux System

An analysis method and user-mode technology, applied in instrumentation, error detection/correction, calculation, etc., can solve problems that affect the debugging efficiency of software developers and the long debugging process of BUG, ​​so as to reduce the difficulty of debugging and improve the efficiency of solution

Active Publication Date: 2019-06-25
SHANGHAI BAUD DATA COMM
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention aims at the problem that the BUG debugging process is long in the existing linux application software development, which affects the debugging work efficiency of software developers, and provides an accurate and efficient BUG positioning scheme, which can greatly reduce the debugging difficulty of software development and significantly improve Software BUG resolution efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Method for Analyzing Abnormal User Mode Processes in Linux System
  • A Method for Analyzing Abnormal User Mode Processes in Linux System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.

[0025] This example further illustrates the specific implementation process of the present invention's scheme with the MIPS processor running linux multi-thread system as an example, and the specific implementation steps are as follows:

[0026] 1. After the process starts, take over the signals to be analyzed abnormally: SIGILL, SIGBUS, SIGFPE, SIGSEGV, SIGIO signals, and reset the signal handler;

[0027] 2. When the above signal occurs, the system will automatically call the previously set signal processing program, that is, jump to step (3);

[0028] 3. Obtain the exception type, the name of the abnormal thread, and obtain the CPU register context at the time of the exception according to the CPU architecture:

[0029] Input parameter 1 is ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for analyzing abnormality of a user state process under a linux system. The method realizes abnormal analysis by taking over a specific signal of the process itself to obtain the abnormal task context and analyzing the task stack according to the system structure. This solution can assist software developers to quickly and accurately locate and solve software bugs.

Description

technical field [0001] The invention relates to the software system technology, in particular to the debugging and analysis technology in the software system. Background technique [0002] The existing gdb debugging technology has the ability to intercept exceptions and analyze most debugging information including process function call relationship. [0003] However, it is impossible to run with gdb in the actual use and testing process. If a bug occurs in the program at this time, the developer will not know exactly what error occurred, which will delay the time to solve the bug and affect the developer's debugging work efficiency. , if the bug is not easy to reproduce, the situation will become more serious. [0004] It can be seen that providing an accurate and efficient BUG location technology is an urgent problem to be solved in this field. Contents of the invention [0005] The present invention aims at the problem that the BUG debugging process is long in the exis...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3644
Inventor 王仁雷苟利平
Owner SHANGHAI BAUD DATA COMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products