Eryk Sun <[email protected]> added the comment:
> I don't see how PyNamespace_New() can call LookupPrivilegeValueA()
For the record, in the 3.7.1 release build, `PyNamespace_New + d4` is in
enable_symlink (Modules/posixmodule.c), which gets called when the nt (aka
posix) module gets initialized. It's the return address for the
LookupPrivilegeValueA call:
0:000> u (python37!PyNamespace_New + d4 - 6) l2
python37!enable_symlink+0x42:
00007ffd`e4b9a356
ff153ccd1500 call qword ptr
[python37!_imp_LookupPrivilegeValueA (00007ffd`e4cf7098)]
00007ffd`e4b9a35c
85c0 test eax,eax
It's just that Cao didn't have the python37.pdb symbol file available in
Process Explorer.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue35418>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com