Eatbit: Effective Automated Test For Binary Translation With High Code Coverage

DATE '14: Proceedings of the conference on Design, Automation & Test in Europe(2014)

引用 0|浏览89
暂无评分
摘要
Binary translation makes it convenient to emulate one instruction set by another. Nowadays, it is growing in popularity in various applications, especially the embedded platforms. When it comes to the test of binary translators, traditional methodologies which still mainly rely on manual unit test is costly, labor intensive and often not adequate to test complicated algorithms in the translators. Some standard benchmark suites, like SPEC CPU2006, are compiled with different compilation options for further tests. However, the translation modules still have over 30% of their code unexecuted after such tests, according to our experimental results. Methodologies based on randomization can generate a vast variety of tests, thus improve the code coverage in the translation system. In this paper, we propose such an approach named EATBit. Test binaries are generated with randomly selected instructions and operands. The binaries and a large amount of input data are then refined to exclude invalid ones. Experimental results on a real binary translator demonstrate that EATBit can not only improve code coverage by over 20%, but also find some new bugs in the translator successfully.
更多
查看译文
关键词
automatic test software,instruction sets,program interpreters,program testing,EATBit approach,SPEC CPU2006,binary translation system,effective automated test,embedded platforms,high code coverage,instruction set,manual unit test,standard benchmark suites,test binaries,test complicated algorithms,
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要