Proceedings 2021 Workshop on Binary Analysis Research最新文献

筛选
英文 中文
icLibFuzzer: Isolated-context libFuzzer for Improving Fuzzer Comparability libFuzzer:隔离上下文libFuzzer,用于提高Fuzzer的可比性
Proceedings 2021 Workshop on Binary Analysis Research Pub Date : 1900-01-01 DOI: 10.14722/bar.2021.23013
Yu Liang, H. Hsiao
{"title":"icLibFuzzer: Isolated-context libFuzzer for Improving Fuzzer Comparability","authors":"Yu Liang, H. Hsiao","doi":"10.14722/bar.2021.23013","DOIUrl":"https://doi.org/10.14722/bar.2021.23013","url":null,"abstract":"AFL [20] and libFuzzer [14] are two of the most successful fuzzers with different design goals and have been evolving separately for several years. AFL aims to continuously fuzz executables, while libFuzzer targets library functions and stops whenever hitting a crash. As a result, fuzzers in the AFL and libFuzzer families mainly consider the code-coverage and time-to-first-crash metrics, respectively. It is challenging to compare them directly with each other over the same metrics. This comparability issue is solved partially by enabling the ignore-crash mode in libFuzzer. The ignore-crash mode spawns multiple fuzzer instances and fuzzes a target executable in different processes parallelly. Whenever a fuzzer instance exits or finds a crash, libFuzzer will restart the fuzzer instance. Although libFuzzer in the ignore-crash mode can fuzz continuously and restart after a crash, the fuzzing results may be incorrect when previous non-crash runs pollute the global context because of libFuzzer’s in-process infrastructure. Therefore, most fuzzers were compared with libFuzzer only on few manually tuned datasets (e.g., fuzzer-test-suite [9]) that allow both fuzzer families to operate correctly. Due to the lack of comparability, the advances in libFuzzer seem to be left unnoticed in the state-of-the-art academic papers, which predominantly consider the code-coverage metric. For example, libFuzzer has integrated advanced instrumentation features such as CMP tracing since 2017, but similar features were unavailable in AFL-based fuzzers until 2019 in RedQueen [2] (which is later integrated into AFL++ [7]). To this end, we believe a bridge between these two fuzzer families is needed to foster knowledge accumulation and sharing in the community. In this work, we present isolated-context libFuzzer (icLibFuzzer), a new libFuzzer mode that bridges the two fuzzer families and allows them to be compared over commonly seen metrics on arbitrary programs. To solve the context pollution problem, icLibFuzzer runs in the AFL-like forkserver architecture and correctly manages the global context between executions. As speed is a crucial requirement of fuzzers, we further optimize icLibFuzzer’s implementation via structure packing, achieving similar performance to other forkserverbased implementation while preserving libFuzzer’s advanced instrumentation features. To demonstrate that icLibFuzzer improves fuzzer comparability, we compare icLibFuzzer with four state-of-the-art fuzzers (AFL, Angora, Honggfuzz, and QSYM) using the Abstract—libFuzzer is a powerful fuzzer that has helped find thousands of bugs in real-world programs. However, fuzzers that seek to compare with libFuzzer and its variants face two significant limitations. First, they are restricted to use the time-tofirst-crash metric rather than the code-coverage metric because libFuzzer will abort whenever the fuzzing target crashes. Second, even if libFuzzer in the ignore-crash mode can continue after finding a cra","PeriodicalId":178306,"journal":{"name":"Proceedings 2021 Workshop on Binary Analysis Research","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129900644","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书