Browse Source

Decompiler: show opline number in error

master
Xuefer 5 years ago
parent
commit
c3ce9a2d5b
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      lib/Decompiler.class.php

+ 4
- 2
lib/Decompiler.class.php View File

@ -1460,8 +1460,10 @@ class Decompiler
}
++$j;
} while ($j <= $blockLast);
if (!assert('$blockLast <= $range[1]')) {
var_dump($blockLast, $range[1]);
if ($blockLast > $range[1]) {
fprintf(STDERR, "%d: \$blockLast(%d) > \$range[1](%d)\n", __LINE__, $blockLast, $range[1]);
assert('$blockLast <= $range[1]');
printBacktrace();
}


Loading…
Cancel
Save