4 ms·
Is there something we can do to help, short off diving into reverse engineering?
by Aeolos 5y ago
Is there something we can do to help, short off diving into reverse engineering?
- marcan_42 5y agoReverse engineering isn't that scary! Seriously though, a big part of my role in the first year has been building tooling to make that part of the process efficient and enjoyable for everyone. We have a Python REPL for interacting with the bare metal hardware, scaffolding for building prototypes of hardware drivers in it (e.g. register and register map definitions), things like the ability to run functions on another CPU core for SMP tests, hardware exception handling so it's actually hard to crash and have to reboot, and even a hypervisor that can run full macOS and inspect all of its hardware accesses, with a rich event tracing framework that goes from raw register maps to coprocessor message passing to decoding remote procedure calls with C++ argument unmarshaling between firmware and the OS, in both directions. All controlled from any host machine running Linux or macOS, over a simple USB connection with the target.
- gigatexal 5y agoHoly smokes! I had no idea, but honestly, that makes a ton of sense. Something that's always fascinated me are drivers -- those lowlevel bits of software make everything so nice. Sucks when something isn't supported. But it's one thing to take a spec and having docs and things to write one but soemthing clearly more amazing to have to reverse engineer something and then write a driver for it.