Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Modules/_testinternalcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,17 @@ classify_address(uintptr_t addr, int jit_enabled, PyInterpreterState *interp)
if (strncmp(base, "python", 6) == 0) {
return "python";
}
#ifdef __CYGWIN__
// Match Cygwin "cygpython3.16.dll"
if (strncmp(base, "cygpython", 9) == 0) {
return "python";
}
#else
// Match "libpython3.15.so.1.0"
if (strncmp(base, "libpython", 9) == 0) {
return "python";
}
#endif
return "other";
}
#ifdef _Py_JIT
Expand Down
Loading