- Added a switch to number the limit of intruder actions.

Initial testing suggests it does not influence the number of states
  much for values of 2 and higher.
This commit is contained in:
ccremers
2005-08-21 21:38:32 +00:00
parent c330a5b719
commit e104dddbfb
3 changed files with 57 additions and 0 deletions

View File

@@ -65,6 +65,7 @@ switchesInit (int argc, char **argv)
// Arachne
switches.arachneSelector = 3; // default goal selection method
switches.maxIntruderActions = INT_MAX; // max number of encrypt/decrypt events
// Misc
switches.switchP = 0; // multi-purpose parameter
@@ -543,6 +544,19 @@ switcher (const int process, int index)
}
}
if (detect (' ', "intruder-actions", 1))
{
if (!process)
{
/* fairly technical, untested pruning */
}
else
{
switches.maxIntruderActions = integer_argument ();
return index;
}
}
/* ==================
* External options
*/