scyther/src
Cas Cremers b0e5128e23 Attack output improvement: better choice of agent names.
When an attack pattern is displayed, Scyther instantiates open variables with concrete names.
This is often more intuitive for humans.

In the case of instantiating role names, we often ended up assigning Alice to the B role and
Bob to the A role. This patch provides a more clever heuristic to find agent names
that start with the same letter as the role (variable) name. In case this fails, we
still try to map Alice to roles starting with 'I' and Bob to 'R', and otherwise we just pick something.

Also added "Simon" and "Pete" to cover some common role names.

Conflicts:
	src/arachne.c
2014-06-30 17:06:23 +01:00
..
regression-tests Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
.gitignore Added GPL 2 License to the C sources. 2007-06-11 14:01:04 +02:00
arachne.c Attack output improvement: better choice of agent names. 2014-06-30 17:06:23 +01:00
arachne.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
binding.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
binding.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
bool.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
build-brutus.sh Started script to describe version. 2012-06-12 23:12:14 +02:00
build-debug.sh Started script to describe version. 2012-06-12 23:12:14 +02:00
build.sh Dropped Mac PPC support for now; only Intel binaries will be available. 2012-11-22 14:35:28 +01:00
BuildMacIntel.cmake BUILD: Added flag for Mac builds to enable building on 10.8 but allow also execution on 10.6 and 10.7. 2012-11-23 09:25:27 +01:00
BuildPlatform.cmake Dropped Mac PPC support for now; only Intel binaries will be available. 2012-11-22 14:35:28 +01:00
BuildUnix-Win32.cmake Bugfix: compilation was not working on recent 64-bit Ubuntu versions. 2014-02-18 10:53:24 +00:00
BuildUnix.cmake Bugfix: compilation was not working on recent 64-bit Ubuntu versions. 2014-02-18 10:53:24 +00:00
claim.c Cleanup: Removing unused variables. 2014-04-15 22:12:12 +01:00
claim.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
CMakeLists.txt Added commented-out code to use llvm as a compiler instead of gcc when needed. 2010-11-11 00:02:36 +01:00
color.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
color.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
compile.txt Bugfix: compilation was not working on recent 64-bit Ubuntu versions. 2014-02-18 10:53:24 +00:00
compiler.c Cleanup: added missing header files. 2014-03-18 13:53:51 +00:00
compiler.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
cost.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
cost.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
debug.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
debug.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
depend.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
depend.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
describe-version.py Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
dotout.c Cleanup: removing unused variables. 2014-03-18 13:53:33 +00:00
dotout.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
error.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
error.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
find-unused-functions.py Created a small program that can find unused functions. 2008-08-21 16:56:12 +02:00
FindBISON.cmake - Some fixes for GUI by hiding variables. 2007-01-07 17:32:15 +00:00
FindFLEX.cmake - Some fixes for GUI by hiding variables. 2007-01-07 17:32:15 +00:00
GetOS.cmake - Last few improvements for build scripts. 2007-01-09 09:47:06 +00:00
GNU-General-Public-License.txt Added GPL 2 License to the C sources. 2007-06-11 14:01:04 +02:00
heuristic.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
heuristic.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
hidelevel.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
hidelevel.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
intruderknowledge.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
intruderknowledge.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
knowledge.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
knowledge.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
label.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
label.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
list.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
list.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
main.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
mgu.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
mgu.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
mymalloc.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
ns3.spdl Added support for macro definitions. 2012-11-22 12:30:00 +01:00
parser.y Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
pheading.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
prune_bounds.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
prune_bounds.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
prune_theorems.c BUGFIX: --one-role-per-agent switch had a bug that made it cut too many patterns. 2014-06-20 17:30:13 +01:00
prune_theorems.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
reindent.sh Better reindent script (from newCompromise branch) 2010-11-10 23:55:21 +01:00
role.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
role.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
scanner.l Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
ScannerParser.cmake - Fixed scanner problem (I forgot the interaction between flex and bison) 2007-01-09 15:22:34 +00:00
scantags.py - Removed more dead code, improved scantags.py 2007-01-27 11:07:45 +00:00
specialterm.c Attack output improvement: better choice of agent names. 2014-06-30 17:06:23 +01:00
specialterm.h Attack output improvement: better choice of agent names. 2014-06-30 17:06:23 +01:00
states.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
states.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
subbuild-mac-intel.sh Dropped Mac PPC support for now; only Intel binaries will be available. 2012-11-22 14:35:28 +01:00
subbuild-unix-both.sh New refactoring of build system for linux, should be clearer. 2012-06-12 23:12:14 +02:00
subbuild-unix-unix.sh New refactoring of build system for linux, should be clearer. 2012-06-12 23:12:14 +02:00
subbuild-unix-w32.sh New refactoring of build system for linux, should be clearer. 2012-06-12 23:12:14 +02:00
switches.c Rewriting option parser wrapper to ensure memory is not lost. 2014-06-10 14:37:40 +01:00
switches.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
symbol.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
symbol.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
system.c Cleanup: Removing unused variables. 2014-04-15 22:12:12 +01:00
system.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
tac.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
tac.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
tempfile.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
tempfile.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
term.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
term.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
termlist.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
termlist.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
termmap.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
termmap.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
timer.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
timer.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
type.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
type.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
warshall.c Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
warshall.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00
xmlout.c Cleanup: Refactoring XML output code to facilitate introduction of protocol xml output. 2014-04-15 22:12:43 +01:00
xmlout.h Updating time stamps for next release. 2013-10-05 23:56:12 +01:00