Abstract
The accuracy and efficiency of program analyses are hindered by very large control flow graphs (CFG). This paper presents an improved GN (Girvan-Newman) algorithm for CFG division. The node weights are added as parameters to the betweenness calculation to better balance the subgraph sizes with the sizes controlled dynamically to terminate the algorithm at a suitable time to improve the execution efficiency. Then, the binary programs indicated by the CFGs are analyzed using the angr tool. The improved GN algorithm, K-means algorithm, spectral clustering algorithm and naive aggregation algorithm were all tested with the results showing the improved GN algorithm provided the best modularity and subgraph size balance.
Translated title of the contribution | Control flow graph division based on an improved GN algorithm |
---|---|
Original language | Chinese (Traditional) |
Pages (from-to) | 15-22 |
Number of pages | 8 |
Journal | Qinghua Daxue Xuebao/Journal of Tsinghua University |
Volume | 59 |
Issue number | 1 |
DOIs | |
Publication status | Published - 1 Jan 2019 |