skeeto / skeeto/w64devkit

libasan? (for "built-in" address sanitization)

Open
#148 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
4.8k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

I've never actually used it, just tried to add -fsanitize=address after seeing it do its magic somewhere, but

g++ -g -fsanitize=address test.cpp

resulted in

ld.exe: cannot find -lasan: No such file or directory                                                                   

So, then I realized it's not actually built-in after all.

But could it be bundled in a future release?

Contributor guide

No contributing guide indexed for this repository

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 reproducing g++ -g -fsanitize=address test.cpp and inspect how w64devkit packages its compiler runtime libraries. Determine what is needed for the release to provide libasan, then verify that the command links successfully with the bundled files.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.