From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 5ED143858D20 for ; Fri, 29 Mar 2024 19:16:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5ED143858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=chromium.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5ED143858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::533 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711739812; cv=none; b=v6Cb0Eo7zpOb8l8c/rVIxyWJkMJVTM13aybwil5MCmi9u34+kFX1lydqFe4Y7BqP6oWoRvdye2mF9aCPZGadYlGIuZQX7HvQYYhNky5LgTnSki176sjLpI1jFfz7m3ETvQEW+uY60oP0zDVFataUXSbO5nnp9ianO3jQjXMWLOM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711739812; c=relaxed/simple; bh=mN713iqCGeTzQr9XKD1+7qdhsqsbDFH9vJSCL8SgOT4=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=MTYxbr47W7kyj0xTYdn6OiB2IP53ASTgH/d+3Tr+Nl7JqnRr71cYBtnVWWaRusWR8cr20dkZlPOFBjK4rdd/QHilgAw2HK66jGGUc6/W285qw0p+0z5N5i53i/YzHw8iQmbjzXWv9oEczNXgoAUT3hShdGCIFaF9gDniVKlmaYQ= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pg1-x533.google.com with SMTP id 41be03b00d2f7-5e152c757a5so1425017a12.2 for ; Fri, 29 Mar 2024 12:16:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1711739809; x=1712344609; darn=gcc.gnu.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ztSRmH+ljajIoUm2h26Kf8jqMDtau8LXC0MjqEJiy8Q=; b=BduJ1wJpU7xSOosMIfXzaLfKJUsPD/PbvK9Tng9xdpw//cQOuvXFTPfL4V9Sw80ix+ gfHvNPpIiHF1gOfE+NT0SO7S8vm8EANmMF7770dGVmSz/lND+SuI15a9KGBeP4UHhYbu F2ha+gtQFYn/v4YruQN5lyHEnGuWyqJ5lHorw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711739809; x=1712344609; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ztSRmH+ljajIoUm2h26Kf8jqMDtau8LXC0MjqEJiy8Q=; b=hvzSPls2iA8Nfu77PbMxpvYG5+JWiMCqknxgRlv6B5xUOBInTXGegbn3fNXWBjzDTJ KMCftOzVi29SfLTv6vq5PFo9gPjmTc0ylrXDImnzrbaHPbKWbUDdRBaA2e4QNZ3ddFNb 10Ix/W/1zUp/RaTOB5/+25Elcox9605besmSkXJtwx3SlHDFrY1HXRsE6b3DJ2hX9LGv FiZl8JE5Jxu/0dVvVo+RXisgfj8/aeLnN4kMaHW/ZaWek/Nh25LvrIimn0hr2U9G4iLd Trw4VppX4Yp7bCkuysgazuOdxUQZv60a/d89b18fj0TjW5IvVevPqKjlUDw7yr6qTvfm uCJA== X-Forwarded-Encrypted: i=1; AJvYcCUwnKh3EhqQKk4cjbloefXsSG23d4NwF01QiGMVMoMjKmMAdqT6+fx4elssRQZRcMiPwNR0YnFW0u89NI2FWaRlUqhBEH04ag== X-Gm-Message-State: AOJu0Yxe63A+LfN+fMerD7ArqY5KB5t3esl7zAe7UM4ZHtM9BlvirUSr ek+Ua/gi5f/e9nub/rOFjPgRfoSj/YmIswJkJvWLCCSeF0S0QP4ZJi/uKE+jR7SnTcBqpS7KsXU = X-Google-Smtp-Source: AGHT+IGKzSV+fe0MuZpZ67MTOG3kPixpi6imxKOZSf7w8NUcymKebWhJSbDaxtMZ4mxNBBEenODIpA== X-Received: by 2002:a17:90a:39cd:b0:2a0:49a7:f22e with SMTP id k13-20020a17090a39cd00b002a049a7f22emr2813004pjf.7.1711739809104; Fri, 29 Mar 2024 12:16:49 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id cm3-20020a17090afa0300b0029951d04dc4sm3280341pjb.54.2024.03.29.12.16.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 12:16:48 -0700 (PDT) Date: Fri, 29 Mar 2024 12:16:47 -0700 From: Kees Cook To: Tom Tromey Cc: Qing Zhao , josmyers@redhat.com, richard.guenther@gmail.com, siddhesh@gotplt.org, uecker@tugraz.at, isanbard@gmail.com, gcc-patches@gcc.gnu.org Subject: Re: [PATCH v8 0/5] New attribute "counted_by" to annotate bounds for C99 FAM(PR108896) Message-ID: <202403291215.BEE1F60@keescook> References: <20240329160703.4012941-1-qing.zhao@oracle.com> <87jzlkc3lg.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87jzlkc3lg.fsf@tromey.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Mar 29, 2024 at 12:09:15PM -0600, Tom Tromey wrote: > >>>>> Qing Zhao writes: > > > This is the 8th version of the patch. > > > compare with the 7th version, the difference are: > > [...] > > Hi. I was curious to know if the information supplied by this attribute > shows up in the DWARF. It would be good if it did, because that would > let gdb correctly print these arrays without user intervention. Does DWARF have such an annotation? Regardless, I think this could be a future patch to not hold up landing the initial feature. -- Kees Cook