发明名称 Specification files for call translation and trace
摘要 A method and apparatus for storing a function specification file is described. In an exemplary method, the function specification field is capable for providing other software to facilitate execution of an application in a second operating system with the presence of a first operating system and the application is compiled for the first operating system. In another exemplary method, a preprocessor receives the function specification file comprising function definition data for a library function. The preprocessor processes the function definition data to generate header information and function code for the function. In another exemplary method, the preprocessor generates an automatic logging framework for the interposing library based on the function definition data. Further, a function in an interposing library logs calls to a corresponding library function.
申请公布号 US9058131(B2) 申请公布日期 2015.06.16
申请号 US201313932823 申请日期 2013.07.01
申请人 Apple Inc. 发明人 Shaffer Joshua;Misra Ronnie
分类号 G06F9/44;G06F9/455;G06F11/36 主分类号 G06F9/44
代理机构 Blakely, Sokoloff, Taylor & Zafman LLP 代理人 Blakely, Sokoloff, Taylor & Zafman LLP
主权项 1. A computerized method comprising: storing a function specification file, with a processor, wherein the function specification file is capable of providing, upon processing with software, a compiled function in a library to facilitate execution of an application in a second operating system without the presence of a first operating system, and wherein the application is compiled for the first operating system, the function specification file includes a keyword that indicates to the software to add stack checking code to the compiled function, and the stack checking code enforces a common action for call stack manipulation used when the compiled function is called by the application.
地址 Cupertino CA US