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

Program detection method and device and computer readable storage medium

A program detection and program technology, applied in the field of data processing, can solve problems such as program running errors, reducing program stability, and spending a lot of time.

Pending Publication Date: 2019-11-19
PING AN SECURITIES CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when a dynamic link library is called in a program at present, if the same function name exists in different dynamic link libraries or the same function name exists in the same dynamic link library, it may cause the program to run incorrectly, and it takes a lot of time to complete the process. Troubleshooting, greatly reducing the stability of the program when it is running

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
  • Program detection method and device and computer readable storage medium
  • Program detection method and device and computer readable storage medium
  • Program detection method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0045] The invention provides a program detection method. refer to figure 1 As shown, it is a schematic flowchart of a program detection method provided by an embodiment of the present invention. The method can be performed by an electronic device.

[0046] In this embodiment, the program detection method includes:

[0047] Step S11, read the target program.

[0048] In this embodiment, the target program is a program that needs to be detected by the program detection method of the present invention.

[0049] Preferably, the target program is a Linux program uploaded to the code base by a designated user. The Linux refers to programs running under the Linux system.

[0050] In an optional embodiment, the specified user is a user in a preset user whitelist. The users saved in the user white list are users whose ...

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 relates to the technical field of data processing, and discloses a program detection method which comprises the following steps: reading a target program which is a Linux program uploaded to a code library by a specified user; performing quality detection on the target program, and if the target program passes the quality detection, obtaining a plurality of dynamic link libraries called by the target program; obtaining a newly added dynamic link library from the plurality of dynamic link libraries to obtain a to-be-detected dynamic link library; obtaining a symbol table containedin the dynamic link library to be detected; obtaining a plurality of function names contained in the symbol table; judging whether repeated function names exist in the plurality of function names ornot; and if repeated function names exist in the plurality of function names, sending a risk prompt that the target program has a link library calling error. The invention further provides a program detection device and a computer readable storage medium. Running errors caused by calling the dynamic link library by the program can be avoided, and the running stability of the program can be improved.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a program detection method, device and computer-readable storage medium. Background technique [0002] In program development, in order to achieve the reuse of code modules, developers will make functional functions into libraries according to actual needs, such as dynamic link libraries. The dynamic link library technology is to save the reusable code in a separate library file. When the compiler compiles the program that calls the dynamic link library, a function call mark is reserved in the executable file. When the program is run , the operating system adds the called dynamic link library file to the memory according to the mark, and maps it to the address space of the program, so that the program can normally call the function in the library file. However, when a dynamic link library is called in a program at present, if the same function name exists in diff...

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/3616G06F11/3688G06F11/366
Inventor 王海洋许朝阳
Owner PING AN SECURITIES CO LTD
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