microsoft / microsoft/react-native-windows

Try using ASan (C++ memory bug detector) for RNW

Open
#7,354 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Performance enhancement Workstream: Performance
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Address sanitizer is a standard tool for finding memory bugs for Clang/LLVM and now is supported by MSVC as well.
We should evaluate using it and seeing what we learn from it.
https://devblogs.microsoft.com/cppblog/address-sanitizer-for-msvc-now-generally-available/
https://docs.microsoft.com/en-us/cpp/sanitizers/asan?view=msvc-160

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

The issue names no files or tests; start by reading the linked MSVC AddressSanitizer documentation and locating RNW's C++ build and test entry points. Done means documenting whether ASan can be enabled for RNW and what memory bugs or limitations the evaluation reveals.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, react-native
Domain
testing-qa, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.