Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing data set of sources and sinks training set #17

Open
AmrAshraf opened this issue Nov 10, 2018 · 7 comments
Open

Testing data set of sources and sinks training set #17

AmrAshraf opened this issue Nov 10, 2018 · 7 comments

Comments

@AmrAshraf
Copy link

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.

@StevenArzt
Copy link
Member

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.

@AmrAshraf
Copy link
Author

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

@salmanee
Copy link

salmanee commented Apr 6, 2019

@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 ..

@AmrAshraf
Copy link
Author

@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).

@salmanee
Copy link

salmanee commented Apr 6, 2019

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

@AmrAshraf
Copy link
Author

@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.

@salmanee
Copy link

salmanee commented Apr 8, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants