| 注册
首页|期刊导航|四川大学学报(自然科学版)|基于间接调用补充的路径约束定向灰盒模糊测试

基于间接调用补充的路径约束定向灰盒模糊测试

左洪盛 方勇 贾鹏 范希明 潘睿 陈兴刚

四川大学学报(自然科学版)2025,Vol.62Issue(3):631-640,10.
四川大学学报(自然科学版)2025,Vol.62Issue(3):631-640,10.DOI:10.19907/j.0490-6756.250004

基于间接调用补充的路径约束定向灰盒模糊测试

Directed grey-box fuzzing based on path constraints with supplemented indirect calls

左洪盛 1方勇 1贾鹏 1范希明 1潘睿 1陈兴刚2

作者信息

  • 1. 四川大学网络空间安全学院,成都 610207
  • 2. 成都市计量检定测试院,成都 610200
  • 折叠

摘要

Abstract

Directed fuzzing conducts targeted testing on specific locations within a program and is commonly used in scenarios such as Proof-of-Concept(PoC)validation,crash reproduction,and patch testing.It uti-lizes static analysis to obtain relevant information about the target location,which then guides the mutation of test cases.However,existing directed fuzzing methods still face two critical issues that affect testing effi-ciency.First,the presence of indirect function calls negatively impacts the guidance of fuzzing,leading to er-rors in distance calculations or a lack of guidance during the early stages of fuzzing.Second,current distance calculation mechanisms fail to effectively distinguish between long seeds and short seeds,and more precise distance calculations require a substantial amount of time.Therefore,this paper proposes a fuzzing method called ConstrainFuzz,which supplements indirect calls and performs fine-grained distance calculation under path constraints.First,we extract indirect calls in the code through multi-layer type matching and complete the function call graph,mitigating misguidance in distance calculation caused by missing indirect calls or false positives.Next,this paper employs static analysis to identify code regions related to the target location and computes the distances from basic blocks in these regions to the target basic block for selective instrumenta-tion,modifying the function distance calculation mechanism to distinguish between long and short seeds.We evaluate ConstrainFuzz on the Magma benchmark,and experimental results demonstrate that ConstrainFuzz outperforms existing open-source directed fuzzing tools in vulnerability detection.Compared to AFLGo,Win-dRanger,and SelectFuzz,ConstrainFuzz uncovered 6,6,and 7 additional vulnerabilities,respectively.

关键词

漏洞挖掘/定向模糊测试/间接调用/路径约束/选择性插桩

Key words

Vulnerability mining/Directed fuzzing/Indirect calls/Path constraints/Selective instrumenta-tion

分类

信息技术与安全科学

引用本文复制引用

左洪盛,方勇,贾鹏,范希明,潘睿,陈兴刚..基于间接调用补充的路径约束定向灰盒模糊测试[J].四川大学学报(自然科学版),2025,62(3):631-640,10.

基金项目

四川省科技厅重大科技项目(2024YFHZ0015) (2024YFHZ0015)

四川大学学报(自然科学版)

OA北大核心

0490-6756

访问量3
|
下载量0
段落导航相关论文