1. <nobr id="easjo"><address id="easjo"></address></nobr>

      <track id="easjo"><source id="easjo"></source></track>
      1. 
        

      2. <bdo id="easjo"><optgroup id="easjo"></optgroup></bdo>
      3. <track id="easjo"><source id="easjo"><em id="easjo"></em></source></track><option id="easjo"><span id="easjo"><em id="easjo"></em></span></option>
          貴州做網站公司
          貴州做網站公司~專業!靠譜!
          10年網站模板開發經驗,熟悉國內外開源網站程序,包括DEDECMS,WordPress,ZBlog,Discuz! 等網站程序,可為您提供網站建設,網站克隆,仿站,網頁設計,網站制作,網站推廣優化等服務。我們專注高端營銷型網站,企業官網,集團官網,自適應網站,手機網站,網絡營銷,網站優化,網站服務器環境搭建以及托管運維等。為客戶提供一站式網站解決方案?。?!

          Java Infoflow類使用實例

          來源:互聯網轉載 時間:2024-01-29 08:12:17

          實例1: equals

          import soot.jimple.infoflow.Infoflow; //導入依賴的package包/類@Overridepublic boolean equals(Object other) {if (this == other)return true;if (other == null || getClass() != other.getClass())return false;SourceContextAndPath scap = (SourceContextAndPath) other;if (this.hashCode != 0 && scap.hashCode != 0 && this.hashCode != scap.hashCode)return false;if (this.callStack == null) {if (scap.callStack != null)return false;}else if (!this.callStack.equals(scap.callStack))return false;if (!Infoflow.getPathAgnosticResults() && !this.path.equals(scap.path))return false;return super.equals(other);} 

          實例2: equals

          import soot.jimple.infoflow.Infoflow; //導入依賴的package包/類@Overridepublic boolean equals(Object o) {if (super.equals(o))return true;if (o == null || !(o instanceof ResultSinkInfo))return false;ResultSinkInfo si = (ResultSinkInfo) o;if (this.sink == null) {if (si.sink != null)return false;}else if (!this.sink.equals(si.sink))return false;return !Infoflow.getOneResultPerAccessPath()|| this.accessPath.equals(si.accessPath);} 

          實例3: parameterFlowTest

          import soot.jimple.infoflow.Infoflow; //導入依賴的package包/類@Test(timeout=300000)  public void parameterFlowTest(){  Infoflow infoflow = initInfoflow(true);  List<String> epoint = new ArrayList<String>();  epoint.add("<soot.jimple.infoflow.test.InFunctionCode: int paraToParaFlow(int,int,"  + "soot.jimple.infoflow.test.InFunctionCode$DataClass,"  + "soot.jimple.infoflow.test.InFunctionCode$DataClass)>");  DefaultSourceSinkManager ssm = new DefaultSourceSinkManager(sources, sinks);  ssm.setParameterTaintMethods(epoint);  ssm.setReturnTaintMethods(epoint);    infoflow.computeInfoflow(appPath, libPath, new DefaultEntryPointCreator(epoint), ssm);  Assert.assertNotNull(infoflow.getResults());Assert.assertTrue(infoflow.getResults().isPathBetween("b", SOURCE_INT_PARAMETER2));Assert.assertFalse(infoflow.getResults().isPathBetween("b", SOURCE_INT_PARAMETER));  } 

          實例4: concreteLinkedSetPos0Test

          import soot.jimple.infoflow.Infoflow; //導入依賴的package包/類@Test(timeout=300000)  public void concreteLinkedSetPos0Test(){  System.out.println("Running test case concreteLinkedSetPos0Test...");  Infoflow infoflow = initInfoflow();    int oldAPLength = Infoflow.getAccessPathLength();  Infoflow.setAccessPathLength(1);    List<String> epoints = new ArrayList<String>();  epoints.add("<soot.jimple.infoflow.test.SetTestCode: void concreteWriteReadLinkedPos0Test()>");infoflow.computeInfoflow(appPath, libPath, epoints, sources, sinks);checkInfoflow(infoflow, 1);Infoflow.setAccessPathLength(oldAPLength);// this is a global setting! Restore it when we're doneSystem.out.println("Test case concreteLinkedSetPos0Test done.");  } 

          實例5: setIteratorTest

          import soot.jimple.infoflow.Infoflow; //導入依賴的package包/類@Test(timeout=300000)  public void setIteratorTest(){  System.out.println("Running test case setIteratorTest...");  Infoflow infoflow = initInfoflow();    int oldAPLength = Infoflow.getAccessPathLength();  Infoflow.setAccessPathLength(1);  List<String> epoints = new ArrayList<String>();  epoints.add("<soot.jimple.infoflow.test.SetTestCode: void iteratorTest()>");infoflow.computeInfoflow(appPath, libPath, epoints, sources, sinks);checkInfoflow(infoflow, 1);Infoflow.setAccessPathLength(oldAPLength);// this is a global setting! Restore it when we're doneSystem.out.println("Test case setIteratorTest done.");  } 
          標簽:INFOFLOW-

          網絡推廣與網站優化公司(網絡優化與推廣專家)作為數字營銷領域的核心服務提供方,其價值在于通過技術手段與策略規劃幫助企業提升線上曝光度、用戶轉化率及品牌影響力。這...

          在當今數字化時代,公司網站已成為企業展示形象、傳遞信息和開展業務的重要平臺。然而,對于許多公司來說,網站建設的價格是一個關鍵考量因素。本文將圍繞“公司網站建設價...

          在當今的數字化時代,企業網站已成為企業展示形象、吸引客戶和開展業務的重要平臺。然而,對于許多中小企業來說,高昂的網站建設費用可能會成為其發展的瓶頸。幸運的是,隨...

          temp文件夾在哪 怎樣打開手機?temp文件?temp文件怎么開? 01安卓手機打不開.tmp如果您想查看文件內容,可以將文件發送到計算機,并用記事本打開。右鍵選擇tmp打開文件的方式是記事本,可以在記事本中看到tmp文件內容,但有些tmp文件看到內容亂碼。 tmp是temporary縮寫,即臨時。操作系統在運行過程中使用大量文件,有些文件不能直接修改,或者內存中有臨時文件。此時,...

          螞蟻森林多少步一克?螞蟻森林里行走的步數不是一定要走滿5000步以上才能獲取綠色能量。行走5000步,114-300左右。不到5000步能量就會少點,步數越多能量越多。1、先關聯運動健康,然后按行走步數,每天給你一定量的能量。步數越多,能量越多。2、線下支付,每次消費支付都能獲得5g,支付幾次就可以獲得次數*5g的能量。所以可以多多支付來獲得更多的能量。3、購買火車票、動車票、飛機票也可以獲得能量...

          我的iphone上的報刊雜志圖標沒有了!怎么辦?iPhone上的報紙和雜志圖標不見了。有兩種方法可以恢復它。首先,恢復系統。Set-General-restore可恢復系統設置。其次,從系統中檢索圖標。只需在瀏覽器中鍵入以下路徑。然后將圖標拖到桌面上。系統/庫/核心服務/跳板.app報紙期刊現在還有發展前景嗎?報刊還有發展前景嗎?我認為這個問題的答案很簡單。我快60歲了。我以前每天早上都出去,不管...

          TOP
          国产初高中生视频在线观看|亚洲一区中文|久久亚洲欧美国产精品|黄色网站入口免费进人
          1. <nobr id="easjo"><address id="easjo"></address></nobr>

              <track id="easjo"><source id="easjo"></source></track>
              1. 
                

              2. <bdo id="easjo"><optgroup id="easjo"></optgroup></bdo>
              3. <track id="easjo"><source id="easjo"><em id="easjo"></em></source></track><option id="easjo"><span id="easjo"><em id="easjo"></em></span></option>