Font Size: a A A

Research On Detection Methods Of Multi-threaded Program Based On Dynamic Binary Instrumentation Tools2

Posted on:2011-02-28Degree:MasterType:Thesis
Country:ChinaCandidate:C XuFull Text:PDF
GTID:2178360308452659Subject:Software engineering
Abstract/Summary:PDF Full Text Request
As multi-core platform is widely used, people pay close attention to multithreaded programming. Multithreading bring higher performance, meanwhile it cause a series of problem. In general, multithreaded programming is difficult. It is easy to make mistakes in synchronization issues that produce data race, which is usually caused by negligence. Data race, which is usually implicated, is the typical mistake of these synchronization issues. It is a hard work to detect and locate data race in multithread programs.This paper introduces a data race detector called Racebit, which is based on the dynamic binary translation infrastructure Crossbit. Racebit use a hybrid solution combining lockset-based and happen-before algorithm. The detection accuracy is improved and the overhead is effectively cut down. With Racebit, the programmer could locate the potential data race error and improve the quality of multithreaded program. In addition, due to based on Multisource–Multitarget platform, Racebit is platform independent. So Racebit is adapted to embedded software. Generally speaking, there is few debug tool on embedded platform. Using Racebit, programmer could debug multithreaded embedded programs on PC.
Keywords/Search Tags:Dynamic Binary Translation, Data Race, Instrumentation Tool, Racebit
PDF Full Text Request
Related items