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.
CN110471837APending Publication Date: 2019-11-19PING AN SECURITIES CO LTD

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
PING AN SECURITIES CO LTD
Publication Date
2019-11-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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