You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To build a Quark core library based on Shuriken-Analyzer, we need Shuriken-Analyzer to provide the following features.
For each feature in the following, we give a quick example with the API name, inputs, and outputs. However, we are pleased to discuss the final design with Shuriken-Analyzer.
List all methods used in the DEX/APK file.
Input:
The path to the DEX/APK file
Output:
A Python list of all methods used in the DEX/APK file
Example:
pathToDex="classes.dex"result=getMethods(pathToDex)
# result = ['Ljava/io/File;->getName()Ljava/lang/String;']
Determine if the method is an Android API.
Input:
A method
Output:
A boolean value indicating if the method is an Android API
Example:
method="Ljava/io/File;->getName()Ljava/lang/String;"result=isAndroidAPI(method)
# result = True
Determine if the method is defined in the DEX/APK file.
Input:
The path to the DEX/APK file
A method
Output:
A boolean value indicating if the method is defined in the DEX/APK file
Example:
pathToDex="classes.dex"method="Ljava/io/File;->getName()Ljava/lang/String;"result=isDefindedInDex(pathToDex, method)
# result = False
Find all matching methods in the DEX/APK file by regex strings for class name, method name, and descriptor.
Input:
The path to the DEX/APK file
A regex string for the class name
A regex string for the method name
A regex string for the descriptor
Output:
A Python list of all methods matching the regex strings in the DEX/APK file
Example:
pathToDex="classes.dex"className="File"methodName="getName"descriptor=".*String;"result=findMethods(pathToDex, className, methodName, descriptor)
# result = ['Ljava/io/File;->getName()Ljava/lang/String;']
List all methods called by the specified method in the DEX/APK file.
Input:
The path to the DEX/APK file
A method
Output:
A Python list of all methods called by the specified method in the DEX/APK file
Example:
pathToDex="classes.dex"method="Lcom/vuldroid/application/ForgetPassword; onCreate (Landroid/os/Bundle;)V"result=xrefTo(pathToDex, method)
# result = ['Ljava/io/File;->getName()Ljava/lang/String;']
List all methods that call the specified method in the DEX/APK file.
Input:
The path to the DEX/APK file
A method
Output:
A Python list of all methods that call the specified method in the DEX/APK file
Example:
pathToDex="classes.dex"method="Ljava/io/File;->getName()Ljava/lang/String;"result=xrefFrom(pathToDex, method)
# result = ['Lcom/vuldroid/application/ForgetPassword; onCreate (Landroid/os/Bundle;)V']
Get the smali code of the specified method in the DEX/APK file.
Input:
The path to the DEX/APK file
A method
Output:
The smali code of the specified method in the DEX/APK file
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
To build a Quark core library based on Shuriken-Analyzer, we need Shuriken-Analyzer to provide the following features.
For each feature in the following, we give a quick example with the API name, inputs, and outputs. However, we are pleased to discuss the final design with Shuriken-Analyzer.
List all methods used in the DEX/APK file.
Determine if the method is an Android API.
Determine if the method is defined in the DEX/APK file.
Find all matching methods in the DEX/APK file by regex strings for class name, method name, and descriptor.
List all methods called by the specified method in the DEX/APK file.
List all methods that call the specified method in the DEX/APK file.
Get the smali code of the specified method in the DEX/APK file.
List all strings in the DEX/APK file.
Parse an Android Binary XML file into the XML format.
Get the inheritance relationships of the classes in the DEX/APK file.
Provide Python APIs to interact with Shuriken-Analyzer.
Beta Was this translation helpful? Give feedback.
All reactions