Skip to content

Harden clang tooling inputs against ASan use-after-poison by removing non-owning string views#16

Closed
Copilot wants to merge 3 commits intomasterfrom
copilot/fix-asasny-reports
Closed

Harden clang tooling inputs against ASan use-after-poison by removing non-owning string views#16
Copilot wants to merge 3 commits intomasterfrom
copilot/fix-asasny-reports

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 19, 2026

  • Revert the incorrect string_view → string API changes (bug is in LLVM, not in our code)
  • Add __asan_default_options() returning "allow_user_poisoning=0" to suppress the LLVM-internal BumpPtrAllocator ASan false positive
  • Run parallel_validation to confirm no regressions (0 CodeQL alerts, no substantive review comments)

Copilot AI linked an issue Apr 19, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/Cpp2Rust/cpp2rust/sessions/b35e24ce-b7f8-4f5a-97dd-80c8f5f18730

Co-authored-by: nunoplopes <2998477+nunoplopes@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix AddressSanitizer use-after-poison error Harden clang tooling inputs against ASan use-after-poison by removing non-owning string views Apr 19, 2026
Copilot AI requested a review from nunoplopes April 19, 2026 21:03
@nunoplopes nunoplopes closed this Apr 20, 2026
@nunoplopes nunoplopes deleted the copilot/fix-asasny-reports branch April 20, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Asan report

2 participants