SootTutorial icon indicating copy to clipboard operation
SootTutorial copied to clipboard

Question About update soot dependency

Open niorgai opened this issue 2 years ago • 0 comments

I noticed version of all the soot-infoflow-xxxx.jar is 2.8. and i want to update them to 2.10 from FlowDroid release page.

after that i got a mistake:

Exception in thread "main" java.lang.NoSuchMethodError: 'soot.LocalGenerator soot.Scene.createLocalGenerator(soot.Body)'
	at soot.jimple.infoflow.cfg.LibraryClassPatcher.generateMessageObtainMethod(LibraryClassPatcher.java:231)
	at soot.jimple.infoflow.cfg.LibraryClassPatcher.patchMessageObtainImplementation(LibraryClassPatcher.java:123)
	at soot.jimple.infoflow.cfg.LibraryClassPatcher.patchLibraries(LibraryClassPatcher.java:71)
	at soot.jimple.infoflow.android.SetupApplication.initializeSoot(SetupApplication.java:1194)
	at soot.jimple.infoflow.android.SetupApplication.runInfoflow(SetupApplication.java:1439)
	at soot.jimple.infoflow.android.SetupApplication.constructCallgraph(SetupApplication.java:1311)
	at dev.navids.soottutorial.android.AndroidCallgraph.main(AndroidCallgraph.java:123)

maybe i should update org.soot-oss:soot:4.2.1, but soot release page latest version is 4.2.1. How should i fix this error please ?

niorgai avatar Dec 27 '22 16:12 niorgai