PHIPS BLOG

  •  Home
  •  Get To Know Me

debugging

Programming & DevOps

How to Find Out if a Binary Runs Inside QEMU

In the previous blog post we talked about how to use QEMUs debugcon feature. To do this responsibly, we should only do this if the binary runs in fact inside QEMU. To find this out, one can use the cpuid instruction. It gives us a lot of information about our Read more…

By Philipp Schuster, 4 years2021-07-07 ago
Programming & DevOps

How to Use QEMUs “debugcon”-device (and Write Debug Information to the Terminal or a File)

Update 2024-01-30: The same underlying mechanism was just merged in Cloud Hypervisor as well! It is exposed as –debug-console <target>. This article mostly applies to Cloud Hypervisor as well. Problem: Getting Early Debug Output as Kernel Developer QEMU is a VMM often used for low-level OS/kernel development and testing. When Read more…

By Philipp Schuster, 4 years2021-07-07 ago

Because this blog is a few years old and used to be a more or less personal german blog, old posts are in german. Newer posts are in english.

  • Impressum
  • Datenschutzerklärung
Hestia | Developed by ThemeIsle