[Soot-list] Could Source/Sink be other type such as Constant, field variable?

润青杨 rainkin1993 at gmail.com
Sun Apr 12 22:17:54 EDT 2015


Hi Feng,
    Thanks for your help.
    Yeah, I get many errors when I implement my new sources.
    Can you give me more details about where source will affect, I mean,
where SourceManager will be used.


Thanks.

-Rainkin

2015-04-12 23:40 GMT+08:00 feng shen <fengshen at buffalo.edu>:

> Hi, Rainkin
>
> You can implement your own Source/Sink manager for sure.
>
> However, if you use FlowDroid, you might need to modify it to adapt your
> new sources.
>
> thanks.
>
> -Feng
>
>
>
> On Sun, Apr 12, 2015 at 10:11 AM, 润青杨 <rainkin1993 at gmail.com> wrote:
>
>> Hi guys,
>>     I had posted this problem at
>>  https://github.com/secure-software-engineering/soot-infoflow/issues/23
>> <https://github.com/secure-software-engineering/soot-infoflow/issues/23>
>>
>>     Now I explained it more clearly.
>>     For all I know, source and sink could only be method, but sometimes
>> source/sink may be other types.
>>
>>     Case 1:
>>     e.g.
>>     s = source(); // source
>>     if(s == null)  // sink, which doesn't contain invokeExpr
>>     { ...}
>>
>>     s is source and I want to define "if(s == null)" as sink.
>>
>>
>>     Case 2:
>>     e.g.
>>     String s = "Option1"; // source
>>     sink(s); // sink
>>
>>
>>     How to solve the above problems?
>>     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't know whether this way work
>>
>>     Could you give me some help?
>>
>> Thx
>>
>> rainkin
>>
>>
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at CS.McGill.CA
>> https://mailman.CS.McGill.CA/mailman/listinfo/soot-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150413/da5150ce/attachment.html 


More information about the Soot-list mailing list