From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QhDPD4clh2VRlygAWB0awg (envelope-from ) for ; Sat, 23 Dec 2023 13:23:03 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=TmZv1NMv; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 31A881E0C3; Sat, 23 Dec 2023 13:23:03 -0500 (EST) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 02DC91E0AC for ; Sat, 23 Dec 2023 13:23:01 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 59F56385828C for ; Sat, 23 Dec 2023 18:23:00 +0000 (GMT) Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) by sourceware.org (Postfix) with ESMTPS id C44A53858D3C for ; Sat, 23 Dec 2023 18:22:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C44A53858D3C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C44A53858D3C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703355764; cv=none; b=XuT/O/5SGPkiFw0jxoXWxINg9YiTLAubLflMVx9NsGfh7egsJbb23Jh2SWVnQ5dQDPYuX7SV2Rm9VHWt4gAPJ+azaqy5vw/BbiKu80T7XDKePWfEjHcXovR2F4cL+1vzTmcp3Kt0eNNzua2cSe/IWqHWVN2sCdKARXHPN0Kdn8U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1703355764; c=relaxed/simple; bh=Ro0gvax036UwhZMcpVUad4c3XDuXx0uPueGfk2XBIkU=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=NeFvTcdw03wqf8ITuaMMm8J4mXCRza1UcsMScCeQIL0WLjeTraDV8xGzVhX/EJ7l+KKS8+nVdV9hmQ4rzplzQY3plLOZfjmW/Do39Uk+ix+IknkXMzt6fWqQm9gmxC2BsXffjlgRheLRi0Ujob5zhtXdB9RM4rkbXecNjG3UGCw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5010a.ext.cloudfilter.net ([10.0.29.199]) by cmsmtp with ESMTPS id H4hPrWHBm6nOZH6e2riTEI; Sat, 23 Dec 2023 18:22:42 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id H6e1rTnWZhDnyH6e1ruO9D; Sat, 23 Dec 2023 18:22:41 +0000 X-Authority-Analysis: v=2.4 cv=fda+dmcF c=1 sm=1 tr=0 ts=65872571 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=e2cXIFwxEfEA:10 a=Qbun_eYptAEA:10 a=CCpqsmhAAAAA:8 a=hdgiSwGCfqu9GH7e9PcA:9 a=ZXulRonScM0A:10 a=ul9cdbp4aOFLsgKbc677:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=EniEkIh1ZD/+PyII7oaei6LecTlK/+hzd8PgthBYzMM=; b=TmZv1NMvpZaG9SNJARbbozlx8X 61i+WUVmtN3RIkKQcaolTQZbQmXCZRjvV4NWsojCK2AQBh8g/3hPF6sUFefEn1rvoJL1ONF6VTbFf eOP33AzLZ+BGU1Oys44I8oRFo; Received: from 71-211-161-25.hlrn.qwest.net ([71.211.161.25]:59938 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rH6e0-003sWj-3A; Sat, 23 Dec 2023 11:22:41 -0700 From: Tom Tromey To: "Schimpe, Christina via Gdb" Cc: "Schimpe, Christina" Subject: Re: Shadow stack backtrace command name References: X-Attribution: Tom Date: Sat, 23 Dec 2023 11:22:39 -0700 In-Reply-To: (Christina via Gdb Schimpe's message of "Wed, 20 Dec 2023 09:42:39 +0000") Message-ID: <87a5q0eq34.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 71.211.161.25 X-Source-L: No X-Exim-ID: 1rH6e0-003sWj-3A X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-161-25.hlrn.qwest.net (prentzel) [71.211.161.25]:59938 X-Source-Auth: tom+tromey.com X-Email-Count: 1 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfGoA2PnWxxfj7P0C8px6Fv65VWeTNo5IO05d7qYpJwdszIhk1QAbzVwtTwEd2/ux+HxF9VxnEIe23eP5TLLwY43tUKvhw4+4EcqRdr2RBem9YP4w5X5S PRGPJi+z4tosTn3XZ/QOfs05olu1aJBDkY52+B4QITCNuTBPNUujlKwaT7PoTPuzd8Ai7B3FXpRU4A== X-Spam-Status: No, score=-3016.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, JMQ_SPF_NEUTRAL, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" >>>>> Schimpe, Christina via Gdb writes: > A shadow stack is a second stack for a program introduced in the Intel (R) > Control-Flow Enforcement Technology (CET). The shadow stack is used for > control transfer operations to store the return addresses. One question I had is when, as a gdb user, would I want to see this information? > It is configurable using "print symbol-filename" and COUNT. > The command can be called by the following names: > - "info shadow-stack bt", "info shadow-stack backtrace" Like others in the thread, I'm -1 on "info" as a prefix. I liked "bt -shadow", but I was also wondering if the information should just be integrated into the ordinary backtrace when available... that's why I'm wondering when I'd want to see this. Tom