Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
86% Positive
Analyzed from 1058 words in the discussion.
Trending Topics
#qemu#unicorn#https#emulator#hardware#code#reverse#plugins#memory#something
Discussion Sentiment
Analyzed from 1058 words in the discussion.
Trending Topics
Discussion (31 Comments)Read Original on HackerNews
[1] https://www.qemu.org/docs/master/devel/tcg-plugins.html
[2] https://gitlab.com/qemu-project/qemu/-/tree/master/contrib/p...
[1] https://gitlab.com/qemu-project/qemu/-/work_items/1896
You usually use it to build your own emulator or other analysis tool, often for reverse engineering.
[0] https://github.com/qilingframework/qiling
It felt like science fiction watching Codex write unicorn to host binaries and reverse engineer them.
What?
In the early 2000s, I used a linux-based emulator to virtualize some ancient manufacturing hardware control software that was still running on EOL and very expensive PA-RISC kit. It saved the company tens of thousands of dollars in new hardware, while also running faster (it involved early 1990s-era proprietary vector graphics as part of it was printing on the goods). The HP sales people were not amused and tried very hard to get my 22 year old self fired, but my manager convinced them to use it and the old hardware as a backup for awhile. Last I heard in 2011 it was still being used, though running in linux on VMware.
QEMU is an emulator that can run entire operating systems, because it emulates hardware devices like hard drives and displays. Unicorn doesn't emulate any of those things, it only emulates the CPU. It's probably mostly useful for compiler development and security research / reverse engineering.
The ability to execute and inspect some code without any context (no OS, not even a complete binary) is useful for reverse/security engineering.
Or you can use it as a sandbox serving x86 software on an x86 machine.
Or as a "virtual machine" serving say AOSP for ARM on a Windows x86 host.
There's a long list of projects using Unicorn at https://www.unicorn-engine.org/showcase/
Qemu supports RV and PPC!
And that is not what “from scratch” means!