public interface Configuration
Configuration constants.
numbers of bits in types, etc.
unsigned char unsigned short int unsigned int unsigned long int unsigned long
long int
signed versions of above, low and high
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe different machine architectures that can be used to specialize translation and analysis. -
Method Summary
Modifier and TypeMethodDescriptioncharMax()charMin()Gets the architecture type for this translation task.booleangetGNUC()Are the GNU extensions to the C language allowed?booleaninRangeSignedChar(BigInteger value) booleaninRangeSignedInt(BigInteger value) booleaninRangeSignedLongInt(BigInteger value) booleanbooleaninRangeSignedShort(BigInteger value) booleaninRangeUnsignedChar(BigInteger value) booleaninRangeUnsignedInt(BigInteger value) booleaninRangeUnsignedLongInt(BigInteger value) booleanbooleaninRangeUnsignedShort(BigInteger value) voidSets the architecture type for this translation task.voidsetGNUC(boolean flag) Specifies whether the GNU extensions to the C language are allowed.voidsetLanguage(Configurations.Language language) set the the language of the source code
-
Method Details
-
unsignedCharMax
BigInteger unsignedCharMax() -
unsignedShortIntMax
BigInteger unsignedShortIntMax() -
unsignedIntMax
BigInteger unsignedIntMax() -
unsignedLongIntMax
BigInteger unsignedLongIntMax() -
unsignedLongLongIntMax
BigInteger unsignedLongLongIntMax() -
signedCharMin
BigInteger signedCharMin() -
signedCharMax
BigInteger signedCharMax() -
signedShortIntMin
BigInteger signedShortIntMin() -
signedShortIntMax
BigInteger signedShortIntMax() -
signedIntMin
BigInteger signedIntMin() -
signedIntMax
BigInteger signedIntMax() -
signedLongIntMin
BigInteger signedLongIntMin() -
signedLongIntMax
BigInteger signedLongIntMax() -
signedLongLongIntMin
BigInteger signedLongLongIntMin() -
signedLongLongIntMax
BigInteger signedLongLongIntMax() -
charMin
BigInteger charMin() -
charMax
BigInteger charMax() -
inRangeUnsignedChar
-
inRangeUnsignedShort
-
inRangeUnsignedInt
-
inRangeUnsignedLongInt
-
inRangeUnsignedLongLongInt
-
inRangeSignedChar
-
inRangeSignedShort
-
inRangeSignedInt
-
inRangeSignedLongInt
-
inRangeSignedLongLongInt
-
getArchitecture
Configuration.Architecture getArchitecture()Gets the architecture type for this translation task.- Returns:
- the architecture type
-
setArchitecture
Sets the architecture type for this translation task. Default isConfiguration.Architecture.UNKNOWN.- Parameters:
architecture- the architecture type
-
getGNUC
boolean getGNUC()Are the GNU extensions to the C language allowed?- Returns:
- value of the GNUC flag
-
setGNUC
void setGNUC(boolean flag) Specifies whether the GNU extensions to the C language are allowed. Default is false.- Parameters:
flag- value of GNUC flag
-
getLanguage
Configurations.Language getLanguage()- Returns:
- the language of the source code; null if this filed has not been set
-
setLanguage
set the the language of the source code
-