Once seccomp-bpf is stable on desktop, we'll have an opportunity to establish automated testing for the SIGSYS crash reporting. I'd have preferred to get testing in place back when the sandbox crash reporter integration first landed for B2G, but B2G had only mochitest-plain, which isn't good for tests that crash the entire content process. However, as pointed out by :ted on mozilla.dev.platform, on desktop there are browser-chrome tests that cover content process crash reporting and collection, and there's even a utility function for this kind of test. Currently it uses ctypes to dereference a bad pointer, but it could be modified to take an arbitrary frame script; invoking syscall(4000) should do the trick. : https://dxr.mozilla.org/mozilla-central/search?q=path%3Abrowser_*crash : https://dxr.mozilla.org/mozilla-central/rev/70e05c6832e831374604ac3ce7433971368dffe0/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm#758
You need to log in before you can comment on or make changes to this bug.