From patchwork Wed Apr 18 12:22:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 900085 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-476554-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="EsGQUE+U"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40R1Tv53Gzz9s4c for ; Wed, 18 Apr 2018 22:22:41 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=Pv2OyKLoy/NVn7JUt1ZRpvpkTQ4RifRFFv+ymWmqqMB75aOPw1 YUr+dzG4poH1CyG2vEGhaGULJjrFVORIoBgJXMwM8itSwDNzcyHOB6W4BhNTnAxq 6+vvs06XeOWzWPBMbGU1qRjr+4oDAob5o+irsX2cD+Z8XZto9OzbEcY1o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type; s= default; bh=LPQVVEHvaByIFTO6oTmYopp9x/Y=; b=EsGQUE+U7ir34d1Fz77x 8RVayF2PZ+9KqNdJGxursmOnJEb7WgRts1l4EJ3zsWIMTbIHXVrYHnI6On+O7tXI SZXbhtqtHo90eLcLZ8OKOSxffEJ5nMUqqRxrcJzkA8MISycgVoGRbBX6Y0VEeJGH N99nIgzv0gtgSUhpTrQNCRs= Received: (qmail 14133 invoked by alias); 18 Apr 2018 12:22:34 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 14120 invoked by uid 89); 18 Apr 2018 12:22:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, SPF_PASS autolearn=ham version=3.3.2 spammy=blockquote X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Apr 2018 12:22:32 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D8C23AEB2; Wed, 18 Apr 2018 12:22:29 +0000 (UTC) To: GCC Patches Cc: Gerald Pfeifer From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [wwwdocs] Add no_sanitize attribute Message-ID: <1ad45e0c-b5a2-872d-089e-0a9e4c66b525@suse.cz> Date: Wed, 18 Apr 2018 14:22:27 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 X-IsSubscribed: yes I would like to mention the attribute in GCC 8 changes. Martin Index: htdocs/gcc-8/changes.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v retrieving revision 1.67 diff -r1.67 changes.html 255a256,266 >
  • > New no_sanitize attribute has been added. The attribute > on functions is used to inform the compiler that it should > not do sanitization of all options mentioned in sanitize option. > A list of values acceptable by -fsanitize option can be > provided. >
    >     void __attribute__ ((no_sanitize ("alignment", "object-size")))
    >     f () { /* Do something. */; }
    >     
    >