<div dir="ltr">Hi guys,<div>    I had posted this problem at<a href="https://github.com/secure-software-engineering/soot-infoflow/issues/23"> 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>