[Soot-list] 答复: 【SOOT】something can't find by google

liujiefeng liujiefeng at huawei.com
Mon Mar 27 03:28:44 EDT 2017


Hi, Steven!

There’s another problem when I’m using the nightly build.(version: [cid:image001.png at 01D2A70E.A564C0B0] )

In SootMethod.retrieveActiveBody, I saw in the API-doc, it is to “Returns the active body if present, else constructs an active body and returns that”.
But actually, in my program, it didn’t constructs an active body.
I found the constructer of class Body is protected, so I can’t construct an active body, either.

What can I do in this situation?

Best regards,
Jack, Lao.

发件人: liujiefeng
发送时间: 2017年3月24日 17:26
收件人: 'Arzt, Steven'; soot-list at cs.mcgill.ca
主题: 答复: 【SOOT】something can't find by google

Hi,

Thank you for your reply.
Actually, I’ve tried the nightly build and the problem is solved.



发件人: Arzt, Steven [mailto:steven.arzt at sit.fraunhofer.de]
发送时间: 2017年3月24日 17:24
收件人: liujiefeng; soot-list at cs.mcgill.ca<mailto:soot-list at cs.mcgill.ca>
主题: RE: 【SOOT】something can't find by google

Hi,

The Soot 2.5 is really ancient by now. We really have to release a new version soon. Can you please try again using the nightly build? Let me know if the problem still occurs.

Best regards,
  Steven

From: Soot-list [mailto:soot-list-bounces at cs.mcgill.ca] On Behalf Of liujiefeng
Sent: Tuesday, March 21, 2017 9:16 AM
To: soot-list at cs.mcgill.ca<mailto:soot-list at cs.mcgill.ca>
Subject: [Soot-list] 【SOOT】something can't find by google

Hi, there!

I’m using SOOT 2.5 with jar file.
When I do analysis it comes this exception below.
And I find a webpage by google but it is about DroidForce.
https://github.com/secure-software-engineering/DroidForce/issues/3

so I want to know if there’s something I can do to solve this problem.

Exception in thread "main" java.lang.RuntimeException: getInvokeExpr() called with no invokeExpr present!
    at soot.jimple.internal.JAssignStmt.getInvokeExpr(JAssignStmt.java:115)
    at soot.jimple.toolkits.callgraph.Edge.<init>(Edge.java:68)
    at vasco.callgraph.CallGraphTransformer.internalTransform(CallGraphTransformer.java:86)
    at soot.SceneTransformer.transform(SceneTransformer.java:39)
    at soot.Transform.apply(Transform.java:89)
    at soot.ScenePack.internalApply(ScenePack.java:43)
    at soot.Pack.apply(Pack.java:114)
    at soot.PackManager.runWholeProgramPacks(PackManager.java:418)
    at soot.PackManager.runPacks(PackManager.java:336)
    at soot.Main.run(Main.java:198)
    at soot.Main.main(Main.java:141)


looking forward.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170327/b61e6912/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 883 bytes
Desc: image001.png
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20170327/b61e6912/attachment-0001.png>


More information about the Soot-list mailing list