Exemple #1
0
		public BasicAnalysisDriver (IMetaDataProvider metaDataProvider,
		                            IContractProvider contractProvider)
		{
			SubroutineFacade = new SubroutineFacade (metaDataProvider, contractProvider);
			this.meta_data_provider = metaDataProvider;
			this.contract_provider = contractProvider;
		}
Exemple #2
0
 public SimpleSubroutineBuilder(ICodeProvider <Label> codeProvider,
                                SubroutineFacade subroutineFacade,
                                Label entry)
     : base(codeProvider, subroutineFacade, entry)
 {
     Initialize(entry);
 }
 public BasicAnalysisDriver(IMetaDataProvider metaDataProvider,
                            IContractProvider contractProvider)
 {
     SubroutineFacade        = new SubroutineFacade(metaDataProvider, contractProvider);
     this.meta_data_provider = metaDataProvider;
     this.contract_provider  = contractProvider;
 }
Exemple #4
0
 public APCDecoder(ControlFlowGraph underlyingCFG,
                   IMetaDataProvider metaDataProvider,
                   SubroutineFacade subroutineFacade)
 {
     this.cfg = underlyingCFG;
     this.meta_data_provider = metaDataProvider;
     this.subroutine_facade  = subroutineFacade;
 }
Exemple #5
0
 protected SubroutineBuilder(ICodeProvider <Label> codeProvider,
                             SubroutineFacade subroutineFacade,
                             Label entry)
 {
     this.SubroutineFacade = subroutineFacade;
     CodeProvider          = codeProvider;
     AddTargetLabel(entry);
 }
Exemple #6
0
 public SubroutineWithHandlersBuilder(IMethodCodeProvider <Label, Handler> codeProvider,
                                      SubroutineFacade subroutineFacade,
                                      Method method,
                                      Label entry)
     : base(codeProvider, subroutineFacade, entry)
 {
     this.method = method;
     ComputeTryBlockStartAndEndInfo(this.method);
     Initialize(entry);
 }
Exemple #7
0
 public ControlFlowGraph (Subroutine subroutine, SubroutineFacade methodRepository)
 {
         this.method_subroutine = subroutine;
         this.method_repository = methodRepository;
 }
Exemple #8
0
 public EnsuresFactory(SubroutineFacade subroutineFacade) : base(subroutineFacade)
 {
 }
Exemple #9
0
 protected SubroutineFactory(SubroutineFacade subroutineFacade)
 {
     this.SubroutineFacade = subroutineFacade;
 }
Exemple #10
0
 public ControlFlowGraph(Subroutine subroutine, SubroutineFacade methodRepository)
 {
     this.method_subroutine = subroutine;
     this.method_repository = methodRepository;
 }
Exemple #11
0
 public RequiresFactory(SubroutineFacade subroutineFacade)
     : base(subroutineFacade)
 {
 }