Information acquisition method and device of global function, electronic equipment and storage medium
The invention provides an information acquisition method and device of a global function, electronic equipment and a storage medium, is applied to a Linux system, and relates to the technical field of information processing. The method comprises the following steps: acquiring a global function direc...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
08.08.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides an information acquisition method and device of a global function, electronic equipment and a storage medium, is applied to a Linux system, and relates to the technical field of information processing. The method comprises the following steps: acquiring a global function directory, wherein the global function directory comprises the name of at least one global function; obtaining a syntax tree of the target function from a system kernel source code of the Linux system; under the condition that the global function directory comprises the target function, a syntax tree of the target function is analyzed to obtain information of the target function, and the information of the target function comprises the name, input parameter information and return value information of the target function. In this way, all information needed for calling the target function is obtained, and the tedious process of searching for global function related information from a kernel source code or a kernel header |
---|---|
Bibliography: | Application Number: CN202310502975 |