Generative Type-Aware Mutation for Testing SMT Solvers

被引:12
|
作者
Park, Jiwon [1 ]
Winterer, Dominik [2 ]
Zhang, Chengyu [3 ]
Su, Zhendong [2 ]
机构
[1] Ecole Polytech, LIX, Palaiseau, France
[2] Swiss Fed Inst Technol, Dept Comp Sci, Zurich, Switzerland
[3] East China Normal Univ, Software Engn Inst, Shanghai, Peoples R China
来源
关键词
SMT solvers; Fuzz testing; Generative type-aware mutation;
D O I
10.1145/3485529
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We propose Generative Type-Aware Mutation, an effective approach for testing SMT solvers. The key idea is to realize generation through the mutation of expressions rooted with parametric operators from the SMT-LIB specification. Generative Type-Aware Mutation is a hybrid of mutation-based and grammar-based fuzzing and features an infinite mutation space-overcoming a major limitation of OpFuzz, the state-of-the-art fuzzer for SMT solvers. We have realized Generative Type-Aware Mutation in a practical SMT solver bug hunting tool, TypeFuzz. During our testing period with TypeFuzz, we reported over 237 bugs in the state-of-the-art SMT solvers Z3 and CVC4. Among these, 189 bugs were confirmed and 176 bugs were fixed. Most notably, we found 18 soundness bugs in CVC4's default mode alone. Several of them were two years latent (7/18). CVC4 has been proved to be a very stable SMT solver and has resisted several fuzzing campaigns.
引用
收藏
页数:19
相关论文
共 50 条
  • [41] Aspect-based Sentiment Analysis with Type-aware Graph Convolutional Networks and Layer Ensemble
    Tian, Yuanhe
    Chen, Guimin
    Song, Yan
    [J]. 2021 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL-HLT 2021), 2021, : 2910 - 2922
  • [42] Towards Security-aware Mutation Testing
    Loise, Thomas
    Devroey, Xavier
    Perrouin, Gilles
    Papadakis, Mike
    Heymans, Patrick
    [J]. 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017, 2017, : 97 - 102
  • [43] TypeSeg: A type-aware encoder-decoder network for multi-type ultrasound images co-segmentation
    Chen, Fang
    Ye, Haoran
    Zhang, Daoqiang
    Liao, Hongen
    [J]. COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE, 2022, 214
  • [44] Page Type-Aware Data Migration Technique for Read Disturb Management of NAND Flash Memory
    Han, Sangwoo
    Cho, Minjung
    Lee, Gi
    Chung, Eui-Young
    [J]. IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2023, 31 (04) : 591 - 595
  • [45] Paving the Way for Energy Efficient Cloud Data Centers: A Type-Aware Virtual Machine Placement Strategy
    Al-Dulaimy, Auday
    Zekri, Ahmed
    Itani, Wassim
    Zantout, Rached
    [J]. 2017 IEEE INTERNATIONAL CONFERENCE ON CLOUD ENGINEERING (IC2E 2017), 2017, : 5 - 8
  • [46] Change-Aware Mutation Testing for Evolving Systems
    Ojdanic, Milos
    [J]. PROCEEDINGS OF THE 30TH ACM JOINT MEETING EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, ESEC/FSE 2022, 2022, : 1785 - 1789
  • [47] Distribution-Aware Testing of Neural Networks Using Generative Models
    Dola, Swaroopa
    Dwyer, Matthew B.
    Soffa, Mary Lou
    [J]. 2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 226 - 237
  • [48] Syntax-Aware Mutation for Testing the Solidity Compiler
    Mitropoulos, Charalambos
    Sotiropoulos, Thodoris
    Ioannidis, Sotiris
    Mitropoulos, Dimitris
    [J]. COMPUTER SECURITY - ESORICS 2023, PT III, 2024, 14346 : 327 - 347
  • [49] Type-Aware Error Control for Robust Interactive Video Services over Time-Varying Wireless Channels
    Liao, Wei-Kuo
    Lai, Yi-Hsuan
    [J]. IEEE TRANSACTIONS ON MOBILE COMPUTING, 2011, 10 (01) : 136 - 145
  • [50] From Code to Natural Language: Type-Aware Sketch-Based Seq2Seq Learning
    Deng, Yuhang
    Huang, Hao
    Chen, Xu
    Liu, Zuopeng
    Wu, Sai
    Xuan, Jifeng
    Li, Zongpeng
    [J]. DATABASE SYSTEMS FOR ADVANCED APPLICATIONS (DASFAA 2020), PT I, 2020, 12112 : 352 - 368