diff --git a/core/debuggercontroller.cpp b/core/debuggercontroller.cpp index 76c76c9..82d2480 100644 --- a/core/debuggercontroller.cpp +++ b/core/debuggercontroller.cpp @@ -2451,7 +2451,7 @@ static std::string CheckForLiteralString(uint64_t address) } if (ok) - return BinaryNinja::EscapeString(result); + return fmt::format("\"{}\"", BinaryNinja::EscapeString(result)); return ""; } @@ -2835,6 +2835,7 @@ bool DebuggerController::ComputeExprValue(const LowLevelILInstruction &instr, ui return true; } case LLIL_POP: + case LLIL_RET: { auto stackPointer = GetState()->StackPointer(); auto buffer = ReadMemory(stackPointer, instr.size);