News for hackers. Stuff that matters.
Re:DIY: kernel panic OS X and iOS in 10 LOC by oleavr on Saturday February 21, 2015 @08:50AM (#9085498)
The screen turns blue – yes, blue, not joking – for a brief moment, and the system reboots. :)
Re:DIY: kernel panic OS X and iOS in 10 LOC by ttflee on Saturday February 21, 2015 @09:49AM (#9085641)
Is it 64-bit only? Which hardware are you using for this test?

EDIT:

I cannot reproduce on iPhone 5 which is NOT running any 64-bit kernel.

Re:DIY: kernel panic OS X and iOS in 10 LOC by oleavr on Saturday February 21, 2015 @09:57AM (#9085659)
I only tested it on 64-bit systems, where it triggers the kernel panic from both 32- and 64-bit processes (i386, x86_64, arm, and arm64). Hardware-wise it crashes every single device I've tried (MacBook Pro, iMac, iPhone 6, etc.), so this is not tied to any specific hardware.
Re:DIY: kernel panic OS X and iOS in 10 LOC by oleavr on Saturday February 21, 2015 @10:04AM (#9085671)
Aha, interesting. Does the program crash or exit gracefully?
Re:DIY: kernel panic OS X and iOS in 10 LOC by ttflee on Saturday February 21, 2015 @11:28AM (#9085914)
Debugging with lldb: no crash; Running from springboard: EXC_BAD_ACCESS (SIGKILL - CODESIGNING)
Re:DIY: kernel panic OS X and iOS in 10 LOC by oleavr on Saturday February 21, 2015 @08:15PM (#9087766)
Just heard from Tyilo, in #frida on irc.freenode.net, that replacing mach_vm_* with vm_* makes the test-case work on 32-bit devices, where apparently mach_vm_* are missing.