Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuzzable argument not working with s_binary() #54

Closed
ghost opened this issue Jul 23, 2013 · 2 comments
Closed

fuzzable argument not working with s_binary() #54

ghost opened this issue Jul 23, 2013 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 23, 2013

Hi,

I am currently trying to fuzz an embedded system using the s_binary() method. I want to fuzz different fields depending on the fuzzing session, so I want to use the s_binary() method to define my protocol so that I can set some fields as fuzzable and some as not fuzzable. For some reason, I am getting the error "TypeError: s_binary() got an unexpected keyword argument 'fuzzable'", even though I know s_binary() should have a fuzzable argument from reading the documentation included with Sulley.

Here is the line of code that is generating the error:

s_binary("0x00", name="IDBit", fuzzable="False")

Any ideas?

Thanks a lot,
-4leaf

@magwitch324
Copy link

I believe that s_binary is never fuzzable. it actually creates a static with the given value, but handles more formats that the normal static

@Fitblip
Copy link
Member

Fitblip commented Jul 24, 2013

Yep, Magwitch is correct.

def s_binary (value, name=None):

Sorry about that :(. I'll make sure to add that to the feature list for Sulley v2 :).

@Fitblip Fitblip closed this as completed Jul 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants