发明名称 Method and device for recombining runtime instruction
摘要 A method for recombining runtime instruction comprising: an instruction running environment is buffered; the machine instruction segment to be scheduled is obtained; the second jump instruction which directs an entry address of an instruction recombining platform is inserted before the last instruction of the obtained machine instruction segment to generate the recombined instruction segment comprising the address A″; the value A of the address register of the buffered instruction running environment is modified to the address A″; the instruction running environment is recovered. A device for recombining the runtime instruction comprising: an instruction running environment buffering and recovering unit suitable for buffering and recovering the instruction running environment; an instruction obtaining unit suitable for obtaining the machine instruction segment to be scheduled; an instruction recombining unit suitable for generating the recombined instruction segment comprised the address A″; and an instruction replacing unit suitable for modifying the value of the address register of the buffered instruction running environment to the address of the recombined instruction segment. The monitoring and control of the runtime instruction of the computing device is completed.
申请公布号 US8893272(B2) 申请公布日期 2014.11.18
申请号 US201114113570 申请日期 2011.04.29
申请人 Beijing Zhongtian Antai Technology Co., Ltd. 发明人 Wang Jiaxiang
分类号 G06F21/00;G06F21/52;G06F21/56 主分类号 G06F21/00
代理机构 Wolf, Greenfield & Sacks, P.C. 代理人 Wolf, Greenfield & Sacks, P.C.
主权项 1. A runtime instruction recombination method, comprising: storing an instruction execution context; searching an address corresponding table according to a value of an address register in the instruction execution context, the address corresponding table being used to show whether or not a machine instruction segment to be recombined has a stored recombined instruction segment; if a record in the address corresponding table is found, modifying the value of the address register to the value of the record, and restoring the instruction execution context, wherein the address register's value is updated; if no record in the address corresponding table is found, acquiring a machine instruction segment to be scheduled, inserting a second control transfer instruction before the last instruction of the machine instruction segment to be scheduled, the second control transfer instruction pointing to an entry address of an instruction recombination platform, which generates a recombined instruction segment, modifying the value of the address register in the instruction execution context to an address of the recombined instruction segment, and creating a record in the address corresponding table with the address of the recombined instruction segment and the value of the address register before update; and restoring the instruction execution context, wherein the address register's value is updated.
地址 Beijing CN