[Soot-list] one question about Soot Plugin Call graph construction

jiangfan shi jiangfan.shi at gmail.com
Tue Aug 12 16:12:06 EDT 2008


Thanks, Eric. I am going to search for these documents.

Jiangfan

On Tue, Aug 12, 2008 at 2:55 PM, Eric Bodden <eric.bodden at mail.mcgill.ca> wrote:
> As I said, this is currently not supported. (and has been discussed a
> few dozen times on this mailing list)
>
> Eric
>
> 2008/8/12 jiangfan shi <jiangfan.shi at gmail.com>:
>> If I ignore those call back from library, are there some ways to setup
>> a call graph which only focuses on my helloworld?
>>
>> In general, can I can setup a specific set of java files as my
>> analysis scope and ignore all other java files? In the options web
>> page, http://www.sable.mcgill.ca/soot/tutorial/usage/, there is an
>> option --app. Can I use this?
>>
>> Another thing is that if I can change the soot.EntryPoints.java to
>> ignore the java or other libraries during call graph construction?
>>
>> Thanks for your answers.
>>
>> Jiangfan
>>
>> On Tue, Aug 12, 2008 at 2:23 PM, Eric Bodden <eric.bodden at mail.mcgill.ca> wrote:
>>> No that is not possible, because the JDK may in general call back into
>>> your application code. Therefore any sound callgraph needs to take the
>>> library into account.
>>>
>>> Eric
>>>
>>> 2008/8/12 jiangfan shi <jiangfan.shi at gmail.com>:
>>>> Can I filter java related library outside of analysis scope? That is,
>>>> I only care about helloworld java file. I have tried to setup include
>>>> package and exclude package options in the application mode, but it
>>>> does not work.
>>>>
>>>> Any hints are appreciated.
>>>>
>>>> Jiangfan
>>>>
>>>> On Tue, Aug 12, 2008 at 2:17 PM, Eric Bodden <eric.bodden at mail.mcgill.ca> wrote:
>>>>> That's normal. Whole-program analysis takes some time (and memory).
>>>>>
>>>>> Eric
>>>>>
>>>>> 2008/8/12 jiangfan shi <jiangfan.shi at gmail.com>:
>>>>>> Hi, All,
>>>>>>
>>>>>> Sorry I sent an incomplete email to soot list by accident. In the
>>>>>> following, it is a complete question. Sorry for the mess.
>>>>>>
>>>>>> I used Soot Plugin to create an call graph for my helloworld java
>>>>>> file. The following is my parameters, and then it took very long time
>>>>>> to compute(stopped by killing the eclipse process) and consume around
>>>>>> 300MB memory.  Any hints for this problem?  Thanks.
>>>>>>
>>>>>>
>>>>>> soot.Main --p bb enabled:false --w --p wjap.cgg enabled:true --p
>>>>>> shimple enabled:false --app --p wsop enabled:true --p jap.cgtagger
>>>>>> enabled:true --p wjap.cgg show-lib-meths:true --p gb enabled:false
>>>>>> --version --v --i resources. --i devices. --p wjap.uft enabled:true
>>>>>> --p stp enabled:false --f J --p db enabled:false --p tag enabled:false
>>>>>> --d C:\Documents and Settings\jiangfan shi\SDRadio\mysoot\sootOutput
>>>>>> --src-prec java --xml-attributes  --keep-line-number helloworld
>>>>>>
>>>>>> Thanks in advance!
>>>>>>
>>>>>> Jiangfan
>>>>>> _______________________________________________
>>>>>> Soot-list mailing list
>>>>>> Soot-list at sable.mcgill.ca
>>>>>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Eric Bodden
>>>>> Sable Research Group
>>>>> McGill University, Montréal, Canada
>>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Eric Bodden
>>> Sable Research Group
>>> McGill University, Montréal, Canada
>>>
>>
>
>
>
> --
> Eric Bodden
> Sable Research Group
> McGill University, Montréal, Canada
>


More information about the Soot-list mailing list