发明名称 METHODS, SYSTEMS, AND MEDIA FOR BINARY COMPATIBILITY
摘要 Methods, systems, and media for binary compatibility comprises: receiving, from a foreign application, a function call to at least one surrogate function, wherein the at least one surrogate function is contained in a surrogate library, and wherein the surrogate library corresponds to a foreign library associated with the foreign function call; identifying a domestic function corresponding to the surrogate function; setting a pointer identifying a block of memory that is local to a thread associated with the surrogate function to point to a first portion of memory associated with the domestic function; invoking the identified domestic function; storing values including one or more error codes returned from the invoked domestic function; setting the pointer to point to a second portion of memory associated with the foreign function call; copying the one or more error codes to the second portion of memory; and continuing to execute the foreign application
申请公布号 US2016077850(A1) 申请公布日期 2016.03.17
申请号 US201414785614 申请日期 2014.04.21
申请人 THE TRUSTEES OF COLUMBIA UNIVERSITY IN THE CITY OF NEW YORK 发明人 Andrus Jeremy;Van't Hof Alexander;Alduaij Naser;Dall Christoffer;Viennot Nicolas;Nieh Jason
分类号 G06F9/455;G06F9/45 主分类号 G06F9/455
代理机构 代理人
主权项 1. A method for binary compatibility, comprising: receiving, from a foreign application, a function call having one or more arguments to at least one surrogate function, wherein the at least one surrogate function is contained in a surrogate library, and wherein the surrogate library corresponds to a foreign library associated with a foreign function call; identifying, using a hardware processor, a domestic function corresponding to the at least one surrogate function; setting a pointer identifying a block of memory that is local to a thread associated with the surrogate function to point to a first portion of memory associated with the domestic function; invoking the identified domestic function using the one or more arguments; storing values including one or more error codes returned from the invoked domestic function; setting the pointer to point to a second portion of memory associated with the foreign function call; copying the one or more error codes to the second portion of memory; and continuing to execute the foreign application.
地址 New York NY US
您可能感兴趣的专利