Skip to content

Commit

Permalink
Fix wrong offset
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Dec 29, 2023
1 parent 97fb26e commit b86a0d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Cutter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ RVA CutterCore::nextOpAddr(RVA startAddr, int count)
CORE_LOCK();
auto seek = seekTemp(startAddr);
auto vec =
fromOwned(rz_core_analysis_bytes(core, startAddr, core->block, (int)core->blocksize, count + 1));
fromOwned(rz_core_analysis_bytes(core, core->offset, core->block, (int)core->blocksize, count + 1));

RVA addr = startAddr + 1;
if (!vec) {
Expand Down

0 comments on commit b86a0d9

Please sign in to comment.