Esempio n. 1
0
        public void BuildProgramTest()
        {
            // WaitForDebugger();
            var program = ScalpelProgram.FromKernelFiles("test.ask");

            Assert.Pass();
        }
Esempio n. 2
0
        public void CycleProgramTest()
        {
            WaitForDebugger();
            var program = ScalpelProgram.FromKernelFiles("test.ask");
            var packet  = Packet.Parse(
                LinkLayer.Ethernet,
                EthernetTestPacket);
            var tcp_flags = (packet.Payload.Payload as TCPPacket).Flags;
            var output    = program.Cycle(packet);

            Assert.Pass();
        }