[Soot-list] Single quotation marks in Jimple method names

Cheng Zhang cheng.zhang.stap at gmail.com
Tue Mar 31 11:36:24 EDT 2015


Hi,

I am using soot-infoflow to build call graphs for Java programs. When I was
checking the resulting call graph edges, I found that method names in
Jimple method signatures may be enclosed with single quotation marks.

For example, in JodaTime, I observed a method signature as below:

      <org.joda.time.Partial: org.joda.time.Partial
'with'(org.joda.time.DateTimeFieldType,int)>

By searching in the GitHub repository of Soot, I find that "with" is
probably a keyword used by Jimple, as indicated in the file below:


https://github.com/Sable/soot/blob/2df9b853cb2ce548e07587a213262b64565360b7/src/jimple.scc

I can try to work around this issue for my current task, since there are
very limited number of methods with special names.
But I am wondering whether it is a design of Jimple to have single
quotation marks in special method names (or it may be something can be
fixed).

Thanks,
Cheng
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150331/d9de8cca/attachment-0001.html 


More information about the Soot-list mailing list