Skip to content
Snippets Groups Projects
  1. Dec 08, 2021
  2. Nov 29, 2021
  3. Nov 24, 2021
  4. Nov 23, 2021
  5. Nov 17, 2021
  6. Nov 03, 2021
  7. Oct 20, 2021
  8. Oct 19, 2021
  9. Oct 14, 2021
  10. Oct 13, 2021
  11. Oct 12, 2021
    • Andre Maroneze's avatar
    • David Bühler's avatar
    • David Bühler's avatar
      [Eva] Emits indeterminate alarms on call arguments to builtins. · d80e4a34
      David Bühler authored
      'Indeterminate' alarms are alarms about uninitialized memory, escaping pointers
      and special floating-point values (infinite and NaN).
      
      These alarms are emitted for functions specified by -eva-warn-copy-indeterminate
      option, which is @all by default. These alarms can be disabled for some function
      by -eva-warn-copy-indeterminate=-f, in which case they are also disabled for
      the argument expressions of calls to [f].
      
      However:
      - the @all default value did not include functions without definition
        (for which a specification or a builtin is used).
      - 'indeterminate' alarms were emitted anyway for the arguments of calls to
        functions without definition, except for builtins.
      So no indeterminate alarms were emitted for the argument expressions of calls
      to builtins (unless their definitions were included).
      
      This commit fixes this behavior:
      the @all default of -eva-warn-copy-indeterminate option include all functions
      and special case for functions without definition or builtins are removed.
      
      It still avoids to emit surch alarms on Eva directives such as Frama_C_show_each.
      d80e4a34
Loading