NATIVE EMULATION COMPATIBLE APPLICATION BINARY INTERFACE FOR SUPPORTING EMULATION OF FOREIGN CODE

Using a common reference address when processing calls between a native application binary interface (ABI) and a foreign ABI. Based on a caller calling using a reference address, a lookup structure is used to determine whether the reference address is within a memory range storing native code and th...

Full description

Saved in:
Bibliographic Details
Main Authors MIHOCKA, Darek Josip, CLEARY, James David, BERRY, Jon Robert, DANG, Clarence Siu Yeen, HADLEY, Russell Charles, SEQUEIRA DE JUSTO TEIXEIRA, Pedro Miguel
Format Patent
LanguageEnglish
French
German
Published 05.07.2023
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Using a common reference address when processing calls between a native application binary interface (ABI) and a foreign ABI. Based on a caller calling using a reference address, a lookup structure is used to determine whether the reference address is within a memory range storing native code and that the callee is native, or a memory range not storing native code and that the callee is foreign. Execution of a callee is initiated based on one of (i) calling the callee using the reference address within an emulator when the caller is native and the callee is foreign; (ii) calling an entry thunk when the caller is foreign and the callee is native; (iii) calling an exit thunk when the caller is native and the callee is foreign; or (iv) directly calling the callee using the reference address when the caller is native and the callee is native.
Bibliography:Application Number: EP20210727326