Neidio i’r brif dudalen lywio Neidio i chwilio Neidio i’r prif gynnwys

Ranged Integers for the C Programming Language

  • Jeff Gennari
  • , Shaun Hedrick
  • , Fred Long
  • , Justin Pincar
  • , Robert C. Seacord
  • Software Engineering Institute

Allbwn ymchwil: Llyfr/AdroddiadAdroddiad Technegol

Crynodeb

This report describes an extension to the C programming language to introduce the notion of ranged integers, that is, integer types with a defined range of values. A variable of a ranged integer type will always have a value within the defined range as a result of initialization or assignment. Use of ranged integers would help prevent integer overflow errors and thus would result in more reliable and secure C programs. The syntax and semantics of ranged integers are presented, and some examples are given to illustrate their use.
Iaith wreiddiolSaesneg
CyhoeddwrSoftware Engineering Institute
Nifer y tudalennau15
Dynodwyr Gwrthrych Digidol (DOIs)
StatwsCyhoeddwyd - 01 Medi 2007

Ôl bys

Gweld gwybodaeth am bynciau ymchwil 'Ranged Integers for the C Programming Language'. Gyda’i gilydd, maen nhw’n ffurfio ôl bys unigryw.

Dyfynnu hyn