Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Kotlin IR Fuzz Playground

Why I built this

I wanted to experiment with compiler fuzzing in a small and simple project. This playground generates random Kotlin programs, compiles them with kotlinc, and saves interesting crash cases for later analysis

What it does

  • Generates many small random programs (functions, loops, inline functions).
  • Compiles them with kotlinc.
  • If the compiler crashes or prints an internal error, the input is saved to crashes/ for further analysis.

How to run

python3 src/main.py --iterations 200

CLI options

  • --iterations — number of fuzzing iterations
  • --kotlinc — Kotlin compiler executable or path
  • --output-dir — directory for saved crash cases

Requirements

  • Python 3.10+
  • Kotlin compiler (kotlinc) available in PATH

About

Small personal playground for experimenting with fuzzing the Kotlin compiler.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages