model_file.c 807 B

123456789101112131415161718192021
  1. /* Coverity Scan model
  2. *
  3. * This is a modeling file for Coverity Scan. Modeling helps to avoid false
  4. * positives.
  5. *
  6. * - A model file can't import any header files.
  7. * - Therefore only some built-in primitives like int, char and void are
  8. * available but not wchar_t, NULL etc.
  9. * - Modeling doesn't need full structs and typedefs. Rudimentary structs
  10. * and similar types are sufficient.
  11. * - An uninitialized local pointer is not an error. It signifies that the
  12. * variable could be either NULL or have some data.
  13. *
  14. * Coverity Scan doesn't pick up modifications automatically. The model file
  15. * must be uploaded by an admin in the analysis settings of
  16. */
  17. /* ignore optarg NULL deref false positive for parse_options(...) */
  18. int parse_options(int argc, char **argv) {
  19. __coverity_panic__();
  20. }