Page MenuHomePhabricator

dxf (David Finkelstein)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 15 2016, 9:36 AM (308 w, 2 d)

Recent Activity

Jun 11 2022

dxf updated subscribers of D127571: Initiating a RISC-V port of llvm-libc.

@lntue

Jun 11 2022, 11:51 AM · Restricted Project, Restricted Project

Jun 10 2022

dxf added a comment to D127517: [libc] add integer writing to printf.

You could certainly do something like that.

Jun 10 2022, 5:58 PM · Restricted Project, Restricted Project
dxf added a comment to D127517: [libc] add integer writing to printf.

FORTIFY_SOURCE support has typically been provided through a combination of compiler and libc support (e.g. gcc and glibc, Clang and bionic). Multiple applications can link against the same libc, and some will want the FORTIFY_SOURCE versions and some will not, but all user code still just wants to call "mempcpy()" or whatever. When FORTIFY_SOURCE is enabled, the compiler can know to pick the _chk versions of the functions (and do some other work as well).

Jun 10 2022, 2:43 PM · Restricted Project, Restricted Project
dxf added a comment to D127517: [libc] add integer writing to printf.

Clang can also do things with _FORTIFY_SOURCE:
https://reviews.llvm.org/D58797

Jun 10 2022, 2:04 PM · Restricted Project, Restricted Project
dxf added a comment to D127517: [libc] add integer writing to printf.

I know that you are tied to the standards. Maybe expose llvmllibc extensions of safe or hardened functions, e.g., save_printf.

Jun 10 2022, 1:30 PM · Restricted Project, Restricted Project

Feb 28 2020

dxf updated subscribers of D75355: [libc] Provide Arm Optimized Routines for the LLVM libc project.
Feb 28 2020, 8:33 AM