Skip to content

Commit

Permalink
Added source references and copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeilers committed May 18, 2021
1 parent 0e7543c commit 053fc64
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/sif-poss/verification/examples/cav2021-fig9.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

from nagini_contracts.contracts import *
from nagini_contracts.lock import Lock
from nagini_contracts.obligations import Level, WaitLevel
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

"""
Example adapted from "Principles of Secure Information Flow Analysis"
G. Smith
Malware Detection, 2007
"""

from nagini_contracts.contracts import *
from nagini_contracts.lock import Lock
from nagini_contracts.obligations import WaitLevel, Level, MustRelease
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

from nagini_contracts.contracts import *
from nagini_contracts.lock import Lock

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

"""
Example adapted from "SecCSL: Security Concurrent Separation Logic"
G. Ernst and T. Murray
CAV 2019
https://bitbucket.org/covern/secc/src/master/examples/case-studies/
"""

from nagini_contracts.contracts import *
from nagini_contracts.lock import Lock

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

"""
Example adapted from https://bitbucket.org/covern/secc/src/master/examples/case-studies/
"""

#:: IgnoreFile(carbon)(107)

from nagini_contracts.adt import ADT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

"""
Example adapted from https://bitbucket.org/covern/secc/src/master/examples/case-studies/
"""

from nagini_contracts.contracts import *
from typing import List

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

"""
Example adapted from https://bitbucket.org/covern/secc/src/master/examples/case-studies/
"""

from nagini_contracts.contracts import *
from typing import List, Tuple

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Any copyright is dedicated to the Public Domain.
# http://creativecommons.org/publicdomain/zero/1.0/

"""
Example adapted from https://bitbucket.org/covern/secc/src/master/examples/case-studies/
"""

from nagini_contracts.contracts import *
from typing import List

Expand Down

0 comments on commit 053fc64

Please sign in to comment.