public abstract class JifDowngradeStmtExt extends JifStmtExt_c
DeclassifyStmt node.DeclassifyStmt,
Serialized FormstmtDel| Constructor and Description |
|---|
JifDowngradeStmtExt(ToJavaExt toJava) |
| Modifier and Type | Method and Description |
|---|---|
protected JifContext |
bodyContext(LabelChecker lc,
JifContext A,
Label downgradeFrom,
Label downgradeTo) |
protected void |
checkAdditionalConstraints(LabelChecker lc,
JifContext A,
Label labelFrom,
Label labelTo,
polyglot.util.Position pos)
Check any additional constraints
|
protected abstract void |
checkAuthority(LabelChecker lc,
JifContext A,
Label labelFrom,
Label labelTo,
polyglot.util.Position pos)
Check the authority condition
|
protected polyglot.ast.Stmt |
checkBody(LabelChecker lc,
JifContext A,
Label downgradeFrom,
Label downgradeTo) |
protected abstract void |
checkOneDimenOnly(LabelChecker lc,
JifContext A,
Label labelFrom,
Label labelTo,
polyglot.util.Position pos)
Check that only the integrity/confidentiality is downgraded, and not
the other dimension.
|
protected void |
checkPCconstraint(LabelChecker lc,
JifContext A,
Label pc,
Label downgradeFrom,
boolean boundSpecified) |
protected abstract void |
checkRobustness(LabelChecker lc,
JifContext A,
Label labelFrom,
Label labelTo,
polyglot.util.Position pos)
Check the robustness condition
|
protected JifContext |
declassifyConstraintContext(JifContext A)
TODO: document me!
|
protected PathMap |
initPathMap(LabelChecker lc)
TODO: document me!
|
polyglot.ast.Node |
labelCheckStmt(LabelChecker lc) |
copy, init, labelCheck, stmtDel, stmtDelcheckAndRemoveThrowType, checkThrowTypes, dump, getPathMap, integerBoundsCalculated, toJava, toJava, updatePathMap, X, XaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, ext, ext, extRewrite, extRewriteEnter, extRewriteOverride, initPred, lang, node, pred, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, print, printBlock, printSubStmt, superLang, throwTypes, toString, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDecls, buildTypes, buildTypesEnter, checkConstants, childExpectedType, copy, copy, disambiguate, disambiguateEnter, disambiguateOverride, dump, dump, dump, dump, enterChildScope, enterScope, exceptionCheck, exceptionCheckEnter, extRewrite, extRewriteEnter, extRewriteOverride, lang, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, throwTypes, translate, typeCheck, typeCheckEnter, typeCheckOverride, visitChild, visitChildren, visitListpublic JifDowngradeStmtExt(ToJavaExt toJava)
protected JifContext declassifyConstraintContext(JifContext A) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionpublic final polyglot.ast.Node labelCheckStmt(LabelChecker lc) throws polyglot.types.SemanticException
labelCheckStmt in interface JifStmtExtlabelCheckStmt in class JifStmtExt_cpolyglot.types.SemanticExceptionprotected void checkPCconstraint(LabelChecker lc, JifContext A, Label pc, Label downgradeFrom, boolean boundSpecified) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionprotected polyglot.ast.Stmt checkBody(LabelChecker lc, JifContext A, Label downgradeFrom, Label downgradeTo) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionprotected JifContext bodyContext(LabelChecker lc, JifContext A, Label downgradeFrom, Label downgradeTo)
protected PathMap initPathMap(LabelChecker lc) throws polyglot.types.SemanticException
polyglot.types.SemanticExceptionprotected abstract void checkOneDimenOnly(LabelChecker lc, JifContext A, Label labelFrom, Label labelTo, polyglot.util.Position pos) throws polyglot.types.SemanticException
lc - labelFrom - labelTo - polyglot.types.SemanticExceptionprotected abstract void checkAuthority(LabelChecker lc, JifContext A, Label labelFrom, Label labelTo, polyglot.util.Position pos) throws polyglot.types.SemanticException
lc - labelFrom - labelTo - polyglot.types.SemanticExceptionprotected abstract void checkRobustness(LabelChecker lc, JifContext A, Label labelFrom, Label labelTo, polyglot.util.Position pos) throws polyglot.types.SemanticException
lc - labelFrom - labelTo - polyglot.types.SemanticExceptionprotected void checkAdditionalConstraints(LabelChecker lc, JifContext A, Label labelFrom, Label labelTo, polyglot.util.Position pos) throws polyglot.types.SemanticException
lc - labelFrom - labelTo - polyglot.types.SemanticException