[Soot-list] def-use for a particular jimple variable

Earlence Fernandes earlenceferns at gmail.com
Tue Jul 28 22:41:08 EDT 2015


I'm using SimpleLocalDefs to compute the defs for a local in a method. I am
also trying to process statements of the form

var = result of some invoke expression with arg1, arg2, etc

So I query the Local defs object with var, arg1 and arg2. However, I get
the following error:

Illegal LocalDefs query; local r1 has no definition at r1 = staticinvoke
<com.microsoft.st.compilationshell.STShell:
org.codehaus.groovy.runtime.callsite.CallSite[] $getCallSiteArray()>()

What is the cause of this error? Clearly, r1 is being assigned the return
value of the invoke. Does it have to do with the fact that the invocation
is static? If so, how do I process such statements?

-earlence
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150728/3a754946/attachment.html 


More information about the Soot-list mailing list