From ddacbd78280a62b48fbacfce382cc09b0f86d8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sat, 25 Jun 2022 15:20:50 +0200 Subject: [PATCH] Extend blocksize to work around pdJ printing to few lines (#2984) --- src/core/Cutter.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index abb86e4b..76397be8 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -219,6 +219,11 @@ void CutterCore::initialize(bool loadPlugins) // Otherwise Rizin may ask the user for input and Cutter would freeze setConfig("scr.interactive", false); + // Temporary workaround for https://github.com/rizinorg/rizin/issues/2741 + // Otherwise sometimes disassembly is truncated. + // The blocksize here is a rather arbitrary value larger than the default 0x100. + rz_core_block_size(core, 0x400); + // Initialize graph node highlighter bbHighlighter = new BasicBlockHighlighter();