Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon committed Oct 30, 2023
1 parent 2f0b802 commit 4509327
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cfg/cfg-parsers/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,14 @@ export class BaseCFGParser {
while (first !== last) {
if (this.isFunctionEnd(asmArr[first].text)) {
fnRange.end = first;
result.push(_.clone(fnRange));
if (fnRange.end > fnRange.start + 1) result.push(_.clone(fnRange));
fnRange.start = first;
}
++first;
}

fnRange.end = last;
result.push(_.clone(fnRange));
if (fnRange.end > fnRange.start + 1) result.push(_.clone(fnRange));
return result;
}

Expand Down

0 comments on commit 4509327

Please sign in to comment.