Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Skipto
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
shai.sarfaty@googlemail.c om  
View profile  
 More options Nov 3, 6:57 am
From: "shai.sarf...@googlemail.com" <shai.sarf...@googlemail.com>
Date: Tue, 3 Nov 2009 03:57:14 -0800 (PST)
Local: Tues, Nov 3 2009 6:57 am
Subject: Skipto
Hi Michael,
I'm using the "--skipto" option so i could simulate a bug that i have
so i can debug it.

i know that its not a bug that before Peach  skip to the test case it
run the none mutated test case and only then jumps to the wanted test
case.

but this causes issues, i know that the fuzzing is working well thats
why i want to skip to a test case
i need to go through  a usesless test case.

i think that there should be another flag that will tell Peach to run
just this test case or from this test case without runing the defualt
none mutated..

Regards,
Shai.


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Eddington  
View profile  
 More options Nov 3, 1:25 pm
From: Michael Eddington <medding...@gmail.com>
Date: Tue, 03 Nov 2009 10:25:37 -0800
Local: Tues, Nov 3 2009 1:25 pm
Subject: Re: [Peach] Skipto
The first iteration with no mutators is always required to setup the
fuzzer state.  Peach allows for very complex state models who's path is
not always able to be determined until it has executed for the first
time.  The first iteration is used so the fuzzer can observe and
discover all the actions that will be fuzzed.

mike

On 11/3/2009 3:57 AM, shai.sarf...@googlemail.com wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shai.sarfaty@googlemail.c om  
View profile  
 More options Nov 3, 2:18 pm
From: "shai.sarf...@googlemail.com" <shai.sarf...@googlemail.com>
Date: Tue, 3 Nov 2009 11:18:27 -0800 (PST)
Local: Tues, Nov 3 2009 2:18 pm
Subject: Re: Skipto
i understand . but must it use the publisher to do it as well ?
i mean that i can setup the fuzzer state without acctualy sending the
data ?

On Nov 3, 8:25 pm, Michael Eddington <medding...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Eddington  
View profile  
 More options Nov 3, 4:57 pm
From: Michael Eddington <medding...@gmail.com>
Date: Tue, 03 Nov 2009 13:57:44 -0800
Local: Tues, Nov 3 2009 4:57 pm
Subject: Re: [Peach] Re: Skipto
Nope, the point here is one cannot determine the state of the state
model with out first running it.  If your doing something super simple
like file fuzzing were your state model just writes a file, thats one
thing, but with a more complex network based state model were choices
are made based on data coming back from the server there is no way to
pre-determine what will occur will out running it.

Perhaps you could explain why running the initial test case is causing a
problem for you and we can figure out a workaround for it.

mike

On 11/3/2009 11:18 AM, shai.sarf...@googlemail.com wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
shai.sarfaty@googlemail.c om  
View profile  
 More options Nov 4, 1:49 am
From: "shai.sarf...@googlemail.com" <shai.sarf...@googlemail.com>
Date: Tue, 3 Nov 2009 22:49:45 -0800 (PST)
Local: Wed, Nov 4 2009 1:49 am
Subject: Re: Skipto
I have build a state machine for a network protocol and it is complex
like you saied
but the thing is that i need to debug a bug that i have in a specific
test case
when i want to debug this case i first have to go through all the
break points that i set
with the none motator test case. and then i can start to debug the
"bug" test case it self

Now, i have an idea how to by pass this: "run-pause-run"
we can set a "pause" for eatch test case - meaning, after a test case
has run Peach will pause  untill a user press key.
This way i can desable the break points and let peach run the first
test case and then Peach will pause
and i will re-set the break points and press key so peach will
continue and i will be able to debug it properly.

What do you say? can it be a good solution or this could cause isuues
that i'm not aware of ?

Regards,
Shai.

On Nov 3, 11:57 pm, Michael Eddington <medding...@gmail.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Eddington  
View profile  
 More options Nov 4, 2:03 am
From: Michael Eddington <medding...@gmail.com>
Date: Tue, 03 Nov 2009 23:03:33 -0800
Local: Wed, Nov 4 2009 2:03 am
Subject: Re: [Peach] Re: Skipto
Sounds like a good solution.  If your using an Agent, an easy way to add
this would be to create a Monitor that does just that when it's
"OnTestStarting" method or "OnTestFinished" method is called.  The input
will be asked for in the Agent console.

THis is a good way to add it with out making any code changes to actual
Peach code.

Check out the monitors in the Peach\Agents folder.  You will also want
to read the following, both of which can be used as children in <Agent>
definitions.

http://peachfuzzer.com/Import
http://peachfuzzer.com/PythonPath

mike

On 11/3/2009 10:49 PM, shai.sarf...@googlemail.com wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Žember  
View profile  
 More options Nov 4, 8:57 am
From: Martin Žember <zem...@gmail.com>
Date: Wed, 4 Nov 2009 14:57:04 +0100
Local: Wed, Nov 4 2009 8:57 am
Subject: Re: [Peach] Re: Skipto
Perhaps you can add "passes" to your breakpoints. (I.e. number of
passes through a breakpoint without actually breaking.)

Martin

On Wed, Nov 4, 2009 at 7:49 AM, shai.sarf...@googlemail.com


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google