This is a simple C program that will determine whether your environment is running under a binary translation layer. This is a type of software emulation that "translates" a different instruction set architecture for a different one in real time. For example, Microsoft XTA translates x86 code into ARM code.
This is mainly meant as just a fun and experimental program that I've developed while working on VMAware, a VM detection library. VMAware originally added binary translators as a detectable VM brand, but me and my co-developer ditched that idea as it was out of the scope of the project.
So instead of just removing them, I'm adding them in this separate repository as I figured it was interesting enough to have it published as a gimmicky and stupidly simple C side project for the sake of demonstrating that this is possible.
Does this have any practical implications? Absolutely fucking not. But hey, what's stopping people from making stuff out of pure curiosity, right?
For now, the program can detect 4 brands:
- Apple Rosetta
- Microsoft x86-to-ARM (also known as Microsoft XTA)
- Microsoft Prism
- PowerVM Lx86