You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
infer_clone/website/docs/checker-resource-leak-lab.md

22 lines
654 B

---
title: "Resource Leak Lab Exercise"
description: "Toy checker for the \"resource leak\" write-your-own-checker exercise."
---
Toy checker for the "resource leak" write-your-own-checker exercise.
Activate with `--resource-leak-lab`.
Supported languages:
- C/C++/ObjC: No
- C#/.Net: Yes
- Erlang: No
- Java: Yes
This toy checker does nothing by default. Hack on it to make it report resource leaks! See the [lab instructions](https://github.com/facebook/infer/blob/master/infer/src/labs/README.md).
## List of Issue Types
The following issue types are reported by this checker:
- [LAB_RESOURCE_LEAK](/docs/next/all-issue-types#lab_resource_leak)