A method and system for static detection of stored procedures based on database dictionary
A stored procedure and static detection technology, applied in error detection/correction, electrical digital data processing, software testing/debugging, etc., can solve problems such as limiting static detection capabilities, lack of table structure information, and inability to check implicit conversion of WHERE conditions , to achieve the effect of powerful ability and simplified syntax analysis process
Image
Examples
Embodiment Construction
[0028] The technical means adopted by the present invention to achieve the intended invention purpose are further described below in conjunction with the drawings and preferred embodiments of the present invention.
[0029] In the embodiment of the present invention, the expressions of some terms are involved, which are explained as follows:
[0030] 1. Abstract syntax tree: Abbreviated as syntax tree, it is a tree representation of the abstract syntax structure of the code. Each node on the tree represents a structure in the code. Using abstract syntax tree can greatly reduce the complexity of static detection method.
[0031] 2. Symbol table: It is an important data structure for static detection, which records the type, characteristics and other related information of each identifier in the code. In the present invention, the symbol table is a mapping table of character strings and information, which can quickly retrieve symbol information. Symbols belonging to the same ...
PUM
Login to View More Abstract
Description
Claims
Application Information
- IPC
- G06F11/36
- CPC
- G06F11/3668
- Inventors
- 魏亚东; 何正平



