<div dir="ltr">Hi Feng,<div>    Thanks for your help.</div><div>    Yeah, I get many errors when I implement my new sources.</div><div>    Can you give me more details about where source will affect, I mean, where SourceManager will be used.</div><div>   </div><div><br></div><div>Thanks.</div><div><br></div><div>-Rainkin</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-12 23:40 GMT+08:00 feng shen <span dir="ltr">&lt;<a href="mailto:fengshen@buffalo.edu" target="_blank">fengshen@buffalo.edu</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi, Rainkin</div><div><br></div>You can implement your own Source/Sink manager for sure. <div><br></div><div>However, if you use FlowDroid, you might need to modify it to adapt your new sources.</div><div><br></div><div>thanks.</div><div><br></div><div>-Feng</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sun, Apr 12, 2015 at 10:11 AM, 润青杨 <span dir="ltr">&lt;<a href="mailto:rainkin1993@gmail.com" target="_blank">rainkin1993@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi guys,<div>    I had posted this problem at<a href="https://github.com/secure-software-engineering/soot-infoflow/issues/23" target="_blank"> https://github.com/secure-software-engineering/soot-infoflow/issues/23</a></div><div>    </div><div>    Now I explained it more clearly.</div><div>    For all I know, source and sink could only be method, but sometimes source/sink may be other types.</div><div>    </div><div>    Case 1:</div><div>    e.g. </div><div>    s = source(); // source</div><div>    if(s == null)  // sink, which doesn&#39;t contain invokeExpr</div><div>    { ...}</div><div><br></div><div>    s is source and I want to define &quot;if(s == null)&quot; as sink.</div><div><br></div><div><br></div><div>    Case 2:</div><div>    e.g.</div><div>    String s = &quot;Option1&quot;; // source </div><div>    sink(s); // sink </div><div><br></div><div><br></div><div>    How to solve the above problems?</div><div>    I noticed the DefaultSourceSinkManager, ISourceSinkManager and MethodBasedSourceSinkManager classes. I think that may       be I can implement my own SourceSinkManager which could accept variable as a source, define IfStmt as a sink .etc. But I don&#39;t know whether this way work</div><div>    </div><div>    Could you give me some help?</div><div><br></div><div>Thx</div><div><br></div><div>rainkin</div><div>    </div></div>
<br></div></div>_______________________________________________<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" target="_blank">https://mailman.CS.McGill.CA/mailman/listinfo/soot-list</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>