Bug 1811304 Comment 3 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

FWIW this component (`processtools`) appears to be implementing a fairly simple XPCOM component in Rust which is doing nothing other than calling back into C++ to invoke Windows API or libc API methods - this is one of the uncommon situations where it would probably be simpler & safer to actually implement this component in C++, as that's the language which XPCOM components and the methods being called are native to.
FWIW this component (`processtools`) appears to be implementing a fairly simple XPCOM component in Rust which is doing nothing other than calling back into C++ to invoke Windows API or libc API methods - this is one of the uncommon situations where it would probably be simpler & safer to actually implement this component in C++, as that's the language which XPCOM components and the methods being called are native to.

I mostly note this because doing the dump-then-terminate approach may be easier to do from C++ code.

Back to Bug 1811304 Comment 3