Systems and methods for pre-processing variable initializers
AssigneeMicrosoft Corporation
InventorsMichael Ronn Marcelais, James E. Walsh
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsMichael Ronn Marcelais, James E. Walsh
Estimating the term…
Systems and methods for pre-processing an initializer prior to creation of a final version of a binary image and excluding the initializer from the computer code that comprises the binary image. Prior to creation of the final version of the binary image, an attempt is made to pre-process the initializer as if it were being processed during execution of the binary image. The initializer may be pre-processed during one or more of three stages involved in the creation of a binary image: prior to operation of the linker; during operation of the linker; and after operation of the linker. If the initializer is successfully pre-processed, an initialized value for a variable is determined. This initialized value is written into the binary image and all references and calls to the initializer are excluded from the binary image. Thus, during all subsequent start-ups of the binary image, no initialization of the variable will be performed.
A method for excluding an initializer from a binary image, the initializer comprising initializing instructions for initializing a variable upon start-up of the binary image, the initializer being part of a file and identified by an initializer symbol, the variable being identified by a variable symbol in the file, the file to be processed by a linker to create the binary image, the method comprising:
A method for excluding an initializer from a binary image prior to creation of the binary image, the initialize being stored in a file and comprising initializing instructions for initializing a variable upon start-up of the binary image, the file also storing a symbol table which stores an initializer-list symbol identifying an initializer-list, an initializer symbol identifying the initializer, and a variable symbol identifying an uninitialized value for the variable, the method comprising:
A computer system configured for creating a binary image including a pre-initialized variable comprising:
A computer readable medium having stored thereon a binary image containing a pre-initialized variable created by a method of comprising:
A method for excluding an initializer from a binary image, the initializer comprising initializing instructions for initializing a variable upon start-up of the binary image, the initialize being stored in a file and identified by an initializer symbol, data from the file to be processed by a linker to create the binary image, the method comprising:
A method for excluding an initializer from a final version of a binary image, the initializer being a function for initializing a variable, the method comprising the computer implemented steps of:
A computer system configured for excluding an initialize from a binary image comprising:
Dependencies are inferred from the claim text.