From 97fb26e75402389ddce0beac48f2b733d83dd59c Mon Sep 17 00:00:00 2001 From: wargio Date: Thu, 28 Dec 2023 22:55:37 +0800 Subject: [PATCH] Fix deadlock --- src/core/Cutter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index 260d5cb28..a8e72c2e4 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -2793,7 +2793,7 @@ int CutterCore::breakpointIndexAt(RVA addr) BreakpointDescription CutterCore::getBreakpointAt(RVA addr) { CORE_LOCK(); - int index = breakpointIndexAt(addr); + int index = rz_bp_get_index_at(core->dbg->bp, addr); auto bp = rz_bp_get_index(core->dbg->bp, index); if (bp) { return breakpointDescriptionFromRizin(index, bp);