Logo image
基於指標之程式之發散分析方法及儲存實現該方法之程式之非短暫之實體讀取媒介
Patent

基於指標之程式之發散分析方法及儲存實現該方法之程式之非短暫之實體讀取媒介

國立清華大學, 李政崑 and 王紹仲
01/06/2015

Abstract

A method comprises generating an intermediate representation of a pointer-based program; providing a control flow graph of the intermediate representation; selecting an analysis candidate from the intermediate representation as a traced variable and a root node; determining a definition site of the trace variable according to a use-define chain and the control flow graph; defining a node for each definition site variable; defining an edge by using each definition site variable and the traced variable; using each definition site variable of the definition site as a traced variable; repeating the steps of determining a definition site, defining a node, defining an edge and using each definition site variable to obtain a divergence relation graph; transforming the divergence relation graph into a directed acyclic graph; and determining whether the analysis candidate is divergent or not according to a divergent node and the directed acyclic graph.

Metrics

1 Record Views

Details

Logo image