mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-11-20 10:33:36 +00:00
8 lines
227 B
JavaScript
8 lines
227 B
JavaScript
|
Components.utils.import("resource://gre/modules/ctypes.jsm");
|
||
|
|
||
|
privateNoteIntentionalCrash();
|
||
|
|
||
|
var zero = new ctypes.intptr_t(8);
|
||
|
var badptr = ctypes.cast(zero, ctypes.PointerType(ctypes.int32_t));
|
||
|
var crash = badptr.contents;
|