Skip to content

Correct crash classification for MTE SEGV traces:#15

Open
dhavalts1989 wants to merge 1 commit intoittiam-systems:masterfrom
dhavalts1989:mte_parsing_fix_1
Open

Correct crash classification for MTE SEGV traces:#15
dhavalts1989 wants to merge 1 commit intoittiam-systems:masterfrom
dhavalts1989:mte_parsing_fix_1

Conversation

@dhavalts1989
Copy link
Copy Markdown
Collaborator

Previously, MTE crashes were incorrectly reported as UNKNOWN. The existing ANDROID_SEGV_REGEX matches MTE SEGV traces but sets new_type=UNKNOWN, causing misclassification. This change adds an explicit check for 'SEGV_MTESERR' in the crash trace line and updates crash_type to "Segmentation fault" with the correct access type (e.g., "(read)" or "(write)").

The update ensures that crashes involving MTE faults are parsed correctly, filed under the appropriate crash type, and test cases now verify the correct behavior.

Previously, MTE crashes were incorrectly reported as UNKNOWN. The existing
ANDROID_SEGV_REGEX matches MTE SEGV traces but sets new_type=UNKNOWN, causing
misclassification. This change adds an explicit check for 'SEGV_MTESERR' in
the crash trace line and updates crash_type to "Segmentation fault" with the
correct access type (e.g., "(read)" or "(write)").

The update ensures that crashes involving MTE faults are parsed correctly,
filed under the appropriate crash type, and test cases now verify the
correct behavior.
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.

1 participant