CertC-MEMΒΆ
Memory Management
Nested Rules
Do not access freed memory |
|
Free dynamically allocated memory when no longer needed |
|
Allocate and copy structures containing a flexible array member dynamically |
|
Only free memory allocated dynamically |
|
Allocate sufficient memory for an object |
|
Do not modify the alignment of objects by calling realloc() |
Options
Setting an option for this rule means setting the default for all nested rules.
This rule shares the following common options: confidence, exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.