Verification of Flag Usage Patterns by Static Analysis Techniques

Paper #:
  • 2014-01-0180

Published:
  • 2014-04-01
Citation:
Zare, A., Datar, A., Kikuchi, M., Ichikawa, S. et al., "Verification of Flag Usage Patterns by Static Analysis Techniques," SAE Int. J. Passeng. Cars – Electron. Electr. Syst. 7(1):73-84, 2014, https://doi.org/10.4271/2014-01-0180.
Pages:
12
Abstract:
A flag is a global boolean variable used to achieve synchronization between various tasks of an embedded system. An application implementing flags performs actions or events based on the value of the flags. If flag variables are not implemented properly, certain synchronization related issues can arise which can lead to unexpected behavior or failure of the underlying system. In this paper, we present an automated verification technique to identify and verify flag usage patterns at an early stage of code development. We propose a two-step approach which consists of: a. identification of all potential flag variables and b. verification of flag usage patterns against predefined set of rules. The results of our experiment demonstrate that the proposed approach reduces the cost and complexity of the flag review process by almost 70%.
Access
Now
SAE MOBILUS Subscriber? You may already have access.
Buy
Select
Price
List
Download
$27.00
Mail
$27.00
Members save up to 40% off list price.
Share
HTML for Linking to Page
Page URL

Related Items

Technical Paper / Journal Article
2011-04-12
Technical Paper / Journal Article
2011-04-12
Technical Paper / Journal Article
2011-04-12