EMULATOR AND METHOD FOR EMULATION

The invention discloses an emulator and a method for emulation. A method for emulating execution of a file includes emulating execution of the instructions of a file on a virtual processor of an emulator. The execution of the instructions is halted in response to an invocation of an API function. A...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ANIKIN DENIS VYACHESLAVOVICH, PINTIJSKIJ VLADISLAV VALEREVICH, KIRSANOV DMITRIJ ALEKSANDROVICH, TROFIMENKO SERGEJ VLADIMIROVICH
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses an emulator and a method for emulation. A method for emulating execution of a file includes emulating execution of the instructions of a file on a virtual processor of an emulator. The execution of the instructions is halted in response to an invocation of an API function. A determination is made whether the invoked API function is present in the updatable modules of the emulator. The updatable modules contain implementation of API functions. In response to determining that the invoked API function is present in the updatable modules, execution of the invoked API function is emulated according to corresponding implementation contained in the updatable modules. Otherwise, result of execution of the invoked API function is generated by executing a corresponding virtual API function on a processor of a computing device. 本发明公开了仿真器和仿真方法。一种对文件的执行进行仿真的方法,包括:在仿真器的虚拟处理器上对文件的指令的执行进行仿真。响应于应用程序编程接口(API)函数的启用,停止所述指令的执行。确定所启用的API函数是否存在于所述仿真器的可更新模块中。可更新模块包含API函数的实现。响应于确定所启用的API函数存在于可更新模块中,根据所述可更新模块中包