[Soot-list] Inconsistence type hierarchy

Bernhard Berger berber at tzi.de
Wed Mar 18 17:17:27 EDT 2015


Hi,

today I encountered a strange situation in the type hierarchy while analyzing an Android app. I found several (non-phantom) classes that extend (phantom) interfaces or  implement (phantom) classes. It seems that these classes aren’t contained in the android.jar file. 

The MainActivity, for instance, implements the phantom android.app.ActionBar$TabListener. Calling isInterface for TabListener returns false indicating that it is an class. This leads to problems if a class extends an „interface“. When FastHierarchy is created an Exception is thrown in dfsVisit:
> java.lang.RuntimeException: Attempt to dfs visit interface android.content.DialogInterface

Is this behavior known? Does someone know a solution?

Regards,
Bernhard


More information about the Soot-list mailing list