Soot 命令簡要記錄

Soot命令簡要記錄

$ java -cp sootclasses-trunk-jar-with-dependencies.jar soot.Main -cp . -pp A B

其中 -cp . 是添加待處理類路徑
-pp stands for “prepend path” and
it means that Soot automatically adds the following to it’s own classpath (in that order):
the contents of your current CLASSPATH variable,
${JAVA_HOME}/lib/rt.jar, and
if you are in whole-program mode (i.e. the –w option is enabled; more to come) then it also adds ${JAVA_HOME}/lib/jce.jar

在測試編譯java代碼時,用

java -cp ../ packagedir/mainclass  
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章