[cfe-dev] Why clang needs to fork into itself?

Yury Gribov y.gribov at samsung.com
Wed Jan 29 02:57:42 PST 2014


>> Ok, this could work. But are you sure that it'll always be possible to
>> run exec/CreateProcess from a crashed process?
>
> You can potentially do anything you want from the crashed process
> using a few tricks.
>But in this case it should be quite trivial.

I'm not sure e.g. exec calls realloc and I'm not sure what kinds of 
crazy stuff CreateProcess may want to do behind your back.

>> But how would we write a report without these?
>
> Using kernel methods directly.

What about Windows?

-Y



More information about the cfe-dev mailing list