Git Product home page Git Product logo

Comments (5)

jimmers avatar jimmers commented on May 20, 2024

Culprit:

Index: sulley/primitives.py

--- sulley/primitives.py (revision 147)
+++ sulley/primitives.py (revision 149)
@@ -199,7 +199,7 @@
self.original_value = self.values[0]
self.rendered = ""
self.fuzz_complete = False

  •    self.mutant_index   = 1      # XXX - should start mutating at 1, since the first item is the default. right?
    
  •    self.mutant_index   = 0
    

That comes from https://sulley.googlecode.com/svn/trunk

from sulley.

Fitblip avatar Fitblip commented on May 20, 2024

Are you using the most up-to-date version?

https://github.com/OpenRCE/sulley/blob/master/sulley/primitives.py

I see nowhere in here does a mutant_index get initialized with 1...

from sulley.

jimmers avatar jimmers commented on May 20, 2024

It is inited with zero and that breaks dependencies() test.

from sulley.

Fitblip avatar Fitblip commented on May 20, 2024

Hrm, that's odd. The unit tests were written long ago by someone else, so if you feel like fixing them, go for it?

I'm concentrating my effort on sulley V2, and since I'm the only dev on this (with limited time) I have to pick how I spend my time wisely.

I realize that's probably not what you like to hear after reporting a bug, but I believe this is a problem with the test itself, and not with the sulley codebase.

from sulley.

SteveJM avatar SteveJM commented on May 20, 2024

Ahhh, I had this and fixed it in pull request earlier today.
The test required a "s_mutate()" prior to the first assert.

Therefore this issue can now be closed.

from sulley.

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.