Git Product home page Git Product logo

Comments (5)

eqv avatar eqv commented on July 4, 2024

https://github.com/nautilus-fuzz/nautilus/blob/master/grammartec/src/tree.rs#L349 <- this looks pretty worrying to me. It seems there is something missing in the regex implementation.

the fu**y bits part just means that bit 4299 in the bitmap was nondeterministic. If you fuzz complex targets that is to be expected. Could be caused by all kinds of things: random GC stuff, different keys for keyed hash functions in hashmaps leading to different collision patterns etc.

from nautilus.

eqv avatar eqv commented on July 4, 2024

I think the quickfix would be to not use the regex stuff in you grammar for now. I will look into this

from nautilus.

eqv avatar eqv commented on July 4, 2024

should be fixed by 50a806b. If you can confirm this, please close this issue.

from nautilus.

bat-serjo avatar bat-serjo commented on July 4, 2024

Here's the grammar I use
#ctx.rule(NONTERM: string, RHS: string|bytes) adds a rule NONTERM->RHS. We can use {NONTERM} in the RHS to request a recursion..
ctx.rule("START","{IAC}")
ctx.rule("IAC", u"{CMD}{BLA}{LETTER}{STRING}{IAC}")
ctx.rule("IAC", u"")
ctx.rule("CMD", "\xff")
ctx.rule("CMD", "{BLA}")
ctx.rule("BLA", "\xff")
ctx.rule("BLA", "\xfe")
ctx.rule("BLA", "\xfd")
ctx.rule("BLA", "\xfc")
ctx.rule("BLA", "\xfb")
ctx.rule("BLA", "\xfa")
ctx.rule("BLA", "\xf9")
ctx.rule("BLA", "\xf8")
ctx.rule("BLA", "\xf7")
ctx.rule("BLA", "\xf6")
ctx.rule("BLA", "\xf5")
ctx.rule("BLA", "\xf4")
ctx.rule("BLA", "\xf3")
ctx.rule("BLA", "\xf2")
ctx.rule("BLA", "\xf1")
ctx.rule("BLA", "\xf0")
ctx.rule("BLA", "\xff\xfa\x18\x00{STRING}")
#ctx.regex("LETTER", "[\x00-\x41]")
ctx.regex("LETTER", "[\x00-\x36]
\x00*")
#ctx.rule("STRING", "")
ctx.regex("STRING", "[\x00-\x7f]\x00")
#ctx.regex("STRING", "[\x10-\x7f]+\x00*")

from nautilus.

bat-serjo avatar bat-serjo commented on July 4, 2024

looks fixed with that last commit.

from nautilus.

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.