Registry / testing / trailofbits-go-mutexasserts

trailofbits-go-mutexasserts

JSON →
library0.0.0-20250514102930-c1f3d2e37561gogounverified

A library for asserting mutex locking behavior in Go tests to detect deadlocks and race conditions.

go get github.com/trailofbits/go-mutexasserts
INSTALL
IMPORT
SIG · TRAILOFBITS-GO-MUT
T
trailofbits-go-mutexasserts
testinggov0.0.0-20250514102930-c1f3d2e37561
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

mutexasserts
github.com/trailofbits/go-mutexasserts

Assert that a mutex is held.

package main import "github.com/trailofbits/go-mutexasserts" func main() { mutexasserts.AssertHeld() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20250514102930-c1f3d2e37561latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
trailofbits-go-mutexasserts — go get trailofbits-go-mutexasserts · libregistry