[Soot-list] [Find method using name ]

csytang csytang at comp.polyu.edu.hk
Wed Aug 5 03:46:08 EDT 2015


 
Hi, all
 I use Soot to analyze a Hadoop application. I find a class that extends
the lib class(org.apache.hadoop.mapreduce.Mapper), when I try to find
the concrete method that implements Map using

	* mapClas.getMethodByName("map")

 I got a ambiguous problem, that there are two methods named <map> 

 	* public void map () target
 	* public volatile void map ()

 Thus, how to direct to my target method? And it is the safe way of
finding a method ? Cuz, the map method overwrite the parent's method, is
there any safe way to cope with this case? Thanks in advance 
Best 
Chris. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.CS.McGill.CA/pipermail/soot-list/attachments/20150805/3359654d/attachment.html 


More information about the Soot-list mailing list