| 810 | private findDisasmRanges(trueStart: number, trueEnd: number, referenceAddress: number): DisasmRange[] { |
| 811 | const doDbgPrint = false; |
| 812 | const printFunc = (item: SymbolNode) => { |
| 813 | if (doDbgPrint) { |
| 814 | const file = item.symbol.file || '<unknown-file>'; |
| 815 | const msg = `(${hexFormat(item.low)}, ${item.low}), (${hexFormat(item.high)}, ${item.high}) ${item.symbol.name} ${file}`; |
| 816 | this.handleMsg('stdout', msg + '\n'); |
| 817 | console.log(msg); |
| 818 | } |
| 819 | }; |
| 820 | |
| 821 | if (doDbgPrint) { |
| 822 | this.handleMsg('stdout', `${hexFormat(trueStart)}, ${hexFormat(trueEnd)} Search range\n`); |