Skip to content

Commit

Permalink
Extend blocksize to work around pdJ printing to few lines (#2984)
Browse files Browse the repository at this point in the history
  • Loading branch information
thestr4ng3r committed Jun 25, 2022
1 parent 70bd668 commit 7eb4311
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/Cutter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 7eb4311

Please sign in to comment.