- Added '--extravert' switch, which avoids initiator Alice to talk to

Alice.
This commit is contained in:
ccremers
2005-11-29 09:15:16 +00:00
parent 8b736ede0e
commit 6543a8f659
3 changed files with 62 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ switchesInit (int argc, char **argv)
switches.maxIntruderActions = INT_MAX; // max number of encrypt/decrypt events
switches.agentTypecheck = 1; // default do check agent types
switches.concrete = true; // default removes symbols, and makes traces concrete
switches.extravert = false; // default allows also initiator Alice to talk to Alice
// Misc
switches.switchP = 0; // multi-purpose parameter
@@ -560,6 +561,22 @@ switcher (const int process, int index)
}
}
if (detect (' ', "extravert", 0))
{
if (!process)
{
/* discourage: hide
*
* Finds only attacks which exclude initiator Alice talking to Alice
*/
}
else
{
switches.extravert = true;
return index;
}
}
if (detect (' ', "extend-trivial", 0))
{
if (!process)