-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
How to extract Android API calls invoked by Android app #904
Comments
Hi,
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to get all the Android SDK APIs invoked by an Android app. I have the following sample code.
For Check 1, I tried three options. When using
cls.is_android_api()
orcls.is_external()
, in the output I will see API calls not directly made by my app. For example I will see the following in the output:I want to ignore API calls made by AOSP code / libraries and focus on only the calls directly made by the app in Java code. For now I decided to use an approach which checks the package name for caller.
I have the following questions:
(1) Are there any API calls which I will miss if I use the package name check as discussed above ?
(2) The Androguard documentation has the following note.
(2-a) Does the call
AnalyzeAPK()
ensure all DEX files are loaded ?(2-b) Classes not defined because they are dynamically loaded later: is there a way to identify this via any API call ?
The text was updated successfully, but these errors were encountered: