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

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

Nobody has claimed this yet.

Assessment

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

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.

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?

Dominant language
C
Stars
4.8k
Forks
381
Avg merge
45m
Merged PRs (30d)
1

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.

More from skeeto/w64devkit

All issues in skeeto/w64devkit

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.