From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by sourceware.org (Postfix) with ESMTPS id 633DE3858414 for ; Fri, 1 Mar 2024 00:27:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 633DE3858414 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 633DE3858414 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.219.175 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709252875; cv=none; b=MB/YNXktbxqBrFgyxYMFyyOV44OOZGXNqQs/3TUt/u7ksfIHkfzBIAbqN9khb3I0OZAfqNvD6DELzci4Cg5M0kQlGR9v8hogehrCBnRPWw7hzcPBkdCR8CcfCHuAyCXve2slvjYXH7hiuBz5pvX0cJCzpRSDFl8bBJvOfYstvQc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709252875; c=relaxed/simple; bh=f0aemWQV9yRgimvQYa+Yhcn3aWrsf1Ktla8UCiQzApE=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=dbvQEK1C1tmaJ2kjqZ9CKW1ZRLrTxqnBzQNKfVpiYzIOqiG/9oFoaCbXp8wH7/lbpB4Sr48klhRcjrh01FlsVKc7vOyMyNYZm1IwQ6NGfhfDz3HHrWc230OZQh2FShi1qlBG6E3R4hyp74qd3yyoiaYHKyAp4jmdX3MQfunG4MY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-dcbc6a6808fso1621729276.2 for ; Thu, 29 Feb 2024 16:27:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709252873; x=1709857673; h=to:subject:message-id:date:from:reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=f0aemWQV9yRgimvQYa+Yhcn3aWrsf1Ktla8UCiQzApE=; b=dUeWO/1lSxDrZxD7296Rlz5+MDl/P62Lbt4mPVL+0i0UZLdJBkpkGjafJZuG+KVmBx tVNA6XZTy3G/pk4tFBncfjpt7M7WMVBCFWnNqbdhI9oAkK62HiWvFE7DxAVtqyVyNjie ENiCmG8XzBMBj4uE0Pv7drrIjZeHZX+3LJb5ntzVt4d15/ymlfUIKgNPrR3WWZk8x3l6 QCcC3c4sOF1htjtgeEluUqN/2yMV4F95pdboHLKh7pR43s4m9u6mX3qiThcoYTR0EGmQ 4LicEE6wGlaZletXtQIbn7OX85a42pdBCr32xcwcbxjMuXa/e0I/rH7A4DhO1HeAzNae 64+A== X-Gm-Message-State: AOJu0Yzdhu+FIbb5meTe8fOhSVLz3g39MzNIrNusjvmFwG1jUPOx+l1R C236032jH+UdNIzw48aY/3t4VpVgP+jKtkPgH9W2CFJoZHcGuq54OLg/Ho/d X-Google-Smtp-Source: AGHT+IGEzBl/Ym48/x8xGDaXfoNnZu+qrJmUS4zlFmF4vuO8RxSiYJoFKJRELD3qoNr8pJ1L3WIUvg== X-Received: by 2002:a25:3cc3:0:b0:dc7:49a8:e148 with SMTP id j186-20020a253cc3000000b00dc749a8e148mr62094yba.27.1709252873462; Thu, 29 Feb 2024 16:27:53 -0800 (PST) Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com. [209.85.219.173]) by smtp.gmail.com with ESMTPSA id g2-20020a056902134200b00dcf27be1d1bsm569090ybu.28.2024.02.29.16.27.52 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Feb 2024 16:27:52 -0800 (PST) Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-dcbc6a6808fso1621717276.2 for ; Thu, 29 Feb 2024 16:27:52 -0800 (PST) X-Received: by 2002:a25:4b05:0:b0:dcc:7b05:4cbb with SMTP id y5-20020a254b05000000b00dcc7b054cbbmr29068yba.31.1709252872387; Thu, 29 Feb 2024 16:27:52 -0800 (PST) MIME-Version: 1.0 Reply-To: joel@rtems.org From: Joel Sherrill Date: Thu, 29 Feb 2024 18:27:40 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Interest in C11 Annex K Bounds Checking Interfaces To: Newlib Content-Type: multipart/alternative; boundary="0000000000004a43d406128e7287" X-Spam-Status: No, score=-3031.3 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,KAM_DMARC_STATUS,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 List-Id: --0000000000004a43d406128e7287 Content-Type: text/plain; charset="UTF-8" Hi C11 added the option of Bounds Checking versions of some common C Library functions. There are a couple of permissive licensed implementations out there. GIven that these are prototyped in normal header files, it would be best if these could be incorporated somehow into newlib. At a minimum, the prototypes for the new methods would need to be added with appropriate conditionals. On the high end of the project, I would like to see implementations of the functions in newlib. We are hoping a student will tackle this for Google Summer of Code. What are the newlib community's thoughts on this? Thanks. --joel --0000000000004a43d406128e7287--