The invention relates to a
pointer analysis-based incremental data flow path extraction method. The method comprises the following steps of: firstly, acquiring an initial pointer variable related to an incremental code as a task variable set; then, performing reverse query on the task variables based on the pointing relation
constraint graph to obtain a basic variable set and a
memory object pointed by the basic variable set; and after the
working set is initialized, executing pointing relation propagation, propagating the
memory object to a pointing set of the task variable, and classifying a new association pointer found in propagation into an indirect variable set. And executing explicit dependency query on the indirect variable set, adding a new dependency variable into the task set, repeating the process until the
constraint graph is stable, and finally obtaining pointing information of all variables. And an inter-process
data dependence sub-graph is constructed, and an incremental data flow path is extracted. According to the method, through a locality principle and a reverse query strategy, an analysis range is limited to incremental code related variables, and the overhead and
memory problems of global analysis are avoided.