This document contains instructions for executing a dex script. It specifies that the script is located in a file called script.dex, smali code is needed and will be generated, the main class is test.AddDebugInfo, the entrance method to call is addDebugInfo, and "smali" should be passed as a parameter.
This document contains instructions for executing a dex script. It specifies that the script is located in a file called script.dex, smali code is needed and will be generated, the main class is test.AddDebugInfo, the entrance method to call is addDebugInfo, and "smali" should be passed as a parameter.
This document contains instructions for executing a dex script. It specifies that the script is located in a file called script.dex, smali code is needed and will be generated, the main class is test.AddDebugInfo, the entrance method to call is addDebugInfo, and "smali" should be passed as a parameter.
# SCRIPT: DEX file name inside the patch, it could be generated through following commands: # javac -source 1.7 -target 1.7 test/AddDebugInfo.java # dx --dex --output=script.dex test/AddDebugInfo.class # SMALI_NEEDED: Indicate the script needs smali code or not. # If true, and smali code is generated yet, then when the rule got executed, the patch will generate smali code as the first step # MAIN_CLASS: Class path which contains the entrance # ENTRANCE: Target method to execute, the method must accepts 4 String parameters # PARAM: Pass as the last parameter to the target method [EXECUTE_DEX] SCRIPT: script.dex SMALI_NEEDED: true MAIN_CLASS: test.AddDebugInfo ENTRANCE: addDebugInfo PARAM: smali [/EXECUTE_DEX]