Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about memory-sanitizer

Read more about memory-sanitizer

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - memory-sanitizer

How do I tell clang memory sanitizer to ignore data from certain libraries?

For example I'd like to ignore sqlite and zlib because I know they're well tested. I grabbed the zpipe.c example and built it like this. Keep in mind I'm using -lz and not building zlib myself. I'm on...
test-img

Eric Stotch

clang

sanitize

memory-sanitizer

Votes: 0

Answers: 1

Latest Answer

You can use an ignore list file. https://clang.llvm.org/docs/SanitizerSpecialCaseList.html Usage: clang -fsanitize=address -fsanitize-ignorelist=ignorelist.txt foo.c See the documentation for detail...
test-img

optimus_prime

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved