3 �^� � @ sV d dl mZ ddlmZ ddlmZ ddlmZmZ edddg�Z G d d � d e�Z dS )� )� namedtuple� )�ContextWrapper)�DiffResultDescriptor)� Difference� SymbolWrapperZmodified_initsidZ added_contextZremoved_contextc @ s8 e Zd ZdZed�Zed�Zed�Zdd� Zdd� Z dS )�InitialSIDsDifferencez:Determine the difference in initsids between two policies.�diff_initialsidsc C s� | j jdj| �� | jdd� | jj� D �dd� | jj� D ��\| _| _}t � | _ x8|D ]0\}}t|j�t|j�krVt |j|j�| j |<