Exemple #1
0
        private void ReConstruct()         //Andrew
        {
            mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION);
            GraphProcessor     processor = new GraphProcessor();
            BasicBlocksBuilder builder   = new BasicBlocksBuilder(processor);

            entry = builder.createBasicBlock();
            builder.AddTask(mbb, entry);
            processor.Process();
            blockList = builder.BlockList;
        }
Exemple #2
0
        public BasicBlocksGraph(MethodBodyBlock methodBodyBlock)
        {
            mbb = methodBodyBlock;
            mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION);
            GraphProcessor     processor = new GraphProcessor();
            BasicBlocksBuilder builder   = new BasicBlocksBuilder(processor);

            entry = builder.createBasicBlock();
            builder.AddTask(methodBodyBlock, entry);
            processor.Process();
            blockList = builder.BlockList;
        }
Exemple #3
0
        //Andrew
        private void ReConstruct()
        {
            mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION);
            GraphProcessor processor = new GraphProcessor();
            BasicBlocksBuilder builder = new BasicBlocksBuilder(processor);

            entry = builder.createBasicBlock();
            builder.AddTask(mbb,entry);
            processor.Process();
            blockList = builder.BlockList;
        }
Exemple #4
0
        public BasicBlocksGraph(MethodBodyBlock methodBodyBlock)
        {
            mbb = methodBodyBlock;
            mbb.RemoveOption(BasicBlock.BASIC_BLOCK_OPTION);
            GraphProcessor processor = new GraphProcessor();
            BasicBlocksBuilder builder = new BasicBlocksBuilder(processor);

            entry = builder.createBasicBlock();
            builder.AddTask(methodBodyBlock,entry);
            processor.Process();
            blockList = builder.BlockList;
        }