Function x86_64::instructions::read_rip
source · pub fn read_rip() -> VirtAddr
Expand description
Gets the current instruction pointer. Note that this is only approximate as it requires a few instructions to execute.
pub fn read_rip() -> VirtAddr
Gets the current instruction pointer. Note that this is only approximate as it requires a few instructions to execute.