Identification of localizable function calls
AssigneeInternational Business Machines Corporation
InventorsMichael H. Dawson, Yuqing Gao, Megumi Ito, Graeme Johnson, Seetharami R. Seelam
Life of this patent
Estimating the term…
Abstract
Detecting localizable native methods may include statically analyzing a native binary file of a native method. For each function call invoked in the native binary, it is checked whether resources accessed through the function call is locally available or not. If all resources accessed though the native method is locally available, the method is annotated as localizable.
Claims14
A computer readable storage memory storing a program of instructions executable by a machine to perform a method of detecting localizable native methods, comprising:
- analyzing, by a processor, a binary file of a native method to identify one or more function calls invoked within the binary file;
- for each of the identified one or more function calls, determining, by the processor automatically, whether said function call accesses a resource locally unavailable on a selected machine;
- if it is determined that none of said one or more function calls access a resource locally unavailable on the selected machine, annotating said native method as localizable;
- and
- if it is determined that at least one of said one or more function calls accesses a resource locally unavailable on the selected machine, annotating said native method as not localizable.
A system for detecting localizable native methods, comprising:
- a processor;
- an analytic module operable to analyze a binary file of a native method to identify one or more function calls invoked within the binary file, the analytic module further operable to, for each of the identified one or more function calls, determine automatically, whether said function call accesses a resource locally unavailable on a selected machine, and if it is determined that none of said one or more function calls access a resource locally unavailable on the selected machine, annotate said native method as localizable, and if it is determined that at least one of said one or more function calls accesses a resource locally unavailable on the selected machine, annotate said native method as not localizable.
Dependencies are inferred from the claim text.