Skip to content
Snippets Groups Projects
Commit 296532e3 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl] Count E-ACSL builtins as Frama-C builtins

This modification will notably avoid translating E-ACSL builtin
contracts.
parent 68a19057
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,9 @@ let is_fc_or_compiler_builtin vi =
&&
let prefix = String.sub vi.vname 0 prefix_length in
Datatype.String.equal prefix "__builtin_")
||
(Options.Replace_libc_functions.get ()
&& Functions.RTL.has_rtl_replacement vi.vname)
let is_fc_stdlib_generated vi =
Cil.hasAttribute "fc_stdlib_generated" vi.vattr
......
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