(entry: MethodEntry | null)
| 419 | } |
| 420 | |
| 421 | function findNextEntry(entry: MethodEntry | null): MethodEntry | null { |
| 422 | sortEntries(); |
| 423 | |
| 424 | if (entry === null) { |
| 425 | return null; |
| 426 | } |
| 427 | |
| 428 | const index = entries.indexOf(entry); |
| 429 | if (index === -1 || index + 1 >= entries.length) { |
| 430 | return null; |
| 431 | } |
| 432 | |
| 433 | return entries[index + 1]; |
| 434 | } |
| 435 | |
| 436 | function isAddressBracketed(address: NativePointer, entry: MethodEntry | null, next: MethodEntry | null): boolean { |
| 437 | return entry !== null && next !== null && address.compare(entry.start) >= 0 && address.compare(next.start) < 0; |
no test coverage detected