Skip to content

Commit

Permalink
Add options to produce warnings only for memory leaks
Browse files Browse the repository at this point in the history
due to `memcleanup` or `memtrack` violations
  • Loading branch information
mrstanb committed Nov 19, 2023
1 parent 987795e commit 8d55024
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/common/util/options.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2164,6 +2164,25 @@
"description": "Output messages in deterministic order. Useful for cram testing.",
"type": "boolean",
"default": false
},
"memleak": {
"title": "warn.memleak",
"type":"object",
"properties": {
"memcleanup": {
"title": "warn.memleak.memcleanup",
"description": "Enable memory leak warnings only for violations of the SV-COMP \"valid-memcleanup\" category",
"type": "boolean",
"default": false
},
"memtrack": {
"title": "warn.memleak.memtrack",
"description": "Enable memory leak warnings only for violations of the SV-COMP \"valid-memtrack\" category",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
},
"additionalProperties": false
Expand Down

0 comments on commit 8d55024

Please sign in to comment.