Problems parsing hex in pragmas
ID0000696: This issue was created automatically from Mantis Issue 696. Further discussion may take place here.
|Reporter||djs52||Assigned To||-||Resolution||won't fix|
|Product Version||Frama-C Carbon-20101202-beta2||Target Version||-||Fixed in Version||-|
I am working with some source code which uses pragmas to set the absolute storage locations of variables, of the form
#pragma ADDRESS var 0c1h
Mostly, this is accepted by Frama-C, however certain cases are not, such as
#pragma ADDRESS var 0e1h
The problem cases all seem to include the hex digit 'e' followed by a digit 0..9. This can be easily tested by attempting to run Frama-C on single-line files containing each of the above examples.