Convolutional neural networks on assembly code for predicting software defects
Authors:
- 1 November 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 37-42
Abstract
Software defect prediction is one of the most attractive research topics in the field of software engineering. The task is to predict whether or not a program contains semantic bugs. Previous studies apply conventional machine learning techniques on software metrics, or deep learning on source code's tree representations called abstract syntax trees. This paper formulates an approach for software defect prediction, in which source code firstly is compiled into assembly code and then a multi-view convolutional neural network is applied to automatically learn defect features from the assembly instruction sequences. The experimental results on four real-world datasets indicate that exploiting assembly code is beneficial to detecting semantic bugs. Our approach significantly outperforms baselines that are based on software metrics and abstract syntax trees.Keywords
This publication has 17 references indexed in Scilit:
- Deep learningNature, 2015
- Toward Deep Learning Software Repositories2015
- Preliminary comparison of techniques for dealing with imbalance in software defect prediction2014
- Software defect prediction using Bayesian networksEmpirical Software Engineering, 2012
- Transfer learning for cross-company software defect predictionInformation and Software Technology, 2012
- A systematic analysis of performance measures for classification tasksInformation Processing & Management, 2009
- Predicting defect-prone software modules using support vector machinesJournal of Systems and Software, 2008
- Applying machine learning to software fault-proneness predictionJournal of Systems and Software, 2008
- An introduction to ROC analysisPattern Recognition Letters, 2006
- A metrics suite for object oriented designIEEE Transactions on Software Engineering, 1994