[Soot-list] nullpointerexception in retrieveActiveBody(), in points to analysis
Quentin Sabah
quentin.sabah at inria.fr
Mon Apr 15 11:13:31 EDT 2013
Hi Yufeng,
It is hard to respond without knowing the arguments you pass to Soot and
the moment you execute the "retrieveActiveBody". From the stack trace, I
would say you try to get the method's body after Soot's main returned.
In such case I'm not very surprised of the exception you get. I think
Soot is doing a lot of cleaning before returning from the main.
You could try to put your code in a bodyTransformer or a
sceneTransformer and add it to the proper analysis phase.
--
Quentin Sabah, CIFRE Ph.D. student
Grenoble University
INRIA-SPADES | STMicroelectronics/AST
Montbonnot, France | Grenoble, France
mailto:quentin.sabah at inria.fr | mailto:quentin.sabah at st.com
phone: +33 476 61 54 57 | phone: +33 476 58 44 14
More information about the Soot-list
mailing list