System and method for overflow detection using partial evaluations
AssigneeOracle America, Inc.
InventorsBernhard F. Scholz, Cristina N. Cifuentes, Nathan Robert Albert Keynes
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle America, Inc.
InventorsBernhard F. Scholz, Cristina N. Cifuentes, Nathan Robert Albert Keynes
Estimating the term…
A method for overflow detection using partial evaluations. The method includes obtaining a section of code from a source code file stored on a storage device, analyzing the section of code to identify a buffer with an index, determining a plurality of statements that are statically-computable and dependent on the index of the buffer, and generating a code segment including the plurality of statements. The method further includes replacing an access statement of the plurality of statements with a conditional statement returning true when bounds of the buffer are exceeded, where the access statement uses the index to access the buffer, adding an unconditional statement returning false to the code segment, and executing the code segment on a computer processor to obtain a determination of whether the bounds of the buffer are exceeded.
A method for overflow detection using partial evaluations comprising:
A system for overflow detection using partial evaluations comprising:
A non-transitory computer readable medium storing instructions for overflow detection using partial evaluations, the instructions comprising functionality to:
Dependencies are inferred from the claim text.