From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com [209.85.128.179]) by sourceware.org (Postfix) with ESMTPS id 2B8883858D1E for ; Sat, 30 Mar 2024 17:01:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B8883858D1E 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 2B8883858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.128.179 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711818073; cv=none; b=Ux4xZjw7N1UvGTQDD46mn46As0RkOloM2jwPKKvVRRq6gkodBMeq+k472Jt5qJfNMANn6e6AMd6H6NS6erKBJhB/pwHZnmVrTAEOAELZWJ6nrp8zCbT1MVTK6JzlgO4d2Uh9vKhMhoLvWASaW+YX80PifDQLKxqtaRr0J4PDfWU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711818073; c=relaxed/simple; bh=EAFkDa3svnp+rDZrOSQTZLmzt/evAZCRBqLG8TJRp9M=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=cfKlzBVAq0W3WoKOlESiDihmLTyAPtKMRcK++qXTMUDWPa+ND4Mrrwa9BC8fQj+/ObllhSR27tInsOLw633sBjdRbt/u2p8iEYRsJvhRmR4vU0K5e2L9yKIVsZmKyUQTiMr4GIqlP8ttBfTh65BYjZrXGBu+VkWSve3VoE4P0U4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-6145a4c79cfso12718847b3.0 for ; Sat, 30 Mar 2024 10:01:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711818070; x=1712422870; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EAFkDa3svnp+rDZrOSQTZLmzt/evAZCRBqLG8TJRp9M=; b=KCxTAVGYmnkymBxjiynptsWZ6z/o+sfaukDVW4MVWEfPvc9vatgyhFgQBo1vL8MbOl y2vBaaWiQm+CRTAmaBHLylCMWbEWo+HzN0hzq3K5u5TLcVw5Ad8LJERNfONH4vKJq+Vr bM/85QmZ6vS2GFVI0ws+4HEv9AQJEfhbdY8LekbNrZHkPJ3OgeBDucBmaskIoxEHdD24 +7RYVEAkGM52l8PMjVP33mTPHtaGYArtGAaXZyV5efb7Y2vi9jhkrUqID3rJNfkl/TDJ GZU2hdZXWJui5koIQsKnI0Njcc9j9TWK6AE7FvN69d6RIZoFuIMs8ACb0MVm78DOYIMO Wn3g== X-Gm-Message-State: AOJu0Yzj9TG3R1r5Mnn8A7wBokvgmxxeWjCu3qfjs34imXwKzbFaoBLq jfyK9QLO12kTJ61BxKtoBx1d7dcRyXFnA8Nqc3x3v+r/V+XMHGAC2CPlW0Q6 X-Google-Smtp-Source: AGHT+IHWZg9dxKBWer55fd9aKewggw+sTivvcE0arTWOcspH6VX/Lzg2jUCsWt11FYZgderVr+iyqQ== X-Received: by 2002:a05:690c:1a:b0:614:74ba:f91c with SMTP id bc26-20020a05690c001a00b0061474baf91cmr2646789ywb.19.1711818070170; Sat, 30 Mar 2024 10:01:10 -0700 (PDT) Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com. [209.85.219.182]) by smtp.gmail.com with ESMTPSA id t192-20020a0deac9000000b006147910432fsm389189ywe.15.2024.03.30.10.01.09 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Mar 2024 10:01:09 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-dcbc6a6808fso2662495276.2 for ; Sat, 30 Mar 2024 10:01:09 -0700 (PDT) X-Received: by 2002:a25:b989:0:b0:dbd:8f9:a71 with SMTP id r9-20020a25b989000000b00dbd08f90a71mr4457814ybg.28.1711818069767; Sat, 30 Mar 2024 10:01:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: joel@rtems.org From: Joel Sherrill Date: Sat, 30 Mar 2024 12:00:58 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Interest in C11 Annex K Bounds Checking Interfaces To: Newlib Content-Type: multipart/alternative; boundary="000000000000f80ad20614e3b3be" X-Spam-Status: No, score=-3031.4 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 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: --000000000000f80ad20614e3b3be Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Anyone have thoughts on this? We have a student interested in this for GSoC. First steps are to make sure it works with RTEMS. But if merging into newlib is desired, then we need to know to plan for that. --joel On Thu, Feb 29, 2024 at 6:27=E2=80=AFPM Joel Sherrill wrot= e: > 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 > --000000000000f80ad20614e3b3be--