Пример #1
0
 public CFGNode(int id, Instruction footer, Instruction header, ControlFlowBlockType type, uint iLOffset, bool solverCall)
 {
     Id       = id;
     Footer   = footer;
     Header   = header;
     Type     = type;
     ILOffset = iLOffset;
     Shape    = (solverCall) ? NodeShape.Ellipse : NodeShape.Rectangle;
 }
Пример #2
0
        internal ControlFlowBlock(int id, ControlFlowBlockType type, Instruction header, Instruction footer)
        {
            Id     = id;
            Type   = type;
            Header = header;
            Footer = footer;

            Sources = new List <ControlFlowBlock>();
            Targets = new List <ControlFlowBlock>();
        }