FRIDA: Fix previous_pc constant (#988)

Co-authored-by: Your Name <you@example.com>
This commit is contained in:
WorksButNotTested 2023-01-05 11:20:06 +00:00 committed by GitHub
parent f27ca843e1
commit 266677bb88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ impl CoverageRuntime {
// Update the previous_pc value
; mov rax, QWORD prev_loc_ptr as *mut u64 as _
; mov ebx, WORD h64 as i32
; mov ebx, WORD (h64 >> 1) as i32
; mov QWORD [rax], rbx
// Restore the context