microsoft / microsoft/VFSForGit

Add validation to RSLock and SpinLock mocks

Open
#1,254 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

affects: tests domain: kext platform: macOS type: enhancement
Dominant language
C#
Stars
6.1k
Forks
474
Avg merge
2d 4h
Merged PRs (30d)
8

Description

Validating that the locks are used properly will help improve our coverage of the kext code.

For an example, see discussion here: https://github.com/microsoft/VFSForGit/pull/1193#discussion_r291294685

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the RSLock and SpinLock mock implementations and read the discussion in PR #1193, especially the linked discussion. Add validation that detects improper lock usage, then run the existing kext-related tests and confirm coverage exercises the validation paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.