Is Safe Haskell intended to allow segfaults?

Brandon Allbery allbery.b at gmail.com
Wed Aug 10 02:52:11 UTC 2016


On Tue, Aug 9, 2016 at 4:19 PM, Edward Z. Yang <ezyang at mit.edu> wrote:

> If you can execute subprocesses, you could always spawn gdb to
> attach via ptrace() to the parent process and then poke around
> memory.
>

Don't even need that if you're just talking segfaults, you can always spawn
a subprocess "kill -SEGV $PPID" :)

Unless you have full control over all the code that could be run in
subprocesses, it's not going to be safe much less Safe.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20160809/fdeeacd1/attachment.html>


More information about the ghc-devs mailing list