VirtualMachineX86_64¶
-
class
tenjint.plugins.machine.
VirtualMachineX86_64
[source]¶ Virtual machine class for x86-64.
Attributes
Obtain the number of vCPUs that the VM has.
Get the size of the physical memory of the VM.
Methods
Initialize self.
VirtualMachineX86_64.cpu
(cpu_num)Get a virtual CPU (vCPU).
VirtualMachineX86_64.lbr
(cpu_num)Retrieve the Last Branch Record Stack (LBR).
VirtualMachineX86_64.lbr_disable
([cpu_num])Disable the Last Branch Record Stack (LBR).
VirtualMachineX86_64.lbr_enable
([cpu_num])Enable the Last Branch Record Stack (LBR).
VirtualMachineX86_64.load
(**kwargs)Load function
VirtualMachineX86_64.phys_mem_read
(addr, size)Read from the VM’s physical memory.
VirtualMachineX86_64.phys_mem_write
(addr, buf)Write to the VM’s physical mamory.
Uninit function
VirtualMachineX86_64.vtop
(addr[, dtb, cpu_num])Translate a guest virtual address to a guest physical address.