Jason Molenda
d40f4636c4
Handle an unknown binary platform type in debugserver
...
debugserver parses the Mach-O header & load commands of
binaries; if it does this with a binary whose LC_BUILD
platform enum it does not recognize, it will currently crash.
This patch changes MachProcss::GetPlatformString to return
an optional platform string, and updates the callers to
do the right thing when this optional could not be
provided.
Differential Revision: https://reviews.llvm.org/D136719
rdar://100452994
2022-10-27 13:11:20 -07:00
..
2022-10-27 13:11:20 -07:00
2020-06-15 18:22:22 -07:00
2022-04-13 14:36:25 -07:00
2021-05-03 15:05:32 -07:00
2022-05-18 10:16:11 -07:00
2022-10-27 13:11:20 -07:00
2022-10-27 13:11:20 -07:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2022-03-31 13:21:49 -07:00
2020-02-17 23:15:40 -08:00
2022-03-31 13:21:49 -07:00
2021-05-26 12:46:12 +02:00
2022-05-05 11:31:23 -07:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2020-02-17 23:15:40 -08:00
2022-09-13 10:38:38 -07:00
2021-09-27 14:32:42 +02:00
2022-09-13 10:38:38 -07:00
2022-04-04 14:14:02 -07:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2020-06-15 18:22:22 -07:00
2020-02-17 23:15:40 -08:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2021-05-26 12:46:12 +02:00
2022-05-18 10:16:11 -07:00
2022-05-18 10:16:11 -07:00
2020-02-17 23:15:40 -08:00
2022-10-27 13:11:20 -07:00
2022-05-18 10:16:11 -07:00
2020-02-17 23:15:40 -08:00
2021-06-25 13:45:11 +02:00
2020-02-17 23:15:40 -08:00
2022-03-31 13:21:49 -07:00
2021-05-26 12:46:12 +02:00
2021-09-27 14:32:42 +02:00
2021-09-27 14:32:42 +02:00
2021-05-26 12:46:12 +02:00
2020-02-17 23:15:40 -08:00
2022-03-31 13:21:49 -07:00
2021-05-26 12:46:12 +02:00