Advanced Search
    Pang Long, Su Xiaohong, Ma Peijun, Zhao Lingling. Research on Flow Sensitive Demand Driven Alias Analysis[J]. Journal of Computer Research and Development, 2015, 52(7): 1620-1630. DOI: 10.7544/issn1000-1239.2015.20140336
    Citation: Pang Long, Su Xiaohong, Ma Peijun, Zhao Lingling. Research on Flow Sensitive Demand Driven Alias Analysis[J]. Journal of Computer Research and Development, 2015, 52(7): 1620-1630. DOI: 10.7544/issn1000-1239.2015.20140336

    Research on Flow Sensitive Demand Driven Alias Analysis

    • In order to improve the response efficiency of pointer alias queries in the interactive environment, researches are interested in the demand driven strategy to reduce the cost for analyzing the unrelated pointer variables with respect to the objectives. The demand driven alias analysis based on the context free grammar has been proposed. However, its precision is only limited to the flow-insensitivity. The flow-insensitivity pointer alias restricts the precision of overlying analysis, so the bug detection results in more false alarms than the one with flow-sensitive alias analysis. In this paper, we propose a demand driven pointer alias analysis based on the graph reachability and the context free grammar to provide the flow sensitive precision, which has tolerable additional overhead comparing with the flow-insensitive alias analysis. First the updates of pointer variables are discriminated by the partial single static assignment to filter out the unrelated pointer variables as early as possible. Then the sequence of control flow along these assignments is expressed in the form of level linearization code, which is used to construct the assignment flow graph. Finally, the query of alias in demand driven is formalized as the search of reachability of target nodes in the assignment flow graph to achieve the precision of flow sensitivity. The experiments demonstrate that this presented method can improve the flow sensitivity the precision of alias analysis in demand driven with overhead tolerable.
    • loading

    Catalog

      Turn off MathJax
      Article Contents

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return