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

GH-120024: Add verification tool to check for unmarked escaping calls #121917

Closed
wants to merge 3 commits into from

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Jul 17, 2024

Add tool to check for unmarked escaping calls.
Output looks like:

Unmarked escaping function '_Py_Instrument' at .../bytecodes.c:159
Unmarked escaping function '_Py_Instrument' at .../bytecodes.c:194
Unmarked escaping function '_Py_call_instrumentation' at .../bytecodes.c:204
Unmarked escaping function '_PyFrame_GetStackPointer' at .../bytecodes.c:206
Unmarked escaping function '_PyEval_FormatExcCheckArg' at .../bytecodes.c:223
...

Currently there are about 250 escaping calls in bytecodes.c
We will eventually turn this on in CI, once we've marked all the escaping calls.

@markshannon markshannon closed this Aug 6, 2024
@markshannon markshannon deleted the check-for-escapes branch August 6, 2024 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant