mirror of
https://github.com/yugr/Implib.so
synced 2026-06-08 18:33:41 +00:00
Minor Promela updates.
This commit is contained in:
+5
-3
@@ -257,12 +257,14 @@ never {
|
||||
od
|
||||
}
|
||||
|
||||
// NoLibResets(TLA): Library never UN-loaded
|
||||
ltl NoLibResets {
|
||||
ltl Prop {
|
||||
[](
|
||||
// NoLibResets(TLA): Library never UN-loaded
|
||||
// FIXME: use X when Debian/Ubuntu support it
|
||||
// (https://github.com/thomaslee/spin-debian/commit/8b2c6e3881d9b1b70a53b46ca5f637b6d57eb385)
|
||||
(lib_state == LOADING -> [](lib_state == LOADING || lib_state == LOADED))
|
||||
&& (lib_state == LOADED -> [](lib_state == LOADED))
|
||||
)
|
||||
}
|
||||
|
||||
// TODO: forall predicates (LoadBeforeUse2, NoShimResets)
|
||||
// TODO: quantified predicates (LoadBeforeUse2, NoShimResets)
|
||||
|
||||
+1
-1
@@ -6,6 +6,6 @@ set -x
|
||||
rm -rf states
|
||||
java -jar ~/Downloads/tla2tools.jar -workers `nproc` -coverage 0 Init.tla
|
||||
|
||||
for inv in never_0 NoLibResets; do
|
||||
for inv in never_0 Prop; do
|
||||
spin -run -ltl $inv Init.pml
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user