dalvik bytecode optimization method based on memory loading
A technology of memory loading and optimization methods, which is applied in the direction of program loading/starting, code compiling, program code conversion, etc., which can solve the problems of increasing the risk of being cracked and reducing the efficiency of program startup, so as to improve the attack resistance and startup efficiency effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] The present invention will be further elaborated below in conjunction with the accompanying drawings.
[0031] A dalvik bytecode optimization method based on memory loading, which includes the following steps:
[0032] Step 1, read the encrypted DEX file, decrypt and decompress it, and save the decrypted and decompressed DEX file in the stack memory in the form of bytecode;
[0033] In step 1, the local method is called at the java layer to decrypt and decompress the DEX file.
[0034] Step 2: Use reflection to call the openDexFile method of DexFile, parse the DEX file bytecode in step 1 to obtain a DexOrJar structure, load the content of the DexOrJar structure into the hash table of the userDexFile structure in gDvm, and finally return to store the DEX file The pointer to the DexOrJar structure of the information, recorded as the cookie value;
[0035] The cookie value obtained in step 2 is the value corresponding to the loaded dex, which can be used later to access ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com