-
Notifications
You must be signed in to change notification settings - Fork 268
Remove --interpose-method=ptrace #1945
Copy link
Copy link
Closed
Labels
Type: MaintenanceRefactoring, cleanup, documenation, or process improvementsRefactoring, cleanup, documenation, or process improvements
Description
With #1549 fixed, there will be no remaining supported use-cases where ptrace-mode works better than preload-mode. We should remove ptrace mode and correspondingly simplify the code.
Since --interpose-method is in the experimental section, this does not require a major version bump.
Let's start by removing the "ptrace" option for the --interpose-method flag, making "preload" currently the only option. Likewise we can remove thread_ptrace.c etc.
A potential follow-up is to remove --interpose-method and support for "subclassing" Thread in general. At the least that should be a distinct separate step, though. We might also consider keeping them around for future experimentation with other interposition mechanisms.
Potentially blocking issues:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: MaintenanceRefactoring, cleanup, documenation, or process improvementsRefactoring, cleanup, documenation, or process improvements