[Soot-list] Code_attribute is null

Phil Pratt-Szeliga pcpratts at syr.edu
Mon Jul 23 12:46:20 EDT 2012


Hello,

I am working on a new feature in soot and I am trying to load the body
of javax.servlet.jsp.JspWriter.getBufferSize() [1]. This method is not
abstract, but when viewing it with javap -c there is not bytecode for
the body. Also, soot.coffi.method_info.locate_code_attribute cannot
find any Code_attributes for the method and returns null. How is this
valid bytecode? Has anyone seen something like this before?

Phil Pratt-Szeliga
Syracuse University

[1] http://docs.oracle.com/javaee/1.4/api/javax/servlet/jsp/JspWriter.html#getBufferSize()


More information about the Soot-list mailing list