public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Interest in C11 Annex K Bounds Checking Interfaces
@ 2024-03-01  0:27 Joel Sherrill
  2024-03-30 17:00 ` Joel Sherrill
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Sherrill @ 2024-03-01  0:27 UTC (permalink / raw)
  To: Newlib

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interest in C11 Annex K Bounds Checking Interfaces
  2024-03-01  0:27 Interest in C11 Annex K Bounds Checking Interfaces Joel Sherrill
@ 2024-03-30 17:00 ` Joel Sherrill
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Sherrill @ 2024-03-30 17:00 UTC (permalink / raw)
  To: Newlib

[-- Attachment #1: Type: text/plain, Size: 966 bytes --]

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 PM Joel Sherrill <joel@rtems.org> wrote:

> 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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-30 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-01  0:27 Interest in C11 Annex K Bounds Checking Interfaces Joel Sherrill
2024-03-30 17:00 ` Joel Sherrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).