From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 333DE4BB03 for ; Sat, 13 Jul 2024 21:13:14 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7099868DA36; Sun, 14 Jul 2024 00:13:11 +0300 (EEST) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9DEBB68D828 for ; Sun, 14 Jul 2024 00:13:04 +0300 (EEST) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-59559ea9cfdso3828216a12.0 for ; Sat, 13 Jul 2024 14:13:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720905183; x=1721509983; darn=ffmpeg.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=eDrFnmrVyaUQfx+0EpoeTENtSte23gv6zQ6yAvTybZA=; b=MIL4YQtgidq6iCpVou6Of3f/bxZd42SBPkH16BqGQ7NMZacr3LiiepgCWHkih37gDS Ct485Dm6STaKvrcgFDGvcB1CxIlL19CyDcSmOd9Xj8bILs3ECE4KXl43fnp2YJc+LaEy FTTai3exb1zv7FROlSZnyBD4fl62Hy8lrooEkoUNvR45WL/ZBZpGM8xxsKSP7JEA9A5m zLAwwc8/esVquo/63UDInhXjd3dZHITSaCZ9nIIy+6HzhKs2+MSC46P7iwV/OrK+q+hn xFA7HaZp4bxQGQNhsROLppmMoZKRNtJMw7rNrO+p5fktAzpyLTNohCXMxI8l3W0TEOqs VBvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720905183; x=1721509983; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eDrFnmrVyaUQfx+0EpoeTENtSte23gv6zQ6yAvTybZA=; b=GUgyZD/2VMz+Z+ipTTuWzWgTFCu75LJjsm91F+FM41esffWkSbWyYIDi3Da8HKxC4P P27q7czotcL8N3vQaWRjvvpV0DPZX0yK1bqROAn3xVtOw1kA7E/kAPssdRGk801jpBgt 0UrxnucHBj0xuPW4E3s21vtvhkxEtlQ4r9P3d2CClm73M/uXEIk6wuWKCGPVa1HuJZaA hT8GxMu47rZilMAtRg4faBlJMiCrMQtvzZ/2JXWXfjJY2RaUKU81rKNBxu7xL9czHxZe C82/Zhhw5QxSGjP2mfoBhW9rLlhEg3w1zspBPuQBsEgIEDkSqGkFL7IkO62Za32Qznee 6jTQ== X-Gm-Message-State: AOJu0Yx4KaND2K/rOGEg28/MaDeoaZQmxFmDLLD9LlUrywIGolarr/Ui y3BlYnxtFHtrtQlxWvAjtj92F5RqWtgZgAizRM7ZCXiHzqeGksot6O11fu/o83VeIfdRKMBAxE8 VbAKmhXeZiUHC2+dRnlelX2307f1q7c2r08M= X-Google-Smtp-Source: AGHT+IG2T/Wk/jnpG8jpExxDZPrI2CDw880ssm6ZQ2O/IZn9X2qIV24PghJe6tn1mo2Idlmvf7bsoeIin1K34rewfm4= X-Received: by 2002:a05:6402:27ce:b0:57c:80bf:9267 with SMTP id 4fb4d7f45d1cf-594baa8bc33mr12898599a12.6.1720905183230; Sat, 13 Jul 2024 14:13:03 -0700 (PDT) MIME-Version: 1.0 References: <20240626224510.GS4991@pb2> In-Reply-To: From: Kacper Michajlow Date: Sat, 13 Jul 2024 23:12:40 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [OSS-Fuzz] Have you considered enabling memory sanitizer? X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Thu, 27 Jun 2024 at 02:50, Kacper Michajlow wrote: > > On Thu, 27 Jun 2024 at 00:45, Michael Niedermayer > wrote: > > > > On Wed, Jun 26, 2024 at 09:07:42PM +0200, Kacper Michajlow wrote: > > > Hi, > > > > > > Like in the topic. I think it would be useful to enable MSAN on > > > OSS-Fuzz. We get some tiny issues and it would be probably good to > > > have them tracked upstream. All infra is here, so enabling it is as > > > simple as adding it to the project.yaml. Except libbz2.so and libz.so > > > would have to be built inline instead, looking at the build.sh, they > > > are prebuilt. The rest should just work (TM), but needs to be tested. > > > You can set an "experimental' flag to have it not create issues on > > > monorail, initially. > > > > I assumed ossfuzz would enable all sanitizers by default > > They do not do that by default, because MSAN requires all dependencies > to be instrumented too. See > https://google.github.io/oss-fuzz/getting-started/new-project-guide/#sanitizers > > Looking at build.sh for ffmpeg, it should be fine to enable it. > Obviously I have not tested everything, but I was running some tests > locally with MSAN and also tested it with mpv oss-fuzz builds where we > build ffmpeg too with MSAN. > > - Kacper I've sent a PR to enable MSAN and a few other build improvements. Please take a look https://github.com/google/oss-fuzz/pull/12211 Also, would it be ok to add myself to auto_ccs for ffmpeg? Mostly to monitor what issues are reported upstream, as we get some reports in mpv fuzzing and I never know if I should report it upstream (ffmpeg) or it is already found by first-party fuzzing and I shouldn't make more noise. - Kacper _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".