Patent
Operation code replacement and combination-based Python script program anti-reversal method
Gu Naijie,Wang Xiaoqiang,Chen Wu,Wang Yan +3 more
- 15 Mar 2017
4
TL;DR: In this paper, an anti-reversal method for Python code replacement and combination is presented, which comprises the following steps: 1, analyzing generation and actuating logic of an operation code in a Python interpreter and a virtual machine; 2, changing an opcode mapping (opcode.h) unit; 3, analyzing basic block information in an operationcode sequence in a bytecode file generated by compiling; 4, defining a new operation code; 5, changing a peephole optimization (peephole.h).
read more
Abstract: The invention discloses an operation code replacement and combination-based Python script program anti-reversal method, which comprises the following steps: 1, analyzing generation and actuating logic of an operation code in a Python interpreter and a virtual machine; 2, changing an operation code mapping (opcode.h) unit; 3, analyzing basic block information in an operation code sequence in a bytecode file generated by compiling; 4, defining a new operation code; 5, changing a peephole optimization (peephole.h) unit, and carrying out combination on two (or more) operation codes located in the same basic block to form a new operation code; 6, changing a virtual machine (ceval.h) unit, so as to support the interpretive execution on the new operation code; 7, determining an operation code value by the Python virtual machine, knowing that the operation code has already been subjected to replacement and combination, and adopting a corresponding interpretation process to carry out the interpretive execution on the operation code; 8, normally executing a Python script program.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
Patent
Method for protecting Python program
Wang Ying
- 03 Nov 2017
TL;DR: In this article, a method for protecting a Python program is proposed, which includes a parallel step and a non-parallel step after the parallel step, wherein the parallel steps include a parallel substep A: based on the arbitrarily-preset relationship corresponding to operation codes, exchanging a first operation code in opcode.h, and then exchanging a second preset operation code.
2
Patent
Code protection method and device, protection equipment and readable storage medium
Pan Xiaobo
- 21 Jan 2020
TL;DR: In this article, the authors propose a code protection method and device, protection equipment and a readable storage medium, which relates to the technical field of computers, and includes a plurality of function instructions in a byte code to be protected and replacing each function instruction with an indirect calling instruction, wherein a guide function of the indirect calling instructions is used for calling the function instruction.
Patent
Method and device for executing functional module in virtual machine
Guo Xuepeng,Zhang Lei +1 more
- 14 Apr 2020
TL;DR: In this article, the authors present a method and a device for executing a functional module in a virtual machine, which comprises the steps that the WASM instruction sequence of the functional module is acquired; it is determined whether the instruction sequence comprises a predetermined continuous instruction or not, the predetermined continuous instructions being preset with a corresponding merge instruction.
Patent
Verification release method for software running
Jin Lidan
- 13 Jul 2018
TL;DR: In this paper, a verification release method for software running is proposed, which comprises the steps that a client side and a verification side of software are involved; the client side comprises a program embedding module, and the verification side comprising a program verification module; the verification release program is composed of a code conversion split check module, wherein the code conversion splitting check module in the verification process converts a digital file into a variable code, takes any random value of the variable code as a random seed and splits a segmentation code of the verification program, and split codes are packaged into the
References
Patent
Method and system for program editing
William G. Evans,Jennifer Hamilton,Michael M. Magruder,Vance P. Morrison,Lawrence B. Sullivan,Sean E. Trowbridge,Jason L. Zander +6 more
- 25 Aug 2004
TL;DR: In this paper, a method and system for editing a software program in a common language runtime environment is described, where the software program has a source code component, an intermediate language component, and a native code component.
68
Patent
Storage battery unit for vehicle
Naohiro Shigeta,Masaki Yugo,Al Miyamoto Akira Et +2 more
- 13 Aug 2003
TL;DR: In this article, a temperature detecting plate (30) is fixed outside a casing (10) accommodating a plurality of secondary batteries (20), and a communicating portion (34) is provided between the air holes (33) and the communicating portion, whereby the temperature sensor (50) is located so as to access to the surface of the secondary battery (20) via the ventilation hole (15).
6
Patent
Simulation method of real-time embedded system
Wang Linzhang,Cao Wanqiong,Chen Zhi +2 more
- 25 Jun 2014
TL;DR: In this paper, a simulation method of a real-time embedded system is presented, in which an XMI document is read, and elements of the document are divided into a class diagram element collection and a sequence chart element collection.
5
Patent
Gridding system implementing method based on Python language
Qi Lu,Wenzhong Li,Sanglu Lu,Daoxu Chen +3 more
- 27 May 2009
TL;DR: In this article, an extended Python NameSpace mechanism, a realization method comprising a method for reloading a Python virtual machine, a transparent Python proxy object, an object transfer mechanism and a code transfer mechanism is presented.
2
Related Papers (5)
Sun Changqing,Tan Zhucheng +1 more
- 27 Nov 2013
Pohlack Martin Thomas,Wieczorkiewicz Pawel Piotr +1 more
- 30 Jun 2020