Feature request: Add functions to enumerate Toolhelp32Snapshot
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 3k
- Forks
- 300
- Avg merge
- 19h 12m
- Merged PRs (30d)
- 1
Description
Found myself often needed to enumerate modules/threads of a process, something you do with CreateToolhelp32Snapshot. Its current usage is a bit chunky with needing to first call xxxFirst followed with xxxNext. Everytime I just roll up a helper function to make the code more readable. As a result, a generic helper function for it would be great.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CreateToolhelp32Snapshot entry point and the existing xxxFirst/xxxNext usage described in the issue. Determine the helper shape for enumerating process modules and threads, then verify that callers can use the helpers without manually pairing the First and Next calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100