Inicio  /  Applied Sciences  /  Vol: 11 Par: 3 (2021)  /  Artículo
ARTÍCULO
TITULO

Constructing More Complete Control Flow Graphs Utilizing Directed Gray-Box Fuzzing

Kailong Zhu    
Yuliang Lu    
Hui Huang    
Lu Yu and Jiazhen Zhao    

Resumen

Control Flow Graphs (CFGs) provide fundamental data for many program analyses, such as malware analysis, vulnerability detection, code similarity analysis, etc. Existing techniques for constructing control flow graphs include static, dynamic, and hybrid analysis, which each having their own advantages and disadvantages. However, due to the difficulty of resolving indirect jump relations, the existing techniques are limited in completeness. In this paper, we propose a practical technique that applies static analysis and dynamic analysis to construct more complete control flow graphs. The main innovation of our approach is to adopt directed gray-box fuzzing (DGF) instead of coverage-based gray-box fuzzing (CGF) used in the existing approach to generate test cases that can exercise indirect jumps. We first employ a static analysis to construct the static CFGs without indirect jump relations. Then, we utilize directed gray-box fuzzing to generate test cases and resolve indirect jump relations by monitoring the execution traces of these test cases. Finally, we combine the static CFGs with indirect jump relations to construct more complete CFGs. In addition, we also propose an iterative feedback mechanism to further improve the completeness of CFGs. We have implemented our technique in a prototype and evaluated it through comparing with the existing approaches on eight benchmarks. The results show that our prototype can resolve more indirect jump relations and construct more complete CFGs than existing approaches.

 Artículos similares

       
 
Xingxing Tong, Ming Chen and Guofu Feng    
The issue of aquatic product quality and safety has gradually become a focal point of societal concern. Analyzing textual comments from people about aquatic products aids in promptly understanding the current sentiment landscape regarding the quality and... ver más
Revista: Applied Sciences

 
Yu Sun and Zhiqiang Zhang    
Accurately classifying degraded images is a challenging task that relies on domain expertise to devise effective image processing techniques for various levels of degradation. Genetic Programming (GP) has been proven to be an excellent approach for solvi... ver más
Revista: Applied Sciences

 
Xiongchuan Chen, Shuangcheng Zhang, Bin Wang, Guangwei Jiang, Chuanlu Cheng, Xin Zhou, Zhijie Feng and Jingtao Li    
The motion of a continuously operating reference station is usually dominated by the long-term crustal motions of the tectonic block on which the station is located. Monitoring changes in the coordinates of reference stations located at tectonic plate bo... ver más
Revista: Applied Sciences

 
Hui-Jun Kim, Jung-Soon Kim and Sung-Hee Kim    
The existing question-and-answer screening test has a limitation in that test accuracy varies due to a high learning effect and based on the inspector?s competency, which can have consequences for rapid-onset cognitive-related diseases. To solve this pro... ver más
Revista: Applied Sciences

 
Feihu Zhang, Diandian Xu and Chensheng Cheng    
Multi-vehicle collaborative mapping proves more efficient in constructing maps in unfamiliar underwater environments in comparison to single-vehicle methods. One of the pivotal hurdles of Simultaneous Localization and Mapping (SLAM) with multiple underwa... ver más