Extend blocksize to work around pdJ printing to few lines (#2984)

This commit is contained in:
Florian Märkl 2022-06-25 15:20:50 +02:00
parent 70bd668af1
commit 7eb4311c2b

View File

@ -219,6 +219,11 @@ void CutterCore::initialize(bool loadPlugins)
// Otherwise Rizin may ask the user for input and Cutter would freeze // Otherwise Rizin may ask the user for input and Cutter would freeze
setConfig("scr.interactive", false); 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 // Initialize graph node highlighter
bbHighlighter = new BasicBlockHighlighter(); bbHighlighter = new BasicBlockHighlighter();