Function ud_set_pc

Source
pub unsafe extern "C" fn ud_set_pc(ud: *mut ud, program_counter: u64)
Expand description

Sets the program counter (IP/EIP/RIP). This changes the offset of the assembly output generated, with direct effect on branch instructions.