[Soot-list] LineNumberTag for field declarations and method definitions
Bodden, Eric
eric.bodden at sit.fraunhofer.de
Mon Oct 28 10:14:35 EDT 2013
Hello.
> Right now I am using the class files for processing. I do see line numbers for instance variables that have some initialization since I can obtain them as Stmts. But, there are no tags set of the SootField instances. Same applies to SootMethod.
I think this may be due to the fact that you are processing bytecode. The problem is that compilers do not generate line-number information for declarations, only for instructions/statements. Therefore Soot has no chance to generate such tags. If you process source code then the tags might be present. (If they are not then at least we should be able to extend Soot such that it does.)
Eric
More information about the Soot-list
mailing list