From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10442 invoked from network); 19 Sep 2021 15:47:36 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 19 Sep 2021 15:47:36 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 8EAA89CADB; Mon, 20 Sep 2021 01:47:29 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id EEEAC9CAB3; Mon, 20 Sep 2021 01:46:46 +1000 (AEST) Received: by minnie.tuhs.org (Postfix, from userid 112) id D3A3A9CAB3; Mon, 20 Sep 2021 01:46:43 +1000 (AEST) Received: from freefriends.org (freefriends.org [96.88.95.60]) by minnie.tuhs.org (Postfix) with ESMTPS id 892BB9CAB2 for ; Mon, 20 Sep 2021 01:46:41 +1000 (AEST) X-Envelope-From: arnold@skeeve.com Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 18JFkYZO012461 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 19 Sep 2021 09:46:35 -0600 Received: (from arnold@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 18JFkY8h012460; Sun, 19 Sep 2021 09:46:34 -0600 From: arnold@skeeve.com Message-Id: <202109191546.18JFkY8h012460@freefriends.org> X-Authentication-Warning: frenzy.freefriends.org: arnold set sender to arnold@skeeve.com using -f Date: Sun, 19 Sep 2021 09:46:34 -0600 To: tuhs@tuhs.org User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [TUHS] Thompson trojan put into practice X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" This is FYI. No comment on whether it was a good idea or not. :-) Arnold > From: Niklas Rosencrantz > Date: Sun, 19 Sep 2021 17:10:24 +0200 > To: tinycc-devel@nongnu.org > Subject: Re: [Tinycc-devel] Can tcc compile itself with Apple M1? > > > Hello! > > For demonstration purpose I put my experiment with a compiler backdoor in a > public repository > https://github.com/montao/ddc-tinyc/blob/857d927363e9c9aaa713bb20adbe99ded76ac615/tcc-evil/tinycc/libtcc.c#L989 > > It's part of my academic project to work on provable compiler security. > I tried to do it according to the "Reflections on Trusting Trust" by Ken > Thompson, not only to show a compiler Trojan horse but also to prove that > we can discover it. > What it does is inject arbitrary code to the next version of the compiler > and so on. > > Regards \n