[Soot-list] XML attributes

Yitzhak Mandelbaum yhmandelbaum at cert.org
Mon Jun 11 16:22:05 EDT 2012


Clarification: my question is whether anyone knows why class tags are not printed.

-- Yitzhak

On Jun 11, 2012, at 4:18 PM, Yitzhak Mandelbaum wrote:

> I found the answer to these questions in the Soot source. Sorry to bother everyone -- the code turned out to be far easier to read and explore than I'd anticipated. (Kudos to the authors)
> For those interested:
> 1) Class tags are not printed. 
> 2) The code can be found in soot.xml.TagCollector which is called from the soot.XMLAttributesPrinter, which is called (indirectly) from soot.PackManager.writeOutput.
> 
> Does anyone know why this is the case?
> 
> -- Yitzhak
> 
> On Jun 11, 2012, at 3:03 PM, Yitzhak Mandelbaum wrote:
> 
>> Hi all,
>> 
>> Which tags make it into the XML attributes file? From some basic poking around, it looks like statement-level and method-level do, but class-level do not? is that correct? If not, how do I tag a class such that the tag will be printed int he XML file?
>> 
>> Also, once you're at it -- which source file(s) in Soot is responsible for the xml file generation?
>> 
>> Thanks,
>> Yitzhak
>> --------------------------------------------------
>> Yitzhak Mandelbaum
>> CERT / Software Engineering Institute
>> Carnegie Mellon University
>> http://www.andrew.cmu.edu/~yhm
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Soot-list mailing list
>> Soot-list at sable.mcgill.ca
>> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list
> 
> --------------------------------------------------
> Yitzhak Mandelbaum
> CERT / Software Engineering Institute
> Carnegie Mellon University
> http://www.andrew.cmu.edu/~yhm
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Soot-list mailing list
> Soot-list at sable.mcgill.ca
> http://mailman.cs.mcgill.ca/mailman/listinfo/soot-list

--------------------------------------------------
Yitzhak Mandelbaum
CERT / Software Engineering Institute
Carnegie Mellon University
http://www.andrew.cmu.edu/~yhm








More information about the Soot-list mailing list