Message331203
> 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. |
|
Date |
User |
Action |
Args |
2018-12-06 02:53:24 | eryksun | set | recipients:
+ eryksun, paul.moore, vstinner, tim.golden, zach.ware, steve.dower, izbyshev, Cao Hongfu |
2018-12-06 02:53:24 | eryksun | set | messageid: <1544064804.07.0.788709270274.issue35418@psf.upfronthosting.co.za> |
2018-12-06 02:53:24 | eryksun | link | issue35418 messages |
2018-12-06 02:53:23 | eryksun | create | |
|