Blame lib/coverity_model.c
|
Packit Service |
3880ab |
/*
|
|
Packit Service |
3880ab |
* Coverity Scan model
|
|
Packit Service |
3880ab |
*
|
|
Packit Service |
3880ab |
* This is a modeling file for Coverity Scan. Modeling helps to avoid false
|
|
Packit Service |
3880ab |
* positives.
|
|
Packit Service |
3880ab |
*
|
|
Packit Service |
3880ab |
* - A model file can't import any header files.
|
|
Packit Service |
3880ab |
* - Therefore only some built-in primitives like int, char and void are
|
|
Packit Service |
3880ab |
* available but not wchar_t, NULL etc.
|
|
Packit Service |
3880ab |
* - Modeling doesn't need full structs and typedefs. Rudimentary structs
|
|
Packit Service |
3880ab |
* and similar types are sufficient.
|
|
Packit Service |
3880ab |
* - An uninitialized local pointer is not an error. It signifies that the
|
|
Packit Service |
3880ab |
* variable could be either NULL or have some data.
|
|
Packit Service |
3880ab |
*
|
|
Packit Service |
3880ab |
* Coverity Scan doesn't pick up modifications automatically. The model file
|
|
Packit Service |
3880ab |
* must be uploaded by an admin.
|
|
Packit Service |
3880ab |
*/
|