diff options
Diffstat (limited to 'arch')
| -rw-r--r-- | arch/riscv/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/src/lib.rs b/arch/riscv/src/lib.rs index da4c3115..f43f9bd3 100644 --- a/arch/riscv/src/lib.rs +++ b/arch/riscv/src/lib.rs @@ -2884,7 +2884,7 @@ impl FunctionRecognizer for RiscVELFPLTRecognizer { LowLevelILInstructionKind::SetReg(r) => match r.source_expr().kind() { LowLevelILExpressionKind::Load(l) => { let target_reg = r.dest_reg(); - let entry = match l.source_mem_expr().kind() { + let entry = match l.source_expr().kind() { LowLevelILExpressionKind::Reg(lr) if lr.source_reg() == auipc_dest => { plt_base } |
