Method capable of redefining command code of processor
A processor instruction and instruction encoding technology, applied in the direction of platform integrity maintenance, etc., can solve the problem of not being able to distinguish between legal instruction flow and illegal instruction flow, and achieve the effect of preventing buffer overflow attacks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Embodiment 1
[0012] Set the same number of instruction encoding registers as the number of instructions in the system instruction set inside the processor, each instruction encoding register corresponds to an instruction encoding definition, and then all the instruction encoding definitions are defined by the user, and then the user-defined Each instruction encoding definition of the instruction is loaded into the corresponding instruction encoding register respectively, and the instruction encoding definition defined by the user is replaced by the instruction encoding definition defined in advance by the processor, so that the processor uses the user-defined instruction when decoding and executing the instruction. Encoding defines decoding and executing instructions. In this way, the processor runs on the user-defined machine language (instruction encoding); then, the original machine instructions of the computer program are translated into user-defined coded machine instructions, and the ...
Embodiment 2
[0015] Set the same number of instruction code registers as the number of operation codes, address codes, function codes, register codes, and condition codes in the system instruction set inside the processor. Each instruction code register corresponds to an instruction code definition, and then all user-defined Instruction encoding definition, and then the user-defined instruction encoding definitions are loaded into the corresponding instruction encoding registers by the load instruction encoding instruction, and the instruction encoding definition defined by the user-defined instruction replaces the instruction encoding definition defined in advance by the processor, so that the processing When the device decodes and executes instructions, it uses user-defined instruction encoding to define decoding and execution instructions. In this way, the processor runs on the user-defined machine language (instruction encoding); then, the original machine instructions of the computer p...
Embodiment 3
[0018] The operation of instructions inside the processor is interpreted and executed by microinstructions. Several microinstructions constitute a microprogram. When a microprogram corresponds to an instruction code, the user defines all the instruction codes, and then rewrites all the microprograms to use It interprets and executes the user-defined instruction encoding definition, and then updates all rewritten microprograms to replace the processor's pre-defined instruction encoding definition with the user-defined instruction encoding definition. When the processor decodes and executes instructions, it uses user-defined instruction encoding to define decoding and execution instructions. In this way, the processor runs on the user-defined machine language (instruction encoding); then, the original machine instructions of the computer program are translated into user-defined coded machine instructions, and the program translated into user-defined coded machine instructions is ...
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