Skip to content
Snippets Groups Projects
Commit acc86b20 authored by Virgile Prevosto's avatar Virgile Prevosto Committed by Andre Maroneze
Browse files

[machdep] YAML schema gets back its descriptions

parent 9ef6865c
No related branches found
No related tags found
No related merge requests found
# Schema for use with kwalify tool https://pykwalify.readthedocs.io/ # Schema of the machine information required by Frama-C.
alignof_aligned: alignof_aligned:
# alignment of a type with 'aligned' attribute description: alignment of a type with 'aligned' attribute
type: integer type: integer
alignof_double: alignof_double:
# alignment of 'double' type description: alignment of 'double' type
type: integer type: integer
alignof_float: alignof_float:
# alignment of 'float' type description: alignment of 'float' type
type: integer type: integer
alignof_fun: alignof_fun:
# (non-standard) alignment of a function type. Negative if unsupported description: (non-standard) alignment of a function type. Negative if unsupported
type: integer type: integer
alignof_int: alignof_int:
# alignment of 'int' type description: alignment of 'int' type
type: integer type: integer
alignof_long: alignof_long:
# alignment of 'long' type description: alignment of 'long' type
type: integer type: integer
alignof_longdouble: alignof_longdouble:
# alignment of 'long double' type description: alignment of 'long double' type
type: integer type: integer
alignof_longlong: alignof_longlong:
# alignment of 'long long' type description: alignment of 'long long' type
type: integer type: integer
alignof_ptr: alignof_ptr:
# alignment of 'void*' type description: alignment of 'void*' type
type: integer type: integer
alignof_short: alignof_short:
# alignment of 'short' type description: alignment of 'short' type
type: integer type: integer
alignof_string: alignof_string:
# alignment of string description: alignment of string
type: integer type: integer
alignof_void: alignof_void:
# (non-standard) alignment of 'void' type. Negative if unsupported description: (non-standard) alignment of 'void' type. Negative if unsupported
type: integer type: integer
char_is_unsigned: char_is_unsigned:
# whether 'char' is unsigned description: whether 'char' is unsigned
type: boolean type: boolean
compiler: compiler:
# compiler being used description: compiler being used
type: string type: string
cpp_arch_flags: cpp_arch_flags:
# arguments to be given to the compiler when this machdep is selected description: |
arguments to be given to the compiler when this machdep is selected
# (e.g. '-m32') (e.g. '-m32')
type: list type: list
...@@ -98,96 +98,96 @@ cpp_arch_flags: ...@@ -98,96 +98,96 @@ cpp_arch_flags:
has__builtin_va_list: has__builtin_va_list:
# Whether '__builtin_va_list' is a known type description: Whether '__builtin_va_list' is a known type
type: boolean type: boolean
little_endian: little_endian:
# whether the architecture is little-endian description: whether the architecture is little-endian
type: boolean type: boolean
ptr_diff_t: ptr_diff_t:
# definition of 'ptrdiff_t' description: definition of 'ptrdiff_t'
type: string type: string
size_t: size_t:
# type of 'sizeof e' description: type of 'sizeof e'
type: string type: string
sizeof_double: sizeof_double:
# size of 'double' type description: size of 'double' type
type: integer type: integer
sizeof_float: sizeof_float:
# size of 'float' type description: size of 'float' type
type: integer type: integer
sizeof_fun: sizeof_fun:
# (non-standard) size of a function type. Negative if unsupported description: (non-standard) size of a function type. Negative if unsupported
type: integer type: integer
sizeof_int: sizeof_int:
# size of 'int' type description: size of 'int' type
type: integer type: integer
sizeof_long: sizeof_long:
# size of 'long' type description: size of 'long' type
type: integer type: integer
sizeof_longdouble: sizeof_longdouble:
# size of 'long double' type description: size of 'long double' type
type: integer type: integer
sizeof_longlong: sizeof_longlong:
# size of 'long long' type description: size of 'long long' type
type: integer type: integer
sizeof_ptr: sizeof_ptr:
# size of 'void*' type description: size of 'void*' type
type: integer type: integer
sizeof_short: sizeof_short:
# size of 'short' type description: size of 'short' type
type: integer type: integer
sizeof_void: sizeof_void:
# (non-standard) size of 'void' type. Negative if unsupported description: (non-standard) size of 'void' type. Negative if unsupported
type: integer type: integer
version: version:
# information on this machdep description: information on this machdep
type: string type: string
wchar_t: wchar_t:
# definition of 'wchar_t' description: definition of 'wchar_t'
type: string type: string
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment