Ted Mielczarek
Ted Mielczarek
FWIW I was able to load this extension as-is in Firefox 75 from master just now.
Just as a note about prior art, Apple stopped shipping .dylibs in their SDKs a while ago in favor of "TBD files" which are just YAML descriptions of shared libraries...
I'd like to throw in the obligatory mention of [test-assembler](http://luser.github.io/rust-project-docs/test-assembler/test_assembler/) which is designed exactly for this use case. I originally wrote it as a port of the C++ implementation that...
Similarly, Gankra recently refactored the `synth-minidump` code I had written in the `minidump` crate out to a separate (test-only) crate so it could be more easily used across the various...
I've used `failure` in a few projects now and it's pretty great. It feels similar to `error-chain` but with a bit less magic. You could probably start using it now...
> I think we wouldn't want to use failure::Error in this crate, but instead #[derive(Failure)] on a custom error enum. Yeah, that's what I was suggesting, just deriving `Fail` on...
Oh, I forgot to mention, but we have a little C++ utility in the Firefox codebase that does this exact thing, and it just memmaps the PE file and casts...
Humorously, I already wrote some code in `object` to handle `LC_UUID`: https://github.com/gimli-rs/object/blob/0fb54d82c755e317b96d4b0d57714028d05ad95c/src/macho.rs#L217 I'm not sure ELF Build IDs can be usefully be handled as UUIDs, the actual contents of the...
So I started implementing this, and got hung up a bit on the `LC_UUID` part because `UuidCommand` derives Pread et. al. so we can't use `uuid::Uuid` directly there. I fell...
> One other thought - it's possible that this is actually a Rust bug of course, and rustc is generating bad debugging information in the binary... FWIW, I dealt with...