Open Access
ARTICLE
Automatic Mining of Security-Sensitive Functions from Source Code
Zhengzhou Science and Technology Institute, Zhengzhou, 450001, China.
State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou, 450001, China.
University of Göttingen, Goldschmidtstr. 7, 37077 Göttingen, Germany.
* Corresponding Author: Chunfang Yang. Email: .
Computers, Materials & Continua 2018, 56(2), 199-210. https://doi.org/10.3970/cmc.2018.02574
Abstract
When dealing with the large-scale program, many automatic vulnerability mining techniques encounter such problems as path explosion, state explosion, and low efficiency. Decomposition of large-scale programs based on safety-sensitive functions helps solve the above problems. And manual identification of security-sensitive functions is a tedious task, especially for the large-scale program. This study proposes a method to mine security-sensitive functions the arguments of which need to be checked before they are called. Two argument-checking identification algorithms are proposed based on the analysis of two implementations of argument checking. Based on these algorithms, security-sensitive functions are detected based on the ratio of invocation instances the arguments of which have been protected to the total number of instances. The results of experiments on three well-known open-source projects show that the proposed method can outperform competing methods in the literature.Keywords
Cite This Article
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.