Design of a modified concolic testing algorithm with smaller constraints


Koroglu Y., ŞEN M. A.

7th Workshop on Constraint Solvers in Testing, Verification, and Analysis, CSTVA 2016, Saarbrücken, Almanya, 17 Temmuz 2016, cilt.1639, ss.3-14, (Tam Metin Bildiri)

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası: 1639
  • Basıldığı Şehir: Saarbrücken
  • Basıldığı Ülke: Almanya
  • Sayfa Sayıları: ss.3-14
  • Boğaziçi Üniversitesi Adresli: Evet

Özet

Concolic testing is a well-known unit test generation technique. However, bottlenecks such as constraint solving prevents concolic testers to be used in large projects. We propose a modification to a standard concolic tester. Our modification makes more but smaller queries to the constraint solver, i.e. ignores some path conditions. We show that it is possible to reach the same branch coverage as the standard concolic tester while decreasing the burden on the constraint solver. We support our claims by testing several C programs with our method. Experimental results show that our modification improves runtime performance of the standard concolic tester in half of the experiments and results in more than 5x speedup when the unit under test has many infeasible paths.