Skip to content

Commit

Permalink
Remove extraneous println statement
Browse files Browse the repository at this point in the history
  • Loading branch information
mineo333 committed Apr 25, 2024
1 parent 95b7114 commit f255a82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libafl_frida/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ const X86_64_REGS: [(RegSpec, X86Register); 34] = [
(RegSpec::rip(), X86Register::Rip),
];


/// Get the value of a register given a context
#[cfg(target_arch = "x86_64")]
pub fn get_register(context: &CpuContext, reg: X86Register) -> u64
{
println!("{:?}", reg);
match reg {
X86Register::Rax => context.rax(),
X86Register::Rbx => context.rbx(),
Expand Down

0 comments on commit f255a82

Please sign in to comment.