Cas Cremers
d25445538e
Removed another nested function that didn't yield a trampoline warning.
2019-01-04 14:41:29 +01:00
Cas Cremers
16c149e6a2
Removing two last nested functions.
...
I missed these before since they didn't seem to generate trampolines.
2019-01-04 14:15:38 +01:00
Cas Cremers
0b524e6ef8
Removing another fake nested function.
2018-12-24 16:06:36 +01:00
Cas Cremers
c28f79296f
Removing another fake nested function.
2018-12-24 16:05:33 +01:00
Cas Cremers
9a336ce2eb
Removed another fake nested function.
2018-12-24 15:57:45 +01:00
Cas Cremers
dc8c37aa59
Removing another fake nested function.
2018-12-24 15:56:38 +01:00
Cas Cremers
15a5334df8
Removed last trampoline.
2018-12-24 14:53:20 +01:00
Cas Cremers
602d9dc32e
Adapting subtermUnify to have state.
2018-12-24 14:29:02 +01:00
Cas Cremers
c256afc7ca
Complex multiple interacting trampolines removal.
2018-11-05 14:43:00 +01:00
Cas Cremers
596d5dc528
Minor cleanup.
2018-10-22 03:07:59 +02:00
Cas Cremers
b6f4fcbb7a
Removed a slightly more complex trampoline by making a stateful iterator.
2018-10-22 00:17:53 +02:00
Cas Cremers
4748d2f4d2
Introduced state in iterate_role_sends.
...
Initial tests look good; this version doesn't use the state yet, but just passes it on.
2018-10-22 00:17:53 +02:00
Cas Cremers
1c3e32a2da
Refactoring.
2018-10-19 21:28:22 -04:00
Cas Cremers
178c20a61c
Refactoring code.
2018-10-19 20:27:35 -04:00
Cas Cremers
024a76a32b
Minor refactoring.
2018-10-19 20:17:50 -04:00
Cas Cremers
0d9c23c33b
Reindent code for consistency.
2018-10-15 09:40:07 -04:00
Cas Cremers
7956eb5953
Removed a simple nested function.
2018-10-14 17:43:13 +02:00
Cas Cremers
6374683d17
Visualisation improvement: role variables get priority in assigning concrete values.
...
Previously, if a local (non-role) variable would have (implicit) agent type,
it would be assigned a concrete term before the roles. This would lead to
non-optimal choices, since we care more about the role instantiations than about other variables.
However, when making traces concrete, we use the run's 'locals' list. Because of
the way this is constructed (in reverse), non-role variables precede the role variables.
We therefore choose to traverse the list in reverse.
2014-07-06 21:31:20 +01:00
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
Cas Cremers
4fa48239a5
Cleanup: added missing header files.
2014-03-18 13:53:51 +00:00
Cas Cremers
d06247fcfe
Updating time stamps for next release.
2013-10-05 23:56:12 +01:00
Cas Cremers
45d5cb0a3a
Cleanup: Cleanup of some spacing, conform coding conventions.
...
This is simply the result from running reindent.sh again.
2013-06-19 23:03:26 +02:00
Cas Cremers
7658644295
Rati Gelashvili reported a rare but annoying bug in the hash function handling.
...
The fix requires a significant reworking of the function handling. This
is a first attempt.
Conflicts:
src/knowledge.c
src/knowledge.h
Regression test suggests that the Hashfunction fix works.
2013-04-26 14:47:27 +02:00
Cas Cremers
1bbd2f1ab7
Introduced markers in proof output for consistency with book description.
2012-10-02 13:43:30 +02:00
Cas Cremers
2242a5fcbd
Fixing read->recv conventions.
2012-04-25 09:53:07 +02:00
Cas Cremers
1cbe9826ac
Updated dates.
2012-04-24 13:56:51 +02:00
Cas Cremers
6afcfe1d10
NEW: Added SID & SKR dummy claims.
...
This allows for input file reuse among branches (i.e. compromise).
2011-01-04 15:50:25 +01:00
Cas Cremers
fcf694dbd9
CLEANUP: Reindenting code.
2010-11-11 00:09:16 +01:00
Cas Cremers
739f59174f
Removed unused functions.
2008-08-21 16:58:12 +02:00
Cas Cremers
2107d76532
Proof output improved for occurrences of the Athena problem.
2007-09-18 15:36:11 +02:00
Cas Cremers
a93b555b1a
Added cast to solve long-standing compilation warning.
...
Note that the cast does not seem to be needed after manual inspection, but
the compiler insists.
2007-09-17 16:53:37 +02:00
Cas Cremers
7d584cca1e
Added GPL 2 License to the C sources.
...
A first step towards releasing Scyther completely to the public.
2007-06-11 14:01:04 +02:00
Cas Cremers
1542d65def
- Big catchup commit to make sure we are up to beta7.
...
This includes a number of single patches, ranging from the vista fix with the buffers, to the start of many new minor features.
2007-05-18 14:06:29 +02:00
ccremers
16291579e7
- Fixed malloc problem.
2007-01-09 14:47:33 +00:00
ccremers
89c3a20acf
- Many cleanups to make -Wall happy. Next up is pedantic...
2007-01-06 14:45:29 +00:00
ccremers
8d66dc48fd
- Fixed intruder generated value displays.
2006-12-05 10:10:17 +00:00
ccremers
31f1753e4e
- Added malloc wrappers for OSX builds.
2006-09-12 16:17:49 +00:00
ccremers
341bbfeb0c
- Minor refactoring.
2006-08-08 14:50:28 +00:00
ccremers
ec3be3d55b
- Implemented --claim=ns3,I switch to filter certain claims.
2006-08-08 12:30:29 +00:00
ccremers
5e10206df1
- Added encapsulated dot output and claim reporting to the XML output.
2006-08-01 07:31:40 +00:00
ccremers
9a98e66671
- Claim status is now reported after each claim.
2006-08-01 06:10:12 +00:00
ccremers
92a98a85cc
- Single claim check branched.
2006-08-01 06:04:01 +00:00
ccremers
f31b5bfe9c
- Started rewrite of main algorithm, by removing dynamic addition of M_0
...
nodes, and simply restricting it to a single M_0 send node.
2006-07-09 15:08:42 +00:00
ccremers
a8dee79504
- Added support for different attack heuristics. Disable with --prune=2.
2006-07-06 15:52:13 +00:00
ccremers
d2058d937b
- Revised cost heuristic. Trace length is no longer the real
...
optimization.
2006-04-02 12:29:02 +00:00
ccremers
52708d09b4
- MakeTraceConcrete now yields nicer choices, e.g. "Agent1" or "Nonce2".
2006-04-02 11:56:22 +00:00
ccremers
8c03bba02a
- Fixed a bug in output overwrite for de-class code.
2006-03-31 12:24:32 +00:00
ccremers
881eccd6be
- Fixed --disable-intruder: it now also uses no tupling shortcuts.
2006-03-19 12:59:26 +00:00
ccremers
5624f7e7b6
- Added some comments.
2006-03-15 08:56:23 +00:00
ccremers
25244c5b23
- Fixed bug in new tuple expansion code (again, caused by the intricate
...
"realX" versus "isX" distinction.)
- Added structures for rho, sigma, constants, but did not activate them
yet.
2006-03-15 08:51:08 +00:00