[Soot-list] Scene.v().getMethod() unable to find the method

Rashmi Mudduluru mudduluru.rashmi at csa.iisc.ernet.in
Tue Oct 14 13:32:45 EDT 2014


Hi,

I am instrumenting a java class file using soot.
I want to insert a hook to a method after every assignment statement.
I followed the instructions as given in the tutorial:
http://www.sable.mcgill.ca/soot/tutorial/profiler2/profiler2.html

I get the following Runtime error:

Exception in thread "main" java.lang.RuntimeException: tried to get
nonexistent method <Hooks: void testing()>
	at soot.Scene.getMethod(Scene.java:394)
	at Instrumentor.instrument(Instrumentor.java:60)

Has anyone faced this issue before?


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Soot-list mailing list