发明名称 Handling dynamically linked function calls with respect to program code conversion
摘要 A technique is provided for handling dynamically linked subject function calls arranged pass subject control flow to an intermediate control structure such as a procedure linkage table, then to subject linker code for modifying link information associated with the subject function calls during translation of subject code into target code in a dynamic binary translator. The subject code for execution on a subject processor is received by a translator, and corresponding target code for execution on the target processor is generated. The translator is arranged to build a function linkage table containing an entry giving the location of each function called by the subject code, so that code can be generated by the translator in which subject function calls are associated with code for performing the function, without generating target code corresponding to the intermediate control structure.
申请公布号 US9043816(B2) 申请公布日期 2015.05.26
申请号 US201313921120 申请日期 2013.06.18
申请人 International Business Machines Corporation 发明人 Brown Alexander B.
分类号 G06F9/445;G06F9/455 主分类号 G06F9/445
代理机构 Greg Goshorn, P.C. 代理人 Tyson Thomas E.;Goshorn Gregory K.;Greg Goshorn, P.C.
主权项 1. A computer apparatus comprising: a target processor; and a translator arranged to receive subject code for execution on a subject processor and generate target code for execution on the target processor, the translator comprising: a function linkage table; andlogic for: detecting a modification to a procedure linkage table associated with a dynamically linked subject function call of the subject, code;associating the dynamically linked subject function call with code for performing the dynamically linked subject function call; andadding, in response to the detecting of the modification, an entry to the function linkage table, the entry comprising: an identifier corresponding to the dynamically linked subject function call; anda location of the code for performing the dynamically linked subject function call.
地址 Armonk NY US