Scrambling and obfuscating method for Lua language and decryption method
A language and conversion method technology, applied in the field of program scrambling and obfuscation, can solve the problems of hindering reverse engineering, lack of obfuscation methods, and difficulty in assembling instructions, and achieve the effect of preventing reverse or tampering
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0065] In order to confuse 500 Lua source code files in a certain folder, firstly, preprocess them, perform lexical analysis and syntax analysis on the Lua source code, and obtain the data dictionary and abstract syntax tree. The data dictionary stores variable names, function names, parameter names, table names, etc., and the abstract syntax tree stores the abstract syntax structure of the source code. According to the requirements of the function item, choose to perform the encryption or decryption process.
[0066] In the encryption process, the Lua source code file is recursively read, and the Lua source code is initially confused by the minimum vocabulary sorting method. The minimum vocabulary sorting method is specifically: according to the position k of the string in the array, k is modulo 26 , set the resulting remainder to num, add the numth lowercase letter to the head of the new character, divide k after each remainder by 26 and round to get a new k, repeat the abov...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
