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.

21 lines
636 B

3 years ago
---
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
- Java: Yes
- C#/.Net: 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/all-issue-types#lab_resource_leak)