microsoft / microsoft/STL

`<deque>`: Investigate ASan annotations

Open
#4,996 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

ASan enhancement
Dominant language
C++
Stars
11.1k
Forks
1.7k
Avg merge
4d 15h
Merged PRs (30d)
22

Description

https://blog.trailofbits.com/2024/09/10/sanitize-your-c-containers-asan-annotations-step-by-step/ talks about some great work the LLVM folks have been doing enabling more ASan annotations in libc++. Notably they mention using new APIs added to the ASan runtime to add annotations to std::deque. Now that MSVC's ASan has been mostly upstreamed and we're all but living-at-head (Thanks @barcharcraz!) we should be able to annotate std::deque similarly.

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 with the linked Trail of Bits article, then inspect the MSVC STL implementation of std::deque and the newly upstreamed ASan runtime APIs. The issue names no files or tests; done means determining the applicable annotation approach and implementing or documenting the corresponding std::deque support.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.