Graspan: A Single-machine Disk-based Graph System for Interprocedural Static Analyses of Large-scale Systems Code

被引:0
|
作者
Wang, Kai [1 ]
Hussain, Aftab [1 ]
Zuo, Zhiqiang [1 ]
Xu, Guoqing [1 ]
Sani, Ardalan Amiri [1 ]
机构
[1] Univ Calif Irvine, Irvine, CA 92697 USA
基金
美国国家科学基金会;
关键词
Static analysis; graph processing; disk-based systems;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
There is more than a decade-long history of using static analysis to find bugs in systems such as Linux. Most of the existing static analyses developed for these systems are simple checkers that find bugs based on pattern matching. Despite the presence of many sophisticated interprocedural analyses, few of them have been employed to improve checkers for systems code due to their complex implementations and poor scalability. In this paper, we revisit the scalability problem of interprocedural static analysis from a " BigData" perspective. That is, we turn sophisticated code analysis into Big Data analytics and leverage novel data processing techniques to solve this traditional programming language problem. We develop Graspan, a disk-based parallel graph system that uses an edge-pair centric computation model to compute dynamic transitive closures on very large program graphs. We implement context-sensitive pointer/alias and dataflow analyses on Graspan. An evaluation of these analyses on large codebases such as Linux shows that their Graspan implementations scale to millions of lines of code and are much simpler than their original implementations. Moreover, we show that these analyses can be used to augment the existing checkers; these augmented checkers uncovered 132 new NULL pointer bugs and 1308 unnecessary NULL tests in Linux 4.4.0-rc5, PostgreSQL 8.3.9, and Apache httpd 2.2.18.
引用
收藏
页码:389 / 404
页数:16
相关论文
共 50 条
  • [21] Graph based Incident Extraction and Diagnosis in Large-Scale Online Systems
    He, Zilong
    Chen, Pengfei
    Luo, Yu
    Yan, Qiuyu
    Chen, Hongyang
    Yu, Guangba
    Li, Fangyuan
    PROCEEDINGS OF THE 37TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2022, 2022,
  • [22] An I/O-Efficient Disk-based Graph System for Scalable Second-Order RandomWalk of Large Graphs
    Li, Hongzheng
    Shao, Yingxia
    Du, Junping
    Cui, Bin
    Chen, Lei
    PROCEEDINGS OF THE VLDB ENDOWMENT, 2022, 15 (08): : 1619 - 1631
  • [23] Graph Computing System and Application Based on Large-Scale Information Network
    Xu, Jingbo
    Li, Zhao
    Zeng, Weibin
    Huang, Jiaming
    SPACE INFORMATION NETWORK, SINC 2020, 2021, 1353 : 158 - 178
  • [24] TC-Stream: Large-Scale Graph Triangle Counting on a Single Machine Using GPUs
    Huang, Jianqiang
    Wang, Haojie
    Fei, Xiang
    Wang, Xiaoying
    Chen, Wenguang
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (11) : 3067 - 3078
  • [25] TGE: Machine Learning Based Task Graph Embedding for Large-Scale Topology Mapping
    Choi, Jong Youl
    Logan, Jeremy
    Wolf, Matthew
    Ostrouchov, George
    Kurc, Tahsin
    Liu, Qing
    Podhorszki, Norbert
    Klasky, Scott
    Romanus, Melissa
    Sun, Qian
    Parashar, Manish
    Churchill, Randy Michael
    Chang, C. S.
    2017 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2017, : 587 - 591
  • [26] Randomized Skip Graph-Based Authentication for Large-Scale RFID Systems
    Komori, Yudai
    Sakai, Kazuya
    Fukumoto, Satoshi
    WIRELESS ALGORITHMS, SYSTEMS, AND APPLICATIONS, WASA 2016, 2016, 9798 : 1 - 12
  • [27] Graph-based Incident Aggregation for Large-Scale Online Service Systems
    Chen, Zhuangbin
    Liu, Jinyang
    Su, Yuxin
    Zhang, Hongyu
    Wen, Xuemin
    Ling, Xiao
    Yang, Yongqiang
    Lyu, Michael R.
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 430 - 442
  • [28] A novel graph-based partitioning algorithm for large-scale dynamical systems
    Kamelian, Saeed
    Salahshoor, Karim
    INTERNATIONAL JOURNAL OF SYSTEMS SCIENCE, 2015, 46 (02) : 227 - 245
  • [29] GraphReduce: Large-Scale Graph Analytics on Accelerator-Based HPC Systems
    Sengupta, Dipanjan
    Agarwal, Kapil
    Song, Shuaiwen Leon
    Schwan, Karsten
    2015 IEEE 29TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS, 2015, : 604 - 609
  • [30] Graph Computation based Power Flow for Large-Scale AC/DC System
    Feng, Wei
    Yuan, Chen
    Dai, Renchang
    Liu, Guangyi
    Li, Fangxing
    2018 INTERNATIONAL CONFERENCE ON POWER SYSTEM TECHNOLOGY (POWERCON), 2018, : 468 - 473