- Arachne engine now respects --prune=2 (and thus the default setting)
somewhat. There is no good definition of length yet, so we don't do this yet.
This commit is contained in:
parent
21b2c27320
commit
f90f16fe93
@ -1126,7 +1126,8 @@ bind_goal (const Binding b)
|
|||||||
indentPrint ();
|
indentPrint ();
|
||||||
eprintf ("* Because ");
|
eprintf ("* Because ");
|
||||||
termPrint (b->term);
|
termPrint (b->term);
|
||||||
eprintf (" is never sent from a regular run (STILL NEEDS LEMMA!), we only intruder construct it.\n");
|
eprintf
|
||||||
|
(" is never sent from a regular run (STILL NEEDS LEMMA!), we only intruder construct it.\n");
|
||||||
}
|
}
|
||||||
know_only = 1;
|
know_only = 1;
|
||||||
}
|
}
|
||||||
@ -1335,7 +1336,8 @@ prune_claim_specifics ()
|
|||||||
if (sys->output == PROOF)
|
if (sys->output == PROOF)
|
||||||
{
|
{
|
||||||
indentPrint ();
|
indentPrint ();
|
||||||
eprintf ("Pruned: niagree holds in this part of the proof tree.\n");
|
eprintf
|
||||||
|
("Pruned: niagree holds in this part of the proof tree.\n");
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -1348,7 +1350,8 @@ prune_claim_specifics ()
|
|||||||
if (sys->output == PROOF)
|
if (sys->output == PROOF)
|
||||||
{
|
{
|
||||||
indentPrint ();
|
indentPrint ();
|
||||||
eprintf ("Pruned: nisynch holds in this part of the proof tree.\n");
|
eprintf
|
||||||
|
("Pruned: nisynch holds in this part of the proof tree.\n");
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -1409,6 +1412,14 @@ property_check ()
|
|||||||
count_false ();
|
count_false ();
|
||||||
if (sys->output == ATTACK)
|
if (sys->output == ATTACK)
|
||||||
printSemiState ();
|
printSemiState ();
|
||||||
|
/**
|
||||||
|
* Prune this?
|
||||||
|
*/
|
||||||
|
if (sys->prune == 2)
|
||||||
|
{
|
||||||
|
/* default: if any attack is found, abort the procedure */
|
||||||
|
flag = 0;
|
||||||
|
}
|
||||||
|
|
||||||
return flag;
|
return flag;
|
||||||
}
|
}
|
||||||
@ -1450,7 +1461,8 @@ iterate ()
|
|||||||
eprintf ("All goals are now bound.\n");
|
eprintf ("All goals are now bound.\n");
|
||||||
}
|
}
|
||||||
sys->claims = statesIncrease (sys->claims);
|
sys->claims = statesIncrease (sys->claims);
|
||||||
current_claim->count = statesIncrease (current_claim->count);
|
current_claim->count =
|
||||||
|
statesIncrease (current_claim->count);
|
||||||
flag = property_check ();
|
flag = property_check ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user