摘要 |
The present invention provides a system and method for detecting problems caused by access to incompletely initialized data storage in assembler programs comprising: a) Generating an internal representation of control flow of the source code of the assembler program by using standard techniques of compiler constructions, wherein said internal representation contains nodes for every statement found in said source code and a directed edge for every possible flow of control between said nodes, b) Attributing data attributes to said nodes and/or said edges, wherein said data attributes are used to store the information how many bits within the data storage can be guaranteed to be initialized, c) applying a data-flow analysis method to said internal representation of the control flow of the source code for determining how many bits of the data storage can be guaranteed to be initialized.
|