Implementation method of lightweight debugging tool applied to avionics software

A debugging tool and avionics technology, applied in software testing/debugging, electronic digital data processing, instruments, etc., can solve problems such as resource occupation, inability to cover operating scenarios, increase cost of avionics software airworthiness certification, etc., to achieve the method simple effect

Active Publication Date: 2020-09-01
CETC AVIONICS
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is that the existing debugging tools applied to the linux system of avionics software rely on various third-party libraries. If all the dependent libraries are imported into the avionics software system, the complexity will increase and take up more More resources will also increase the cost of airworthiness certification of

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
  • Implementation method of lightweight debugging tool applied to avionics software
  • Implementation method of lightweight debugging tool applied to avionics software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0054] Such as figure 1 As shown, the present invention is an implementation method of a lightweight debugging tool applied to avionics software. The debugging tool includes a debugging tool process providing a user interface and a debugging thread embedded in a target process (that is, a debugged program or a target program), The debugging tool process that provides the user interface communicates with the debugging thread embedded in the target process through socket communication; the debugging thread resides in the target process and is used to complete symbol table analysis, memory reading and writing, stack analysis and code segment execution, etc. ; The stdout and stderr standard output and standard exception output of all target programs are redirected to the socket handle by the dup system call interface provided by linux, and passed to the debugging tool process from the socket, and the debugging tool process is displayed to the operation after receiving the data on ...

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 an implementation method of a lightweight debugging tool applied to avionics software, the debugging tool comprises a debugging tool process for providing a user operation interface and a debugging thread embedded into a target process, and the debugging tool process and the debugging thread communicate with each other through a socket; A debugging thread is embedded into atarget process, resides in the target process and is used for completing symbol table analysis, memory read-write, stack analysis and code segment execution; standard output and standard abnormal output of all target programs are redirected to a socket handle through a dump system calling interface provided by linux and transmitted to a debugging tool process from socket, and the debugging tool process receives data and then displays the data on an operation control interface. The lightweight debugging tool has no external dependence, supports a linux operating system platform and does not cause 'pause 'of a target program, and is particularly suitable for the technical field of airborne embedded software.

Description

technical field [0001] The invention relates to the technical field of airborne embedded software, in particular to an implementation method of a lightweight debugging tool applied to avionics software. Background technique [0002] With the development of electronic technology, in the field of civil avionics (Avionics), the on-board system is becoming larger and larger, and the embedded software running in the system is also more complex. A large number of Linux operating systems have been introduced into modern avionics system software, and the services provided by the operating system can provide richer business functions to meet customers' ever-improving experience needs. [0003] The increasingly complex avionics software system will inevitably introduce more software faults and errors, so it is necessary to provide the necessary fault and error location and troubleshooting means in the avionics software system. The most common troubleshooting methods are operation log...

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
IPC IPC(8): G06F11/36
CPCG06F11/362Y02D10/00
Inventor 吴夏风赵羚钧
Owner CETC AVIONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products