Giter Club home page Giter Club logo

Comments (2)

sawilson2009 avatar sawilson2009 commented on June 21, 2024

This affects me.

I'm distributing a boofuzz load in parallel across multiple computers (in a kinda dumb way, somewhat necessary due to my constraints). I have a "server" that calls session.num_mutations() and then waits for clients to call in; when they do, the server uses the number of clients ("boofuzz host machines") and the return from num_mutations() to tell each client what chunk of the tests it should run. Then the server is then no longer involved. The clients then each spin up multiple isolated boofuzz+target instances in parallel, each of them re-generating the same session graph (hopefully) with the same random.seed, each running a single test against an isolated target copy. Once each boofuzz+target instance finishes, the client kills that instance and then starts another boofuzz+target instance on the next mutation from the pool that the client was assigned from the server.

Each boofuzz instance fuzzes a single case via session.fuzz_single_case().

from boofuzz.

jtpereyda avatar jtpereyda commented on June 21, 2024

@sawilson2009 Thank you for explaining your use case. The two options I listed in the first comment wouldn't help in that case, since the Python script is completely killed and restarted.

The challenge here is that the interface for creating new fuzz primitives expects an interator-like behavior rather than list-like behavior. (This is done to allow for optimal performance when running through many many test cases)

A couple other options I can think of:

  1. Add a fuzz-single-case method to Request, use the len method to check the number of primitive mutations for each primitive, and skip primitives until coming to the target primitive. From there, iterate mutations until coming to the exact number.
  2. Add a fuzz-single-case method to IFuzzable, implementing the behavior described above and also implementing behavior for individual primitives.

from boofuzz.

Related Issues (20)

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.