-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Crashtracking] Filter the ptrace_create hook (#6337)
## Summary of changes When marking a crash as suspicious or not, ignore the entrypoint inserted by the ptrace_create hook. ## Reason for change The entrypoint is inserted into every new thread. Because of that, pretty much every crash was marked as suspicious. ## Implementation details Because the crashtracker doesn't have access to symbols, we had to publicly expose the inserted entrypoint. To filter it more easily, it has been renamed to `dd_pthread_entry`. ## Test coverage Added a new test case that triggers a crash in a new thread. The issue wasn't discovered because the existing test was crashing in the main thread, so it didn't have the injected entrypoint. --------- Co-authored-by: Gregory LEOCADIE <[email protected]>
- Loading branch information
1 parent
6cb0268
commit 3e4fbeb
Showing
4 changed files
with
19 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters