AutosarC++17_03-A18.5.3¶
The form of delete operator shall match the form of new operator used to allocate the memory
Required inputs: IR, StaticSemanticAnalysis
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
possible_wrong_release |
Resource possibly released using wrong function (allocation used {node0}) |
None |
False |
wrong_release |
Resource released using wrong function (allocation used {node0}) |
None |
False |
Options¶
This rule shares the following common options: 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
resources¶
resources : set[str] = {'C++ArrayHeapMemory', 'C++HeapMemory'}
witness_paths¶
witness_paths : bool = True