Secure calling contexts for stack inspection
Frédéric Besson, Thomas de Grenier de Latour, Thomas Wiben Jensen · ACM SIGPLAN International Conference on Principles and Practice of Declarative Programming (PPDP) · 2002
Stack inspection is a mechanism for programming secure applications by which a method can obtain information from the call stack about the code that (directly or indirectly) invoked it. This mechanism plays a fundamental role in the security architecture of Java and the .NET Common Language Runtime. A central problem with stack inspection is to determine to what extent the local checks inserted into the code are sufficient to guarantee that a global security property is enforced. In this paper, we present a technique for inferring a secure calling context for a method. By a secure calling context we mean a pre-condition on the call stack sufficient for guaranteeing that execution of the method will not violate a given global property. This is particularly useful for annotating library code in order to avoid having to re-analyse libraries for every new application. The technique is a constraint based static program analysis implemented via fixed point iteration over an abstract domain of linear temporal logic properties.
Cited by 25 works. doi:10.1145/571157.571166
Authors
References
- Abstract interpretation
- Handbook of theoretical computer science
- Temporal and Modal Logic
- Principles of Program Analysis
- Enforceable security policies
- Fast static analysis of C++ virtual function calls
- Going beyond the sandbox: an overview of the new security architecture in the java TM development Kit 1.2
- An automata-theoretic approach to linear temporal logic
- Verification of control flow based security properties
- SASI enforcement of security policies