Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Value range analysis

From Wikipedia, the free encyclopedia

Incomputing, in particularcompiler construction,value range analysis is a type ofdata flow analysis that tracks the range (interval) of values that a numeric variable can take on at each point of a program's execution.[1]The resulting information can be used in optimizations such as redundancy elimination,dead code elimination, instruction selection, etc., but can also be used to improve the safety of programs, e.g. in the detection ofbuffer overruns.[2] Techniques for value range analysis typically usesymbolic analysis extensively.[3]

Value range analysis is often implemented in theIntel C++ Compiler and is implemented inGCC.[4]

References

[edit]
  1. ^Harrison, William H. (1977). "Compiler Analysis of the Value Ranges for Variables".IEEE Transactions on Software Engineering.3 (3):243–250.doi:10.1109/TSE.1977.231133.S2CID 17018610.
  2. ^Wagner, D.; Foster, J. S.; Brewer, E. A.; Aiken, A. (2000).A First Step Towards Automated Detection of Buffer Overrun Vulnerabilities. NDSS.
  3. ^Birch, Johnnie; van Engelen, Robert; Gallivan, Kyle."Value Range Analysis of Conditionally Updated Variables and Pointers"(PDF).
  4. ^MacLeod, Andrew (28 April 2021)."Value range propagation in GCC with Project Ranger".
Basic block
Loop
Data-flow
analysis
SSA-based
Code generation
Functional
Global
Other
Static analysis
Retrieved from "https://en.wikipedia.org/w/index.php?title=Value_range_analysis&oldid=1249560055"
Categories:

[8]ページ先頭

©2009-2026 Movatter.jp