Also see Unicorn (https://www.unicorn-engine.org/), a QEMU-based emulator-as-a-library that handles a wide range of processors (ARM, AArch64, x86, x64, PowerPC, MIPS, SPARC, …) and comes with bindings for many popular languages (C, Python, Rust, Java, …).
Unicorn is used quite widely for reverse engineering and malware analysis; the Qiling project (https://qiling.io/) extends it to OS-level emulation.
Unicorn is used quite widely for reverse engineering and malware analysis; the Qiling project (https://qiling.io/) extends it to OS-level emulation.