Ctypes\uuuu readgsqword

2024-09-29 23:24:36 发布

您现在位置:Python中文网/ 问答频道 /正文

在python中尝试返回PEB的值时,您会遇到类似的问题,在python中调用_readgsqword是不可能的

def GetPEB():
    return ctypes.windll.kernel32.__readgsqword('0x0C',ctypes.sizeof('PVOID'))
AttributeError: function '__readgsqword' not found

Tags: returndefnotfunctionctypesattributeerrorfoundsizeof

热门问题