News for hackers. Stuff that matters.
Re:Using QEMU-user emulation to reverse engineer binaries by akkartik on Wednesday May 05, 2021 @11:47AM (#27051420)
> The main use case for qemu-user is.. running programs for one CPU architecture on another.. most people don’t realize that you can run a qemu-user emulator which targets the same architecture as the host.

I believe there is one important caveat here: the OS has to stay the same.

https://superuser.com/questions/1355064/qemu-user-mode-emula...

Re:Using QEMU-user emulation to reverse engineer binaries by AnIdiotOnTheNet on Wednesday May 05, 2021 @11:55AM (#27051537)
True, but still neat. Frankly I think this kind of functionality should be built in to OSs. Why shouldn't I expect to be able to run code written for the same OS on two different architectures without recompilation?
Re:Using QEMU-user emulation to reverse engineer binaries by remram on Thursday May 06, 2021 @12:31PM (#27065704)
The kernel supports that via the binfmt_misc feature. On Debian you just have to install the packages: https://wiki.debian.org/QemuUserEmulation