Systems and methods for pre-processing variable initializers
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 initial...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | 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. |
---|