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

    Check access

    Check availability in my library

    Order at Subito €


    Export, share and cite



    Title :

    Verification of Flag Usage Patterns by Static Analysis Techniques


    Additional title:

    Sae International Journal of Passenger Cars- Electronic and Electrical Systems
    Sae Int. J. Passeng. Cars – Electron. Electr. Syst


    Contributors:

    Conference:

    SAE 2014 World Congress & Exhibition ; 2014



    Publication date :

    2014-04-01


    Size :

    12 pages




    Type of media :

    Conference paper


    Type of material :

    Print


    Language :

    English




    Verification of Flag Usage Patterns by Static Analysis Techniques

    Zare, A. / Datar, A. / Kikuchi, M. et al. | British Library Conference Proceedings | 2014



    Extension of Static Verification Techniques by Semantic Analysis

    Hote, C. / American Institute of Aeronautics and Astronautics / IEEE | British Library Conference Proceedings | 2005


    Ebook usage patterns

    Chiang, Dudee | NTRS | 2017


    Courtesy flag

    OLDS KIM | European Patent Office | 2023

    Free access