Modified method of static code analysis for solving problem of folding of string constants
Abstract
This article proposes a modified method for solving problem of propagation of string constants with less complexity and higher accuracy than existing methods. The basis of the considered method is the annotation of the propagated values with additional information, the analysis of which allows not to perform the concatenation of values which cannot exist together during the actual execution of the program. This approach allows to reduce the size of the intermediate results of data flow analysis, thereby improving its speed and accuracy.
References
N.Wegman M. Constant propagation with conditional branches [Електронний ресурс] / M. N.Wegman, F. Kcnncth Zadeck // ACM Transactions on Programming Languages and Systems. – 1991.
Costantini G. Static Analysis of String Values [Електронний ресурс] / G. Costantini, P. Ferrara, A. Cortesi // International Conference on Formal Engineering Methods. – 2011.
Comparison of parser generators [Електронний ресурс]
Control-flow graph [Електронний ресурс]
Combinatorial explosion [Електронний ресурс]
Abstract views: 102 PDF Downloads: 98