ASE 2023
Mon 11 - Fri 15 September 2023 Kirchberg, Luxembourg
Wed 13 Sep 2023 16:42 - 16:54 at Room D - Bug Detection Chair(s): Andreea Vescan

Optimizing compilers are as ubiquitous as they are crucial to software development. However, bugs in compilers are not uncommon. Among the most serious are bugs in compiler optimizations, which can cause unexpected behavior in compiled binaries. Existing approaches for detecting such bugs have focused on end-to-end compiler fuzzing, which limits their ability for targeted exploration of a compiler’s optimizations.

This paper proposes FLUX (Finding bugs with LLVM IR basedUnit test cross(X)overs), a fuzzer that is designed to generate test cases that stress compiler optimizations. Previous compiler fuzzers are overly constrained by having to construct well-formed inputs. FLUX sidesteps this constraint by using human-written unit test suites as a starting point, and then selecting random combinations of them to generate new tests. We hypothesize that tests generated this way will be able to explore new execution paths through compiler optimizations and find new bugs. Our evaluation of FLUX on LLVM indicates that it is able to increase path coverage over the baseline LLVM unit test suite and explores more edge coverage than previous work. Further, we demonstrate FLUX’s ability to generate miscompiled and crash-producing IR on LLVM’s optimizations. After a month of fuzzing, FLUX found 28 unique bugs in LLVM’s active development branch. We have reported 11 of these bugs which led to 6 of them being patched by LLVM developers. 22 of these are crashes that are triggered by well-formed input programs, and 6 of these are miscompilation bugs that silently produced incorrect code.

FLUX Slides (FLUX Slides.pdf)374KiB

Wed 13 Sep

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

15:30 - 17:00
Bug DetectionResearch Papers / Journal-first Papers at Room D
Chair(s): Andreea Vescan Babes-Bolyai University
15:30
12m
Talk
A Comparative Study of Transformer-based Neural Text Representation Techniques on Bug Triaging
Research Papers
Atish Kumar Dipongkor University of Central Florida, Kevin Moran George Mason University
File Attached
15:42
12m
Talk
Duplicate Bug Report Detection: How Far Are We?
Journal-first Papers
Ting Zhang Singapore Management University, DongGyun Han Royal Holloway, University of London, Venkatesh Vinayakarao Chennai Mathematical Institute, Ivana Clairine Irsan Singapore Management University, Bowen Xu North Carolina State University, Ferdian Thung Singapore Management University, David Lo Singapore Management University, Lingxiao Jiang Singapore Management University
Link to publication DOI File Attached
15:54
12m
Talk
Neural SZZ Algorithm
Research Papers
LingXiao Tang zhejiang university, Lingfeng Bao Zhejiang University, Xin Xia Huawei Technologies, Zhongdong Huang Zhejiang University
Pre-print
16:06
12m
Talk
How to Train Your Neural Bug Detector: Artificial vs Real Bugs
Research Papers
Cedric Richter Carl von Ossietzky Universität Oldenburg / University of Oldenburg, Heike Wehrheim Carl von Ossietzky Universität Oldenburg / University of Oldenburg
Pre-print File Attached
16:18
12m
Talk
Detection of Java Basic Thread Misuses Based on Static Event Analysis
Research Papers
Baoquan Cui Institute of Software at Chinese Academy of Sciences, China, MiaoMiao Wang Technology Center of Software Engineering, ISCAS, China. University of Chinese Academy of Sciences, China., Chi Zhang State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing, China, Jiwei Yan Institute of Software at Chinese Academy of Sciences, China, Jun Yan Institute of Software at Chinese Academy of Sciences; University of Chinese Academy of Sciences, Jian Zhang Institute of Software at Chinese Academy of Sciences; University of Chinese Academy of Sciences
File Attached
16:30
12m
Full-paper
On effort-aware metrics for defect prediction
Journal-first Papers
Jonida Çarka University of Rome Tor Vergata, Matteo Esposito University of Rome Tor Vergata, Falessi Davide University of Rome Tor Vergata
DOI File Attached
16:42
12m
Talk
FLUX: Finding Bugs with LLVM IR Based Unit Test Crossovers
Research Papers
Eric Liu University of Toronto, Shengjie Xu University of Toronto, David Lie University of Toronto, Canada
Pre-print File Attached