Skip to content

Commit

Permalink
FRIDA: Fix previous_pc constant (#988)
Browse files Browse the repository at this point in the history
Co-authored-by: Your Name <you@example.com>
  • Loading branch information
WorksButNotTested and Your Name committed Jan 5, 2023
1 parent f27ca84 commit 266677b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libafl_frida/src/coverage_rt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 266677b

Please sign in to comment.