[Soot-list] Question about variable name

Linghui Luo linghui.luo at uni-paderborn.de
Thu Nov 1 08:13:40 EDT 2018


Hello,

There is an option which you can set for the jimplification phase called “use-orginal-names”

-p jb use-original-names:true

Best regards,
Linghui Luo


Von: Soot-list <soot-list-bounces at CS.McGill.CA> Im Auftrag von ???
Gesendet: Donnerstag, 1. November 2018 01:34
An: soot-list at CS.McGill.CA
Betreff: [Soot-list] Question about variable name

Hi, soot's developers and "experienced users", I'm new to soot and recently I've been using it to do some static analysis work on Java program(I'm also not familiar with static analysis, sorry about that).
I really like this tool, it's powerful and interesting. However I have a question that bothers me. When I try to analysis a SootMethod and I get all the Local variables by using body.getLocals(). How can I get these variables' name(not their intermediate code name)?   local.getName() also returns its jimple name.
Hope to get your advice, thanks a lot!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20181101/98ae4d5c/attachment.html>


More information about the Soot-list mailing list