Git Product home page Git Product logo

fuzz's Introduction

fuzz

Instruction fuzzing for testing OS stability

-- Do not run on your bare metal unless you are at the console and want to create a panic --

  • Currently running this as non-privileged user in bhyves on a FreeBSD12-P3 host -
  • I was able to crash CentOS, FreeBSD 12 RELEASE, FreeBSD 12-P4, FreeBSD 13 HEAD and FreeBSD13/ARM64 -

Just cc -o fuzz fuzz.c and sh fuzz.sh, wait a couple of seconds/minutes/hours/days depending on the OS.

Doesn't seem to work on Ubuntu (but it's still testing)

fuzz2.c is pseudo random and needs a seed as parameter (unsigned int) fizz2.sh runs fuzz2 with different seeds and displays the seed until it crashes so if we hit a critical bug we can reproduce it.

Also did this only with a couple if pushes and then an int 0x80 call but that makes one big mess in your filesystem.

If you try fuzz2 on FreeBSD 12-P4 (1 or 2 cores, 8GB RAM) start somewhere high like 1000000, I'm still testing and just restarted after some changes in the code and vm

interesting seeds for fuzz2

265542 (FBSD12/P4, FBSD13/HEAD) Bhyve: YES -- Native: No!

355881 (FBSD12/P4) Bhyve: YES -- Native: No!

1029329 (FBSD12/P4) Bhyve: YES

fuzz's People

Contributors

stefar77 avatar

Stargazers

Oleg Ginzburg avatar

Watchers

James Cloos avatar Oleg Ginzburg avatar

Forkers

olevole

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.