Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PLAT-5084] Stringify Mach exception code and subcode #827

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

nickdowell
Copy link
Contributor

Goal

Mach exception codes and subcodes are sent by the kernel as 64-bit values.

These can be too large to be faithfully decoded by many JSON decoders and Javascript in particular, meaning they may not be displayed correctly in the dashboard.

Changeset

This change encodes the Mach exception code and subcode as strings containing hex representations.

Testing

Manually verified that reports still appear on the dashboard, and that the new values are rendered correctly.

This change is covered by the automated e2e tests, the relevant test case has been amended.

@nickdowell nickdowell merged commit 107b1cb into next Oct 5, 2020
@nickdowell nickdowell deleted the stringify-mach-code-and-subcode branch October 5, 2020 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants