Hybrid dynamic data race detection in systemC


ŞEN M. A., Kalaci O.

17th Forum on Specification and Design Languages, FDL 2014, Munich, Almanya, 14 - 16 Ekim 2014, cilt.2015-June, (Tam Metin Bildiri)

  • Yayın Türü: Bildiri / Tam Metin Bildiri
  • Cilt numarası: 2015-June
  • Doi Numarası: 10.1109/fdl.2014.7119347
  • Basıldığı Şehir: Munich
  • Basıldığı Ülke: Almanya
  • Boğaziçi Üniversitesi Adresli: Evet

Özet

Data races are one of the most common problems in concurrent programs. As SystemC standard allows nondeterministic scheduling of processes, this leads to data races. Hence, different executions of the same concurrent program may lead to unexpected results due to race conditions. We develop a hybrid dynamic data race detection algorithm for SystemC/TLM designs that adopts the well-studied dynamic race detection algorithms; lockset and happens-before. Experiments show that our solution has fewer false positives than lockset and fewer false negatives than happens-before algorithms. Our implementation uses dynamic binary instrumentation allowing us to work on designs for which source codes may not be available such as pre-compiled IPs.