Pinpoint: fast and precise sparse value flow analysis for million lines of code

Author:

Shi Qingkai1,Xiao Xiao2,Wu Rongxin1,Zhou Jinguo2,Fan Gang1,Zhang Charles1

Affiliation:

1. Hong Kong University of Science and Technology, China

2. Sourcebrella, China

Abstract

When dealing with millions of lines of code, we still cannot have the cake and eat it: sparse value-flow analysis is powerful in checking source-sink problems, but existing work cannot escape from the “pointer trap” – a precise points-to analysis limits its scalability and an imprecise one seriously undermines its precision. We present Pinpoint, a holistic approach that decomposes the cost of high-precision points-to analysis by precisely discovering local data dependence and delaying the expensive inter-procedural analysis through memorization. Such memorization enables the on-demand slicing of only the necessary inter-procedural data dependence and path feasibility queries, which are then solved by a costly SMT solver. Experiments show that Pinpoint can check programs such as MySQL (around 2 million lines of code) within 1.5 hours. The overall false positive rate is also very low (14.3% - 23.6%). Pinpoint has discovered over forty real bugs in mature and extensively checked open source systems. And the implementation of Pinpoint and all experimental results are freely available.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference55 articles.

1. Alex Aiken Suhabe Bugrara Isil Dillig Thomas Dillig Brian Hackett and Peter Hawkins. 2006. The Saturn Program Analysis System. Stanford University. Alex Aiken Suhabe Bugrara Isil Dillig Thomas Dillig Brian Hackett and Peter Hawkins. 2006. The Saturn Program Analysis System. Stanford University.

2. FlowDroid

3. Calysto

4. The SLAM project

5. A few billion lines of code later

Cited by 10 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Finding and Understanding Defects in Static Analyzers by Constructing Automated Oracles;Proceedings of the ACM on Software Engineering;2024-07-12

2. Precise Sparse Abstract Execution via Cross-Domain Interaction;Proceedings of the IEEE/ACM 46th International Conference on Software Engineering;2024-04-12

3. Enriching the Semantics of Information Flow Tracking with Source-Level Memory Allocation Event Logging;2023 IEEE Conference on Dependable and Secure Computing (DSC);2023-11-07

4. An Efficient Metric-Based Approach for Static Use-After-Free Detection;2022 IEEE Intl Conf on Parallel & Distributed Processing with Applications, Big Data & Cloud Computing, Sustainable Computing & Communications, Social Computing & Networking (ISPA/BDCloud/SocialCom/SustainCom);2022-12

5. HTFuzz: Heap Operation Sequence Sensitive Fuzzing;Proceedings of the 37th IEEE/ACM International Conference on Automated Software Engineering;2022-10-10

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3