一种基于深度学习的漏洞定位系统及方法

By adding data flow and control flow edges to the abstract syntax tree to form a semantically enhanced second abstract syntax tree, and combining it with graph neural networks for fine-grained segmentation and localization, the problems of false positives and inaccurate localization in existing technologies are solved, achieving efficient and accurate vulnerability detection and localization.

CN117150507BActive Publication Date: 2026-07-17HUAZHONG UNIV OF SCI & TECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAZHONG UNIV OF SCI & TECH
Filing Date
2023-09-01
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Existing static application security testing tools suffer from high false positives and false negatives, and are unable to accurately locate vulnerabilities, especially in complex contexts where they struggle to detect and classify vulnerabilities.

Method used

By adding data flow edges and control flow edges to the abstract syntax tree to form a semantically enhanced second abstract syntax tree, and combining it with graph neural networks for fine-grained segmentation and localization, vulnerability detection and localization are performed using the treeLSTM vector encoding model and graph attention mechanism.

Benefits of technology

It enables accurate vulnerability location and efficient detection, reduces the workload of developers searching for vulnerabilities in the code, and improves the accuracy and efficiency of vulnerability location.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117150507B_ABST
    Figure CN117150507B_ABST
Patent Text Reader

Abstract

本发明涉及一种基于深度学习的漏洞定位系统及方法,包括处理器,所述处理器被配置为:对待检测代码文件进行分析以得到无语义信息的第一抽象语法树;基于所述第一抽象语法树加入数据流边和 / 或控制流边并形成具有语义流增强的第二抽象语法树;切割所述第二抽象语法树并得到若干第二抽象语法树子树;将所述第二抽象语法树子树输入预先构建的漏洞检测及定位模型。相较于现有的代码漏洞检测方法,本发明使用语义流增强抽象语法树以及对其进行细粒度划分,同时实现了代码漏洞的检测与定位,检测速率快、误报率低且检测结果具有良好的可解释性。
Need to check novelty before this filing date? Find Prior Art