SuSi icon indicating copy to clipboard operation
SuSi copied to clipboard

Testing data set of sources and sinks training set

Open AmrAshraf opened this issue 7 years ago • 7 comments

Hello all,

I found that there is source and sinks file named "SourcesSinks_Train.arff" with a good representation of the features and the class label of Android APIs. If there is a test file of this data set for Android V 4.2 or even newer version as the training set is tiny, it will be appreciated.

Thank you in advance.

AmrAshraf avatar Nov 10 '18 02:11 AmrAshraf

We have not created such files for newer versions of Android. However, it should be fairly easy to create such datsets using the SuSi project. You only need a JAR file for the newer Android platform version.

StevenArzt avatar Nov 12 '18 09:11 StevenArzt

@StevenArzt Thank you for replying. Sounds good. I will try that soon.

AmrAshraf avatar Nov 12 '18 10:11 AmrAshraf

@AmrAshraf Did you end up figuring this out? I'm also looking for pre-built jars of newer android platforms (19-28) to run SuSi on ..

salmanee avatar Apr 06 '19 01:04 salmanee

@salmanee Yes, i found newer versions of android jars combined with framwork.jar in : https://github.com/anggrayudi/android-hidden-api But, i don't run SuSi on them instead i used the old results at that time (For lack of time).

AmrAshraf avatar Apr 06 '19 12:04 AmrAshraf

Thanks @AmrAshraf! aren't some of the APIs missing tho? I mean some methods must have been either added or deprecated to newer API's (19+) since android 4.2 (17)

Thanks again for your quick response

salmanee avatar Apr 06 '19 21:04 salmanee

@salmanee You are right. Very old APIs will be removed in newer API versions. If you want to make an android.jar file that contains most of APIs you will need to extract the .jar files and compare (decode) the .class files then return them combining all the APIs then repack the .jar file (after encoding the .class files). This needs a dedicated program to make this task. You could verify something like that by using Archive browser and Bytecode Decoder plugins in intellij IDE or Android Studio to view the code of android.jar file.

AmrAshraf avatar Apr 07 '19 11:04 AmrAshraf

That makes sense! thanks a lot @AmrAshraf for your detailed response!

salmanee avatar Apr 08 '19 01:04 salmanee