summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-08-01 11:10:01 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-08-01 11:10:01 +0200
commit4637db06583bc250b96e6145fc7bac9e16c730df (patch)
treed787feebae44e7bfd526e8391e1999376a4f0185 /instr-to-kodkod/src/StringManager.java
parent798dea30c7832f8c6364d1734423c6a6fda1ce57 (diff)
Fixes is_accessed_by. CNE_01700 is not working.
The BCE has been updated to include a group of items that should be tagged by the CNE_01700 rule. However, it's not happening. I don't see anything wrong with the way the CNE_01700 rule is written and a quick overview of the generated model would lead me to conclude that it indeed should tag something. Likely there are still issues with the way properties are turned into Kodkod formulas.
Diffstat (limited to 'instr-to-kodkod/src/StringManager.java')
-rw-r--r--instr-to-kodkod/src/StringManager.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/instr-to-kodkod/src/StringManager.java b/instr-to-kodkod/src/StringManager.java
index 9d73dd6..e94a7af 100644
--- a/instr-to-kodkod/src/StringManager.java
+++ b/instr-to-kodkod/src/StringManager.java
@@ -75,6 +75,15 @@ public class StringManager
{
if (p.matcher(c.getKey()).matches())
{
+ System.out.println
+ (
+ "[D] \""
+ + c.getValue()
+ + "\" matches pattern \""
+ + p.pattern()
+ + "\"."
+ );
+
rp.add_member
(
new String[]