| 1 |
{ |
| 2 |
"description":"Compiler builtins supported by Frama-C (for GCC builtins, see gcc_builtins.json)", |
| 3 |
"notes": { |
| 4 |
"compiler":"When present, indicates this builtin is only available in Frama-C machdeps with this compiler. Allowed values: msvc, !msvc (the latter meaning: 'available in machdeps with compilers other than MSVC').", |
| 5 |
"rettype":"Return type of the builtin. Whitespace is important: types are matched as exact strings, with a single space between components.", |
| 6 |
"args":"List of the types of the builtin arguments. Whitespace is important: types are matched as exact strings, with a single space between components.", |
| 7 |
"variadic":"When present, this builtin behaves as a variadic function.", |
| 8 |
"_comment": "Adding new types to fields 'rettype' or 'args' requires updating the list of recognized types in 'src/kernel_services/ast_queries/cil_builtins.ml'." |
| 9 |
}, |
| 10 |
"data":{ |
| 11 |
"__builtin__annotation": { |
| 12 |
"compiler":"msvc", |
| 13 |
"rettype":"void", |
| 14 |
"args": [], |
| 15 |
"variadic":true |
| 16 |
}, |
| 17 |
"__builtin_next_arg": { |
| 18 |
"compiler":"!msvc", |
| 19 |
"rettype":"__builtin_va_list", |
| 20 |
"args": [] |
| 21 |
}, |
| 22 |
"__builtin_offsetof": { |
| 23 |
"rettype":"size_t", |
| 24 |
"args": ["size_t"] |
| 25 |
}, |
| 26 |
"__builtin_stdarg_start": { |
| 27 |
"compiler":"!msvc", |
| 28 |
"rettype":"void", |
| 29 |
"args": ["__builtin_va_list"] |
| 30 |
}, |
| 31 |
"__builtin_va_arg": { |
| 32 |
"compiler":"!msvc", |
| 33 |
"rettype":"void", |
| 34 |
"args": ["__builtin_va_list","size_t","void *"] |
| 35 |
}, |
| 36 |
"__builtin_va_copy": { |
| 37 |
"compiler":"!msvc", |
| 38 |
"rettype":"void", |
| 39 |
"args": ["__builtin_va_list","__builtin_va_list"] |
| 40 |
}, |
| 41 |
"__builtin_va_end": { |
| 42 |
"compiler":"!msvc", |
| 43 |
"rettype":"void", |
| 44 |
"args": ["__builtin_va_list"] |
| 45 |
}, |
| 46 |
"__builtin_va_start": { |
| 47 |
"compiler":"!msvc", |
| 48 |
"rettype":"void", |
| 49 |
"args": ["__builtin_va_list"] |
| 50 |
}, |
| 51 |
"__builtin_varargs_start": { |
| 52 |
"compiler":"!msvc", |
| 53 |
"rettype":"void", |
| 54 |
"args": ["__builtin_va_list"] |
| 55 |
} |
| 56 |
} |
| 57 |
} |