- From this version onwards, Scyther no longer supports the modelchecker

method. A big cleanup has been started, but is not finished yet, so
  minor artefacts might still remain. These are to be cleaned up later.
This commit is contained in:
ccremers
2006-03-08 13:58:46 +00:00
parent 2830c8e8ff
commit 5487d3ae90
46 changed files with 127 additions and 5525 deletions

View File

@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <limits.h>
#include <float.h>
#include <string.h>
#ifdef DEBUG
#include <malloc.h>
#endif
@@ -23,7 +24,6 @@
#include "states.h"
#include "mgu.h"
#include "arachne.h"
#include "memory.h"
#include "error.h"
#include "claim.h"
#include "debug.h"
@@ -167,11 +167,8 @@ indentPrefixPrint (const int annotate, const int jumps)
{
void counterPrint ()
{
if (switches.engine == ARACHNE_ENGINE)
{
statesFormat (sys->current_claim->states);
eprintf ("\t");
}
statesFormat (sys->current_claim->states);
eprintf ("\t");
eprintf ("%i", annotate);
eprintf ("\t");
}
@@ -1770,7 +1767,7 @@ createNewTermGeneric (Termlist tl, Term t)
}
/* Make a new term with the free number */
newterm = (Term) memAlloc (sizeof (struct term));
newterm = (Term) malloc (sizeof (struct term));
memcpy (newterm, t, sizeof (struct term));
TermRunid (newterm) = freenumber;
@@ -1839,7 +1836,7 @@ deleteNewTerm (Term t)
/* if it has a positive runid, it did not come from the intruder
* knowledge, so it must have been constructed.
*/
memFree (t, sizeof (struct term));
free (t);
}
}