Instruction set static disassembling method based on characteristics of DSP processor
A processor and disassembly technology, applied in the field of hardware security, to achieve the effect of ensuring efficiency and accuracy, and improving correctness
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2020-07-10
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention belongs to the technical field of hardware safety, and in particular relates to a static disassembly method of an instruction set based on the characteristics of a DSP processor. Background technique
[0002] Disassembly technology plays an important role in the current security field. The current disassembly algorithm includes a linear scan disassembly algorithm and a marching recursive disassembly algorithm.
[0003] The linear scanning algorithm first sets the analysis start address and analysis end address according to the code entry point and the size of the code segment, and then disassembles from the set analysis start address, and then analyzes the code segment according to the restrictions on the start position and end address. scan all content. The linear scanning algorithm does not use control flow information to guide the progress of the disassembly engine during the scanning process, and disassembles each instruction encoun...
Examples
Embodiment Construction
[0050] Embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0051] Such as figure 1 As shown, the present invention provides a kind of instruction set static disassembly method based on DSP processor characteristics, comprises the following steps:
[0052] S1: Establish a data file format analysis library and a binary mapping assembly database;
[0053] S2: Based on the data file format analysis library and the binary mapping assembly database, read the binary data stored in the non-volatile memory outside the DSP processor chip to obtain the original binary data;
[0054] S3: According to the data file format analysis library, the original binary data is processed to obtain the binary code data belonging to the program segment;
[0055] S4: assemble the database according to the binary mapping, and disassemble the binary code data by using the static disassembly method to obtain the corresponding assembly inst...