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 committed by GitHub
parent 29bd3d0dbd
commit ddacbd7828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();