亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

DFlow: A Data Flow Analysis Tool for C/C++

计算机科学 正则表达式 构造(python库) Python(编程语言) 程序设计语言 Java 控制流分析 静态分析 程序切片 控制流程 汇编语言 软件 程序设计范式 归纳程序设计 程序设计域
作者
Qiaoqiao Yan,Yongjun Li,Yuanhao Wu,Jialong Zhou
出处
期刊:Ieej Transactions on Electrical and Electronic Engineering [Wiley]
卷期号:16 (12): 1635-1641 被引量:3
标识
DOI:10.1002/tee.23467
摘要

Abstract Abstract syntax trees (ASTs), control flow graphs (CFGs), and data flow analysis (DFA) are prerequisites for static and dynamic analysis and vulnerability detection for programs; thus, obtaining them is significant. Recently, many tools related to generating ASTs, CFGs, and DFA have been proposed. However, most tools can only construct ASTs, very few can construct ASTs and CFGs, and almost none can construct all three. The vast majority of AST, CFG, and DFA tools are for other languages (e.g., Java and Python), and while a few are for C/C++, they are implemented in other languages, creating complex working environments, and overreliance on other language‐related libraries. To address these shortcomings, we present a DFA tool, DFlow, for C/C++. First, a lexical/grammatical analyzer generated by Flex and Bison is used to analyze the program. Second, an AST is constructed from the results; then, a CFG is obtained from the analysis results and the information from the AST. Finally, based on the AST and CFG, DFA is performed, and the vulnerabilities of simple programs are determined. We test some common vulnerable code and common weakness enumeration slicing code, which show the effectiveness of DFlow in program data flow analysis and vulnerability checking. The results show that our tool can implement ASTs, CFGs, and DFA, and we add some rules to the tool for vulnerability detection. © 2021 Institute of Electrical Engineers of Japan. Published by Wiley Periodicals LLC.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Sincy完成签到,获得积分10
1秒前
Lucas应助香果采纳,获得10
6秒前
WhiteCaramel完成签到 ,获得积分10
10秒前
Hello应助老实映易采纳,获得10
11秒前
15秒前
18秒前
18秒前
19秒前
20秒前
20秒前
20秒前
短短大王发布了新的文献求助10
21秒前
21秒前
Ldq发布了新的文献求助10
23秒前
Ldq发布了新的文献求助10
24秒前
Ldq发布了新的文献求助10
24秒前
24秒前
Ldq发布了新的文献求助10
24秒前
Ldq发布了新的文献求助10
24秒前
Ldq发布了新的文献求助30
25秒前
Ldq发布了新的文献求助10
25秒前
Ldq发布了新的文献求助10
25秒前
Ldq发布了新的文献求助10
25秒前
Ldq发布了新的文献求助10
26秒前
27秒前
28秒前
28秒前
28秒前
29秒前
答案加载中完成签到,获得积分10
32秒前
33秒前
Ldq发布了新的文献求助10
33秒前
Ldq发布了新的文献求助10
33秒前
Ldq发布了新的文献求助10
33秒前
Ldq发布了新的文献求助10
33秒前
小祖发布了新的文献求助10
35秒前
霍巧凡发布了新的文献求助10
37秒前
电量过低完成签到 ,获得积分10
38秒前
stresm完成签到,获得积分10
39秒前
41秒前
高分求助中
GL 2 A method for assessing the in-place cleanability of food processing equipment, Fourth Edition, December 2023 3000
Annie Ernaux: De la perte au corps glorieux 600
Writing Systems 500
类器官构建与应用:从基础到前沿 500
Optical Coating Design with the Essential Macleod 400
A revision of Limenitis helmanni and its related species (Nymphalidae) from Central and South China 400
Moore's Clinically Oriented Anatomy 10th Edition 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6801062
求助须知:如何正确求助?哪些是违规求助? 8519282
关于积分的说明 18140977
捐赠科研通 6118188
什么是DOI,文献DOI怎么找? 3025993
邀请新用户注册赠送积分活动 2002621
关于科研通互助平台的介绍 1995661