qemu ¤
Determine whether the target is being run under QEMU.
Classes:
Functions:
-
qemu_gdbserver_version–Returns QEMU version. Works since QEMU 10.1.0
-
is_qemu– -
is_usermode– -
is_qemu_usermode–Returns
Trueif the target remote is being run under -
is_qemu_kernel– -
is_old_qemu_user– -
exec_file_supported–Returns
Trueif the remote target understands the 'qXfer:exec-file:read' packet. -
get_qemu_machine–
QemuMtree ¤
QemuMachine ¤
Bases: Machine
Methods:
-
__del__– -
search_pids_for_file– -
get_qemu_pid– -
read_memory– -
read_physical_memory–Assumes each RAM chunk (defined by each line of the mtree output) is virtually contiguous on the host side
-
read_register–
Attributes:
search_pids_for_file staticmethod ¤
read_physical_memory ¤
Assumes each RAM chunk (defined by each line of the mtree output) is virtually contiguous on the host side Assumes any changes to the mtree output does not change the gpa2hva computed earlier, verified as follows: used -S to compare the mtree output during bootloading and when kernel has finished initialization
qemu_gdbserver_version ¤
Returns QEMU version. Works since QEMU 10.1.0
is_qemu_usermode ¤
Returns True if the target remote is being run under QEMU usermode emulation.
exec_file_supported ¤
Returns True if the remote target understands the 'qXfer:exec-file:read' packet. A check for this feature is done in vmmap code, to warn against running legacy Qemu versions.