Fuzzing for Testing the JVM: Why and How
summary
Describes using fuzzing (random-test generation) to find functional bugs in a Java VM and an LLVM-based JIT compiler by generating random Java programs that are likely to expose problems and provide deterministic, reproducible failing tests with source. Covers how such Java fuzzers are built and discusses extending the approach to generate programs for other JVM languages like Scala and Kotlin.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 3:36JVM compiler bugs
- 8:58Bug detection challenges
- 11:50Current testing methods
- 14:01Fuzzing basics
- 18:35Java fuzzer setup
- 21:27Multi-language fuzzer need
- 28:13Grammar-based generation
- 33:58Identifier scopes
- 41:03Generating loops
- 44:32Program plausibility
- 47:45Weighted rule generation
- 51:00Handling complex types
- 53:09New fuzzer status
- 53:31Q&A
