panda_current_pc

Function panda_current_pc 

Source
pub unsafe extern "C" fn panda_current_pc(cpu: *mut CPUState) -> u64
Expand description

panda_current_pc() - Get current program counter. @cpu: Cpu state.

Note that Qemu typically only updates the pc after executing each basic block of code. If you want this value to be more accurate, you will have to call panda_enable_precise_pc.

Return: Program counter is returned.