<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:宋体;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
tt
{mso-style-priority:99;
font-family:宋体;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"批注框文本 Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:9.0pt;
font-family:宋体;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin:0cm;
margin-bottom:.0001pt;
text-indent:21.0pt;
font-size:12.0pt;
font-family:宋体;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.Char
{mso-style-name:"批注框文本 Char";
mso-style-priority:99;
mso-style-link:批注框文本;
font-family:宋体;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1179467777;
mso-list-type:hybrid;
mso-list-template-ids:-756891206 -1635852896 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:18.0pt;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi, Arzt!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you for your reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">I have further questions about DefaultEntyPointCreator:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">The method DefaultEntyPointCreator.createDummyMain, which has a SootMethod to transfer in and also a SootMethod transfer out.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">So, I write code like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> Options.<i>v</i>().parse(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">sootArgs</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> SootClass
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> = Scene.<i>v</i>().forceResolve(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">mainClass</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">,
SootClass.</span><b><i><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#0000C0">BODIES</span></i></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">.setApplicationClass();</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> Scene.<i>v</i>().loadNecessaryClasses();</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> SootMethod
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">method</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> =
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">c</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">.getMethodByName(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2A00FF">"bad"</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> Collection<String>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">dummyMain</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> =
</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7F0055">new</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> ArrayList<String>();</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">dummyMain</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">.add(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#2A00FF">"bad"</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> DefaultEntryPointCreator
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">depc</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> =
</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7F0055">new</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
<u>DefaultEntryPointCreator</u>(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">dummyMain</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> SootMethod
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">mainMethod</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> =
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">depc</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">.createDummyMain(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">method</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> List<SootMethod>
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E;background:yellow;mso-highlight:yellow">entryPoints</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> =
</span><b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#7F0055">new</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> ArrayList<SootMethod>();</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E;background:silver;mso-highlight:silver">entryPoints</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">.add(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E">mainMethod</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> Scene.<i>v</i>().setEntryPoints(</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:#6A3E3E;background:silver;mso-highlight:silver">entryPoints</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black">);</span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"> PackManager.<i>v</i>().runPacks();<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Please help me for the two questions below:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><i><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">
</span></span></span></i><![endif]><i><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">No active body present for method <void bad(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)><o:p></o:p></span></i></p>
<p class="MsoNormal" style="margin-left:21.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">When createDummyMain.<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">When I got the mainMethod ,am I doing it in a right way?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks again and looking forward.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> Arzt, Steven [mailto:steven.arzt@sit.fraunhofer.de]
<br>
</span><b><span style="font-size:10.0pt">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:10.0pt"> 2017</span><span style="font-size:10.0pt">年<span lang="EN-US">3</span>月<span lang="EN-US">8</span>日<span lang="EN-US"> 18:27<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> liujiefeng; soot-list@CS.McGill.CA<br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> RE: about custom entry points<o:p></o:p></span></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Soot’s callgraph algorithms usually analyze programs starting from the entry point which is expected to be some main method. In the case of servlets,
you need to provide a main method that emulates calls to the servlet methods. To automatically generate such a dummy main method, you can have a look at the DefaultEntryPointCreator class from FlowDroid (soot-infoflow on Github) that was exactly designed to
create dummy main methods for such cases. The method it generates will not be executable, but equivalent to a real implementation for the purpose of callgraph construction.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> Steven<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Soot-list [<a href="mailto:soot-list-bounces@cs.mcgill.ca">mailto:soot-list-bounces@cs.mcgill.ca</a>]
<b>On Behalf Of </b>liujiefeng<br>
<b>Sent:</b> Wednesday, March 8, 2017 4:57 AM<br>
<b>To:</b> <a href="mailto:soot-list@CS.McGill.CA">soot-list@CS.McGill.CA</a><br>
<b>Subject:</b> [Soot-list] about custom entry points<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi, there!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ve got some problems with custom entry points.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">I’ve learned from
<a href="https://github.com/Sable/soot/wiki/Using-Soot-with-custom-entry-points">
https://github.com/Sable/soot/wiki/Using-Soot-with-custom-entry-points</a> to analyze from custom entry point.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">Options.v().parse(args);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">SootClass c = Scene.v().forceResolve("MyEntryPoint", SootClass.BODIES);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">c.setApplicationClass();<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">Scene.v().loadNecessaryClasses();<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">SootMethod method = c.getMethodByName("myMethod");<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">List entryPoints = new ArrayList();<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">entryPoints.add(method);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd;background:#F6F8FA">
<span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">Scene.v().setEntryPoints(entryPoints);<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:24.0pt;mso-para-margin-left:2.0gd"><span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">PackManager.v().runPacks();<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-size:8.5pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">But I can’t use
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">To get to my method, it just always analyze from main method.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Since my project is using servlet, so I can’t just make a call in main method since request and response is not easy to new.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">So I’m wondering:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">1.</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Is it possible to analyze from custom entry point throw the method above?
<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:18.0pt;text-indent:-18.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">2.</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Times New Roman","serif";color:#1F497D">
</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">If so, what is my problem? Does “myMethod” cannot just be String of method name?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri","sans-serif";color:#1F497D">Looking forward & with best regards.<o:p></o:p></span></p>
</div>
</div>
</body>
</html>