<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">It worked using -x pkg. (a dot after package name). Thank you.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 6, 2019 at 8:59 PM Christian Maeder <<a href="mailto:c.maeder@uni-bremen.de">c.maeder@uni-bremen.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hallo,<br>
<br>
I think packages names must be followed by ".*" to be excluded by the -x <br>
option (at least a year ago). The "*" may need to be escaped on the <br>
comamnd line. Does<br>
<br>
-x polyglot.\*<br>
<br>
work for you?<br>
<br>
Cheers Christian<br>
<br>
On 06.03.19 14:18, Dhriti Khanna wrote:<br>
> Hello,<br>
> In spite of using Application Mode Option: -x *pkg*, soot is transforming<br>
> multiple libraries which are not even used by my code. Libraries such as<br>
> polyglot and jasmin are also being transformed. Please see the messages:<br>
> Writing to ./tmpjcute/classes/polyglot/lex/NumericLiteral.class<br>
> Writing to ./tmpjcute/classes/polyglot/visit/ReachChecker$DataFlowItem.class<br>
> Writing to ./tmpjcute/classes/polyglot/visit/InitChecker$InitCount.class<br>
> Writing to<br>
> ./tmpjcute/classes/polyglot/visit/InitChecker$MinMaxInitCount.class<br>
> Writing to ./tmpjcute/classes/polyglot/visit/InitChecker$1.class<br>
> Writing to ./tmpjcute/classes/polyglot/visit/ExitChecker$DataFlowItem.class<br>
> Writing to ./tmpjcute/classes/polyglot/util/Base64$InputStream.class<br>
> Writing to ./tmpjcute/classes/polyglot/util/Base64$OutputStream.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/jimple/toolkits/pointer/LocalMustAliasAnalysis.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/toolkits/graph/MHGPostDominatorsFinder.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/jimple/toolkits/thread/mhp/RunMethodsPred.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/jimple/toolkits/thread/mhp/StartJoinAnalysis$1.class<br>
> Writing to ./tmpjcute/classes/soot/dexpler/DexBody.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/dexpler/InvalidDalvikBytecodeException.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/dexpler/instructions/DanglingInstruction.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/dexpler/instructions/PseudoInstruction.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/dexpler/instructions/DeferableInstruction.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/dexpler/instructions/RetypeableInstruction.class<br>
> Writing to ./tmpjcute/classes/com/google/common/math/LongMath.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/Collections2$OrderedPermutationIterator.class<br>
> Writing to<br>
> ./tmpjcute/classes/soot/dexpler/instructions/DexlibAbstractInstruction.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/Collections2$PermutationIterator.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/base/Predicates$ObjectPredicate$1.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/base/Predicates$ObjectPredicate$4.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/base/Predicates$ObjectPredicate$3.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/base/Predicates$ObjectPredicate$2.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/Synchronized$SynchronizedAsMap.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/ComputationException.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/MapMakerInternalMap$EvictionQueue.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/MapMakerInternalMap$ExpirationQueue.class<br>
> Writing to<br>
> ./tmpjcute/classes/com/google/common/collect/MapMakerInternalMap$EntryFactory$5.class<br>
> I use the following command to run my application (which is jCute):<br>
> java -classpath jcute.jar cute.instrument.CuteInstrumenter<br>
> -keep-line-number -d ./tmpjcute/classes -x cute -x soot. -x lpsolve --app<br>
> tests.Demo<br>
> <br>
> Any clue will be helpful. Thank you.<br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Soot-list mailing list<br>
> <a href="mailto:Soot-list@CS.McGill.CA" target="_blank">Soot-list@CS.McGill.CA</a><br>
> <a href="https://mailman.CS.McGill.CA/mailman/listinfo/soot-list" rel="noreferrer" target="_blank">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br>
> <br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font size="1" color="#9900ff" face="arial, helvetica, sans-serif">Regards</font><div><font size="1" color="#9900ff" face="arial, helvetica, sans-serif">Dhriti Khanna</font></div><div><font size="1" color="#9900ff" face="arial, helvetica, sans-serif">PhD Scholar</font></div><div><font size="1" color="#9900ff" face="arial, helvetica, sans-serif">IIIT Delhi</font></div></div></div></div></div></div></div></div></div></div></div></div></div>