microsoft / plcrashreporter

Reliable, open-source crash reporting for iOS, macOS and tvOS
Other
2.84k stars 532 forks source link

Use different PTR mask for MacOSX #318

Open MikhailSuendukov opened 1 week ago

MikhailSuendukov commented 1 week ago

Description

In the XNU implementation, the maximum virtual memory address range varies depending on the targeted OS variant (link). Therefore, we should use two different masks: For macOS: 0x00007FFFFFFFFFFFF For other variants: 0x0000000FFFFFFFFFF

Build succeed

Related PRs or issues

Issue: #316 AB#107270