-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Harden validation of remote debugging offset tables #148178
Copy link
Copy link
Open
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement
Description
_remote_debugging should perform stricter validation of externally read debug-offset metadata before using it to size memory reads or interpret remote process layouts. The current attach path verifies version compatibility, but it should also reject malformed or inconsistent offset and size tables up front, including optional asyncio metadata when it is loaded, so invalid data is handled cleanly rather than being consumed by the unwinder.
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
interpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancementA feature request or enhancement