John Schmidt 8e497eb32c debug: fix edge cases in macOS debug symbol lookup
This commit fixes two related things:

1. If the loop goes all the way through the slice without a match, on
   the last iteration `mid == symbols.len - 1` which causes
   `&symbols[mid + 1]` to be out of bounds. End one step before that
   instead.

2. If the address we're looking for is greater than the address of the
   last symbol in the slice, we now match it to that symbol. Previously,
   we would miss this case since we only matched if the address was _in
   between_ the address of two symbols.
2022-01-31 23:55:19 +01:00
..
2022-01-24 17:29:19 +02:00
2022-01-31 22:54:30 +01:00
2022-01-28 16:23:47 -07:00
2022-01-29 20:30:53 +00:00
2022-01-27 19:35:08 +02:00
2022-01-24 20:15:32 +02:00
2022-01-17 16:56:50 +02:00
2022-01-24 20:29:05 +02:00
2022-01-07 00:06:06 -05:00
2022-01-17 12:32:02 +01:00
2022-01-28 11:45:04 -07:00
2022-01-20 10:54:45 +02:00
2022-01-31 22:54:30 +01:00
2022-01-30 21:27:52 +02:00
2021-10-27 16:07:48 -04:00
2022-01-07 00:06:06 -05:00
2022-01-30 21:27:52 +02:00
2022-01-07 00:06:06 -05:00