Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
kallsymsPublic archive

About

https://github.com/sslab-gatech/perf-fuzz as a kernel module

Resources

Stars

10 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

snapshot-lkm

Repo deprecated in favor of the AFL++ fork.

A kernel module that creates a snapshot() syscall for fast fuzzing. Developed off of kernel 5.4.23, but since this is a LKM hopefully version doesn't matter (too much).

Idea from AFL++ ideas page.

For original implementation (as a kernel fork/patch), see https://github.com/sslab-gatech/perf-fuzz.

How it works

  • Overwrites sys_tuxcall (unused) syscall table entry for the "new" snapshot syscall
  • Overwrites syscall table to intercept sys_exit_group (and maybe restore state)
  • Uses kprobes to hook a few kernel-internal functions (see snapshot/module.c) to build and restore snapshot data (see snapshot/associated_data.c)

About

https://github.com/sslab-gatech/perf-fuzz as a kernel module

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages