Ejemplo n.º 1
0
 def __init__(self, parent, policy, perm_map):
     super(InfoFlowAnalysisTab, self).__init__(parent)
     self.log = logging.getLogger(__name__)
     self.policy = policy
     self.query = InfoFlowAnalysis(policy, perm_map)
     self.query.source = None
     self.query.target = None
     self.setupUi()
Ejemplo n.º 2
0
 def setUpClass(cls):
     cls.p = SELinuxPolicy("tests/infoflow.conf")
     cls.m = PermissionMap("tests/perm_map")
     cls.a = InfoFlowAnalysis(cls.p, cls.m)
Ejemplo n.º 3
0
 def setUpClass(cls):
     cls.p = compile_policy("tests/conditionalinfoflow.conf", mls=False)
     cls.m = PermissionMap("tests/perm_map")
     cls.a = InfoFlowAnalysis(cls.p, cls.m)
Ejemplo n.º 4
0
 def __init__(self, parent, policy, perm_map):
     super(InfoFlowAnalysisTab, self).__init__(parent)
     self.log = logging.getLogger(self.__class__.__name__)
     self.policy = policy
     self.query = InfoFlowAnalysis(policy, perm_map)
     self.setupUi()