- Minor refactoring.
This commit is contained in:
parent
d2e3aaa869
commit
341bbfeb0c
@ -2231,16 +2231,10 @@ iterate_buffer_attacks (void)
|
||||
}
|
||||
}
|
||||
|
||||
//! Arachne single claim
|
||||
//! Arachne single claim test
|
||||
int
|
||||
arachneClaim (Claimlist cl)
|
||||
arachneClaimTest (Claimlist cl)
|
||||
{
|
||||
// Skip the dummy claims
|
||||
if (!isTermEqual (cl->type, CLAIM_Empty))
|
||||
{
|
||||
// Some claims are always true!
|
||||
if (!cl->alwaystrue)
|
||||
{
|
||||
// others we simply test...
|
||||
int run;
|
||||
int newruns;
|
||||
@ -2312,8 +2306,7 @@ arachneClaim (Claimlist cl)
|
||||
*/
|
||||
add_claim_specifics (sys, cl,
|
||||
roledef_shift (sys->runs[run].
|
||||
start, cl->ev),
|
||||
realStart);
|
||||
start, cl->ev), realStart);
|
||||
}
|
||||
|
||||
|
||||
@ -2341,8 +2334,7 @@ arachneClaim (Claimlist cl)
|
||||
}
|
||||
if (sys->maxruns != 0)
|
||||
{
|
||||
error ("%i undestroyed runs left after claim test.",
|
||||
sys->maxruns);
|
||||
error ("%i undestroyed runs left after claim test.", sys->maxruns);
|
||||
}
|
||||
if (newruns != 0)
|
||||
{
|
||||
@ -2358,6 +2350,20 @@ arachneClaim (Claimlist cl)
|
||||
indentPrint ();
|
||||
eprintf ("Proof complete for this claim.\n");
|
||||
}
|
||||
}
|
||||
|
||||
//! Arachne single claim inspection
|
||||
int
|
||||
arachneClaim (Claimlist cl)
|
||||
{
|
||||
// Skip the dummy claims
|
||||
if (!isTermEqual (cl->type, CLAIM_Empty))
|
||||
{
|
||||
// Some claims are always true!
|
||||
if (!cl->alwaystrue)
|
||||
{
|
||||
// others we simply test...
|
||||
arachneClaimTest (cl);
|
||||
}
|
||||
claimStatusReport (sys, cl);
|
||||
if (switches.xml)
|
||||
|
Loading…
Reference in New Issue
Block a user