Mining dynamic noteworthy functions in software execution sequences

PLoS One. 2017 Mar 9;12(3):e0173244. doi: 10.1371/journal.pone.0173244. eCollection 2017.

Abstract

As the quality of crucial entities can directly affect that of software, their identification and protection become an important premise for effective software development, management, maintenance and testing, which thus contribute to improving the software quality and its attack-defending ability. Most analysis and evaluation on important entities like codes-based static structure analysis are on the destruction of the actual software running. In this paper, from the perspective of software execution process, we proposed an approach to mine dynamic noteworthy functions (DNFM)in software execution sequences. First, according to software decompiling and tracking stack changes, the execution traces composed of a series of function addresses were acquired. Then these traces were modeled as execution sequences and then simplified so as to get simplified sequences (SFS), followed by the extraction of patterns through pattern extraction (PE) algorithm from SFS. After that, evaluating indicators inner-importance and inter-importance were designed to measure the noteworthiness of functions in DNFM algorithm. Finally, these functions were sorted by their noteworthiness. Comparison and contrast were conducted on the experiment results from two traditional complex network-based node mining methods, namely PageRank and DegreeRank. The results show that the DNFM method can mine noteworthy functions in software effectively and precisely.

MeSH terms

  • Algorithms*
  • Humans
  • Models, Theoretical*
  • Software / standards*

Grants and funding

This work was supported by National Natural Science Foundation of China Award Number: 61472341, Recipient: Guoyan Huang; National Natural Science Foundation of China Award Number: 61572420, Recipient: Jiadong Ren; Natural Science Foundation of Hebei Province Award Number: F2014203152, Recipient: Jiadong Ren; Natural Science Foundation of Hebei Province Award Number: F2016203330, Recipient: Haitao He; and Graduate innovative Foundation of Hebei Province Award Number: 2016SJBS010, Recipient: Bing Zhang.