Skip to content

Commit aa660d6

Browse files
committed
[examples] a few adaptions to the examples
1 parent df0fec6 commit aa660d6

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
example.name = ArrayList
2+
example.path = Information Flow/Ghost State
3+
example.additionalFile1 = src/ArrayList.java
4+
5+
A collection of examples for modelling dependencies / secure information flow using ghost state.
6+
7+
ArrayList: A variation of the ArrayList class from the "list" example, where the proof obligations for the dependency contracts have been encoded into ghost state and method contracts. These method contract proof obligations should be verifiable without direct user interaction. The regular dependency proof obligations are meaningless here.
8+
9+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
1+
\settings {
2+
"#Proof-Settings-Config-File
3+
#Mon Aug 03 16:58:18 CEST 2009
4+
[StrategyProperty]STOPMODE_OPTIONS_KEY=STOPMODE_DEFAULT
5+
[StrategyProperty]METHOD_OPTIONS_KEY=METHOD_EXPAND
6+
[StrategyProperty]DEP_OPTIONS_KEY=DEP_OFF
7+
[StrategyProperty]QUERY_NEW_OPTIONS_KEY=QUERY_OFF
8+
[StrategyProperty]USER_TACLETS_OPTIONS_KEY3=USER_TACLETS_OFF
9+
[StrategyProperty]LOOP_OPTIONS_KEY=LOOP_INVARIANT
10+
[StrategyProperty]USER_TACLETS_OPTIONS_KEY2=USER_TACLETS_OFF
11+
[StrategyProperty]USER_TACLETS_OPTIONS_KEY1=USER_TACLETS_OFF
12+
[StrategyProperty]QUANTIFIERS_OPTIONS_KEY=QUANTIFIERS_NON_SPLITTING_WITH_PROGS
13+
[StrategyProperty]NON_LIN_ARITH_OPTIONS_KEY=NON_LIN_ARITH_DEF_OPS
14+
[DecisionProcedure]Timeout=60
15+
[View]ShowWholeTaclet=false
16+
[View]MaxTooltipLines=40
17+
[General]DnDDirectionSensitive=true
18+
[General]StupidMode=true
19+
[General]OneStepSimplification=true
20+
[Strategy]Timeout=-1
21+
[Strategy]MaximumNumberOfAutomaticApplications=10000
22+
[Choice]DefaultChoices=assertions-assertions\:on, intRules-intRules\:arithmeticSemanticsIgnoringOF,initialisation-initialisation\:disableStaticInitialisation,programRules-programRules\:Java,runtimeExceptions-runtimeExceptions\:ban,JavaCard-JavaCard\\:on , Strings-Strings\\:on , modelFields-modelFields\\:showSatisfiability , bigint-bigint\\:on , sequences-sequences\\:on , reach-reach\\:on , integerSimplificationRules-integerSimplificationRules\\:full , optimisedSelectRules-optimisedSelectRules\\:on , wdOperator-wdOperator\\:L , wdChecks-wdChecks\\:off
23+
[DecisionProcedure]ActiveRule=_noname_
24+
[General]UseJML=true
25+
[View]HideClosedSubtrees=false
26+
[View]HideIntermediateProofsteps=false
27+
[Strategy]ActiveStrategy=JavaCardDLStrategy
28+
[StrategyProperty]SPLITTING_OPTIONS_KEY=SPLITTING_DELAYED
29+
"
30+
}
31+
132
\javaSource ".";
233

334
\chooseContract

examples/index/samplesIndex.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ heap/fm12_01_LRS/README.txt
4040
heap/permutedSum/README.txt
4141

4242
heap/vacid0_01_SparseArray/README.txt
43-
heap/vacid0_05_RedBlackTrees/README.txt
43+
# Red-Black-Trees cannot be parsed currently
44+
# heap/vacid0_05_RedBlackTrees/README.txt
4445
heap/WeideEtAl_01_AddAndMultiply/README.txt
4546
heap/WeideEtAl_02_BinarySearch/README.txt
4647

0 commit comments

Comments
 (0)