[Soot-list] JBCO command line options/problems.

Joe Pellegrino joe.pellegrino at lakota-tsi.com
Mon Jul 16 15:20:08 EDT 2007


I've been playing with soot and JBCO and I am having some problems that I
can't seem to resolve; hoping someone here can help me out.
I have a very simple Java program to test obfuscation it consists of two
'.class' files which I turned into to a jar. I can run the test and it
produces the output I expect. 
Now I am trying to use the soot package to obfuscate the code and it doesn't
seem to be following all the options I give it. I would like to output an
obfuscated .jar file or two obfuscated .class files that I can put back into
a jar file.  I am using the command below and this seems to generate
'jimple' code to standard out only.
Even though I've set the -d switch and -f c switch they seem to be being
ignored. I am using the newest releases available and have read over most of
the documentation.  Incidentally, when I try and use the 'help' switch: java
soot.jbco.Main -help or java soot.jbco.Main -help I don't get anything
useful just:

[jpellegr at fatboy src]$ java soot.jbco.Main -help
No Jbco tasks to complete.  Shutting Down...
[jpellegr at fatboy src]$ java soot.jbco.Main --help
No Jbco tasks to complete.  Shutting Down...

I can provide more details as to my environment if they are needed.  Thanks.
:-) The following line is the 'command line' I am trying to use in the above
test:

java -cp
/home/jpellegr/work/javaObf:/home/jpellegr/work/javaObf/sootall/jasmin-2708/
lib/jasminclasses-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/jasmin-2708/
lib/jasminsrc-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/polyglot-1.3.4/l
ib/pth.jar:/home/jpellegr/work/javaObf/sootall/polyglot-1.3.4/lib/polyglot.j
ar:/home/jpellegr/work/javaObf/sootall/polyglot-1.3.4/lib/coffer.jar:/home/j
pellegr/work/javaObf/sootall/polyglot-1.3.4/lib/pao.jar:/home/jpellegr/work/
javaObf/sootall/polyglot-1.3.4/lib/java_cup.jar:/home/jpellegr/work/javaObf/
sootall/polyglot-1.3.4/lib/JFlex.jar:/home/jpellegr/work/javaObf/sootall/soo
t-2708/lib/sootsrc-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/soot-2708/l
ib/sootclasses-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/soot-2708/lib/s
oot-eclipse-quickstart-2.2.4.jar:/home/jpellegr/work/javaObf/sootall/soot-27
08/eclipse/ca.mcgill.sable.graph/graph.jar:/home/jpellegr/work/javaObf/soota
ll/soot-2708/eclipse/ca.mcgill.sable.soot/soot-plugin.jar:/home/jpellegr/wor
k/javaObf/sootall/jasmin-2708/classes:/home/jpellegr/work/javaObf/sootall/po
lyglot-1.3.4/classes:/home/jpellegr/work/javaObf/sootall/soot-2708/classes:/
home/jpellegr/work/javaObf/Test.jar:. -Xms256m -Xmx1024m soot.jbco.Main -v
-cp
./:/usr/local/opt/jdk1.5.0_07/jre/lib/charsets.jar:/usr/local/opt/jdk1.5.0_0
7/jre/lib/jce.jar:/usr/local/opt/jdk1.5.0_07/jre/lib/jsse.jar:/usr/local/opt
/jdk1.5.0_07/jre/lib/rt.jar:/home/jpellegr/work/javaObf/Test.jar -d
/home/jpellegr/work/javaObf/t.out -f c -app TestObf -t:9:wjtp.jbco_cr
-t:9:wjtp.jbco_mr -t:9:wjtp.jbco_fr -t:9:wjtp.jbco_bapibm
-t:9:wjtp.jbco_blbc -t:9:jtp.jbco_gia -t:9:jtp.jbco_adss
-t:9:jtp.jbco_cae2bo -t:9:bb.jbco_cb2ji -t:9:bb.jbco_dcc -t:9:bb.jbco_rds
-t:9:bb.jbco_riitcb -t:9:bb.jbco_iii -t:9:bb.jbco_plvb -t:9:bb.jbco_rlaii
-t:9:bb.jbco_ctbcb -t:9:bb.jbco_ecvf -t:9:bb.jbco_ptss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20070716/8646c422/attachment.htm


More information about the Soot-list mailing list