Leakcheck
Leakcheck checks whether program cleanly uses files and connections
Install / Use
/learn @loov/LeakcheckREADME
leakcheck
leakcheck analyses program syscalls and checks whether:
- [x] Files are properly closed
- [x] Open files are not deleted
- [x] Connections are closed properly
- [x] Servers are stopped properly
- [x] With
-temp, whether tests use only temp directory for tests.
Currently supported:
- [x] Linux amd64
- [x] Linux 386
- [ ] Mac
- [ ] Windows
Using with Go test
This can be used together with Go tests:
# checking for proper connection and file use
go test -exec leakcheck .
# additionally checking that all files are created in temp
go test -exec "leakcheck -temp" .
Related Skills
node-connect
349.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.7kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
