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 7AAB04B06B for ; Thu, 27 Jun 2024 00:51:36 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 1F1F768D71E; Thu, 27 Jun 2024 03:51:34 +0300 (EEST) Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7A6EF68D713 for ; Thu, 27 Jun 2024 03:51:26 +0300 (EEST) Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-700d29d405bso612329a34.3 for ; Wed, 26 Jun 2024 17:51:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719449484; x=1720054284; 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=l4qcibHCdjLUFLvb5iB9rkr+ZBCSsjfDdZ2/rAglZ3o=; b=Ub0UplpUwKn+2AWoX/LvuMHR90LX9bl5IkVfmaPsxO7jw1Z9tlLTI5WlEhRuZKWwZt FXUkIn/xcuROvhIMnXq/8fx++wwIw8aRGhbGurtYZn/B/VKYhnuSKiKfNGHZJ64ug1A6 yOv8qO7g74vSw1D0VmB17Z3gmz/mqhi/reVH+WrF32gso8th2jxgtYKqYWGqBlaC9iL9 ELWCxXRKPpPPAjujxVhTRcx+kvTBp9WLMyZGfH7aV5NjOpiKyxyEdUPdDdQN+8sLX39o 6nSeJ2XOMv755fVsEdUmBSunP04FfDco16r5cNPWsjBG/xbSEdtiuaUi1eENm2DMbYXw 8Eww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719449484; x=1720054284; 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=l4qcibHCdjLUFLvb5iB9rkr+ZBCSsjfDdZ2/rAglZ3o=; b=Ioj2ZW68Kxq0VAWS7S/emNIXLVP+iyoBuLrYdlmcto4/mDldeWx6wfHTN4HtwyS78T wzQRuMf3m+mfFU23shoGHOkxNkJVMdlVE9aJLw10fiPlsO8grIrCoHf8R5ytNdsuZfjJ 242acEUIIGeUngdMSeMUqknrRqRHOsrmYUoMBfUL4TjrZOI2wufCV31NwyztmgmkOjkm /GL63iXkYGxPUwwJTFGBV1AREGQ1/ttRsAohV+UbTjHTatyBCbBW3YDsC6PjCHBs9TGK i4MNEzmAwxKgbdId0lJkADDPJhSMMXbBgzef1V/isPtgTbjOKrVBScM0LmDjhDHXtRYi /jLw== X-Gm-Message-State: AOJu0Yzb0nfhQ2j6H5hm/RSwYkoMOqkWe80CxGlCJyyBPaAtp7tWxEXg imX3hlsD6bdtimCA6r+3ytTLwXWFAW0fuXcp1nKSLBtygDKe0Eo1JzyUlK3FBmcLWO8LmZGoWuZ 2VPX7yunLOlAs0woa/kcAaLBio+SssFOL X-Google-Smtp-Source: AGHT+IHhbEnWhrDtrxdzW2ZAvw1U5e1laFj1wDoyRxcJyXJ5ZRSUQGawnXMWCnRZm3Qsz44lYIchoEvpDgvT7GA96Jg= X-Received: by 2002:a05:6870:b6a1:b0:25c:cb34:918b with SMTP id 586e51a60fabf-25d06c1c89fmr12952820fac.17.1719449483889; Wed, 26 Jun 2024 17:51:23 -0700 (PDT) MIME-Version: 1.0 References: <20240626224510.GS4991@pb2> In-Reply-To: <20240626224510.GS4991@pb2> From: Kacper Michajlow Date: Thu, 27 Jun 2024 02:50:54 +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 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 _______________________________________________ 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".