Lune

PLDI2022顶会

Odin: on-demand instrumentation with on-the-fly recompilation

Mingzhe Wang, Jie Liang, Chijin Zhou, Zhiyong Wu, Xinyi Xu, Yu Jiang

摘要

Instrumentation is vital to fuzzing. It provides fuzzing directions and helps detect covert bugs, yet its overhead greatly reduces the fuzzing throughput. To reduce the overhead, compilers compromise instrumentation correctness for better optimization, or seek convoluted runtime support to remove unused probes during fuzzing.

In this paper, we propose Odin, an on-demand instrumentation framework to instrument C/C++ programs correctly and flexibly. When instrumentation requirement changes during fuzzing, Odin first locates the changed code fragment, then re-instruments, re-optimizes, and re-compiles the small fragment on-the-fly. Consequently, with a minuscule compilation overhead, the runtime overhead of unused probes is reduced. Its architecture ensures correctness in instrumentation, optimized code generation, and low latency in recompilation. Experiments show that Odin delivers the performance of compiler-based static instrumentation while retaining the flexibility of binary-based dynamic instrumentation. When applied to coverage instrumentation, Odin reduces the coverage collection overhead by 3× and 17× compared to LLVM SanitizerCoverage and DynamoRIO, respectively.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 PATA: Fuzzing with Path Aware Taint Analysis
  • Minerva: browser API fuzzing with dynamic mod-ref analysis 引用了 Angora: Efficient Fuzzing by Principled Search
  • PolyJuice: Detecting Mis-compilation Bugs in Tensor Compilers with Equality Saturation Based Rewriting 引用了 Minerva: browser API fuzzing with dynamic mod-ref analysis
  • PolyJuice: Detecting Mis-compilation Bugs in Tensor Compilers with Equality Saturation Based Rewriting 引用了 Mozi: Discovering DBMS Bugs via Configuration-Based Equivalent Transformation
  • PolyJuice: Detecting Mis-compilation Bugs in Tensor Compilers with Equality Saturation Based Rewriting 引用了 Towards Better Semantics Exploration for Browser Fuzzing
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 kAFL: Hardware-Assisted Feedback Fuzzing for OS Kernels
  • Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing 引用了 Angora: Efficient Fuzzing by Principled Search
  • PATA: Fuzzing with Path Aware Taint Analysis 引用了 Angora: Efficient Fuzzing by Principled Search
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 Minerva: browser API fuzzing with dynamic mod-ref analysis
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided Tracing
  • Towards Better Semantics Exploration for Browser Fuzzing 引用了 PATA: Fuzzing with Path Aware Taint Analysis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper11

  1. Minerva: browser API fuzzing with dynamic mod-ref analysisChijin Zhou, Quan Zhang, Mingzhe Wang, Lihua Guo 等FSE 2022 · 20 次引用
  2. Mozi: Discovering DBMS Bugs via Configuration-Based Equivalent TransformationJie Liang, Zhiyong Wu, Jingzhou Fu, Mingzhe Wang 等ICSE 2024 · 18 次引用
  3. Towards Better Semantics Exploration for Browser FuzzingChijin Zhou, Quan Zhang, Lihua Guo, Mingzhe Wang 等OOPSLA 2023 · 15 次引用
  4. PolyJuice: Detecting Mis-compilation Bugs in Tensor Compilers with Equality Saturation Based RewritingChijin Zhou, Bingzhou Qian, Gwihwan Go, Quan Zhang 等OOPSLA 2024 · 7 次引用
  5. PROMPT: A Fast and Extensible Memory Profiling FrameworkZiyang Xu, Yebin Chon, Yian Su, Zujun Tan 等OOPSLA 2024 · 4 次引用

它引用的 Paper11

  1. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 次引用
  2. kAFL: Hardware-Assisted Feedback Fuzzing for OS KernelsSergej Schumilo, Cornelius Aschermann, Robert Gawlik, Sebastian Schinzel 等USENIX Security 2017 · 324 次引用
  3. SoK: Sanitizing for SecurityDokyung Song, Julian Lettner, Prabhu Rajasekaran, Yeoul Na 等S&P 2019 · 196 次引用
  4. Full-Speed Fuzzing: Reducing Fuzzing Overhead through Coverage-Guided TracingStefan Nagy, Matthew HicksS&P 2019 · 156 次引用
  5. PATA: Fuzzing with Path Aware Taint AnalysisJie Liang, Mingzhe Wang, Chijin Zhou, Zhiyong Wu 等S&P 2022 · 84 次引用

相关 Paper

  1. InstruGuard: Find and Fix Instrumentation Errors for Coverage-based Greybox FuzzingYuwei Liu, Yanhao Wang, Purui Su, Yuanping Yu 等ASE 2021 · 8 次引用
  2. Zeror: Speed Up Fuzzing with Coverage-sensitive Tracing and SchedulingChijin Zhou, Mingzhe Wang, Jie Liang, Zhe Liu 等ASE 2020 · 35 次引用
  3. RIFF: Reduced Instruction Footprint for Coverage-Guided FuzzingMingzhe Wang, Jie Liang, Chijin Zhou, Yu Jiang 等USENIX ATC 2021 · 36 次引用
  4. Breaking Through Binaries: Compiler-quality Instrumentation for Better Binary-only FuzzingStefan Nagy, Anh Nguyen-Tuong, Jason D. Hiser, Jack W. Davidson 等USENIX Security 2021 · 65 次引用
  5. Revisiting Path Coverage Tracing from a Node-Centric ViewHeqing Huang, Zhendong SuOOPSLA 2026
黄昏的海面,两侧是细线勾勒的悬崖