DUAL ARCHITECTURE FUNCTION POINTERS HAVING CONSISTENT REFERENCE ADDRESSES
Using a common reference address when processing calls among a native ABI and a foreign ABI. Based on 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 memo...
Saved in:
Main Authors | , , , , , , , |
---|---|
Format | Patent |
Language | English French German |
Published |
05.07.2023
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Using a common reference address when processing calls among a native ABI and a foreign ABI. Based on 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 the callee is initiated based on one of (i) when the caller is native and when the callee is foreign, calling the callee using the reference address within an emulator; (ii) when the caller is foreign and the callee is native, calling an entry thunk; (iii) when the caller is native and the callee is foreign, calling an exit thunk; or (iv) when the caller is native and the callee is native, directly calling the callee using the reference address. |
---|---|
Bibliography: | Application Number: EP20210737846 |