Interval Analysis and Machine Arithmetic: Why Signedness Ignorance Is Bliss. Gange, G., Navas, J., Schachte, P., Søndergaard, H., & Stuckey, P. J. ACM Transactions on Programming Languages and Systems, 37(1):1:1–1:35, January, 2015.
doi  abstract   bibtex   
The most commonly used integer types have fixed bit-width, making it possible for computations to ``wrap around'', and many programs depend on this behaviour. Yet much work to date on program analysis and verification of integer computations treats integers as having infinite precision, and most analyses that do respect fixed width lose precision when overflow is possible. We present a novel integer interval abstract domain that correctly handles wrap-around. The analysis is signedness agnostic. By treating integers as strings of bits, only considering signedness for operations that treat them differently, we produce precise, correct results at a modest cost in execution time.
@article{Gan-Nav-Sch-Son-Stu_TOPLAS15,
  author    = {Graeme Gange and 
		Jorge Navas and 
		Peter Schachte and 
                Harald S{\o}ndergaard and 
		Peter J. Stuckey},
  title     = {Interval Analysis and Machine Arithmetic: 
                Why Signedness Ignorance Is Bliss},
  journal   = {ACM Transactions on Programming Languages and Systems},
  volume    = {37},
  number    = {1},
  pages     = {1:1--1:35},
  month     = {January},
  year      = {2015},
  doi       = {http://dx.doi.org/10.1145/2651360},
  abstract  = {The most commonly used integer types have fixed bit-width,
		making it possible for computations to ``wrap around'',
		and many programs depend on this behaviour.  Yet much 
		work to date on program analysis and verification of 
		integer computations treats integers as having infinite 
		precision, and most analyses that do respect fixed width
		lose precision when overflow is possible.  We present a 
		novel integer interval abstract domain that correctly 
		handles wrap-around.  The analysis is signedness agnostic.
		By treating integers as strings of bits, only considering
		signedness for operations that treat them differently, 
		we produce precise, correct results at a modest cost in 
		execution time.},
  keywords  = {Abstract domains, Abstract interpretation, Interval analysis, Machine arithmetic, C analysis, LLVM},
}

Downloads: 0