Function searching method, computing device and readable storage medium
The invention discloses a function searching method, computing equipment and a readable storage medium. The method is executed in computing equipment and comprises the steps that firstly, an executable file of a product to be detected and configuration information of APIs to be detected are obtained...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a function searching method, computing equipment and a readable storage medium. The method is executed in computing equipment and comprises the steps that firstly, an executable file of a product to be detected and configuration information of APIs to be detected are obtained, and the configuration information comprises the name of a method and the name of a class; then, aiming at each to-be-detected API, based on the name of the method and the name of the class, detecting whether a reference address of the class and a reference address of the method exist in the program data segment of the executable file; and if the to-be-detected API exists, based on the reference address of the class and the reference address of the method, searching a stack-in address of each function calling the to-be-detected API in an assembly code segment of the executable file. And finally, looking up symbol names corresponding to the stack-in addresses in a symbol table, and taking the symbol names as names |
---|