tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Auxiliary header and macros for sanitizers in userland programs



Kamil Rytarowski <n54%gmx.com@localhost> wrote:

> We've faced a problem with sanitizing part of the NetBSD userland, as we
> need to use helper functions to make sanitization possible in some
> narrow cases that aren't clear for sanitizers.
> 
> The current problem is the usage of callback functions defined in
> programs and executed from the internals of libc.
[...] 
> Once a callback function is executed from the internals of libc, a
> sanitized program does not know whether the arguments passed to it are
> properly initialized.

Why?  What makes calling from libc special?  It's probably obvious to
you since you've been workign on this for a while, but most of us have
no clue.

-uwe



Home | Main Index | Thread Index | Old Index