├── LICENSE ├── README.md ├── WRAPPER.md ├── example script ├── example_assembler_x64.py ├── gui_ask.py ├── gui_selection.py ├── hello_world.py ├── main_module_info.py ├── memory.py ├── themida_iat_fixer_x86.py ├── upx_oep_finder_x64.py ├── upx_oep_finder_x86.py └── vmprotect_iat_fixer_x86.py └── x64dbgpython ├── x64dbgpython.sln └── x64dbgpython ├── BreakpointDlg.cpp ├── BreakpointDlg.h ├── PythonLibs ├── Python310 │ ├── x64 │ │ ├── include │ │ │ ├── Python.h │ │ │ ├── abstract.h │ │ │ ├── bltinmodule.h │ │ │ ├── boolobject.h │ │ │ ├── bytearrayobject.h │ │ │ ├── bytesobject.h │ │ │ ├── cellobject.h │ │ │ ├── ceval.h │ │ │ ├── classobject.h │ │ │ ├── code.h │ │ │ ├── codecs.h │ │ │ ├── compile.h │ │ │ ├── complexobject.h │ │ │ ├── context.h │ │ │ ├── cpython │ │ │ │ ├── abstract.h │ │ │ │ ├── bytearrayobject.h │ │ │ │ ├── bytesobject.h │ │ │ │ ├── ceval.h │ │ │ │ ├── code.h │ │ │ │ ├── compile.h │ │ │ │ ├── dictobject.h │ │ │ │ ├── fileobject.h │ │ │ │ ├── fileutils.h │ │ │ │ ├── frameobject.h │ │ │ │ ├── import.h │ │ │ │ ├── initconfig.h │ │ │ │ ├── interpreteridobject.h │ │ │ │ ├── listobject.h │ │ │ │ ├── methodobject.h │ │ │ │ ├── object.h │ │ │ │ ├── objimpl.h │ │ │ │ ├── odictobject.h │ │ │ │ ├── picklebufobject.h │ │ │ │ ├── pyctype.h │ │ │ │ ├── pydebug.h │ │ │ │ ├── pyerrors.h │ │ │ │ ├── pyfpe.h │ │ │ │ ├── pylifecycle.h │ │ │ │ ├── pymem.h │ │ │ │ ├── pystate.h │ │ │ │ ├── pythonrun.h │ │ │ │ ├── pytime.h │ │ │ │ ├── sysmodule.h │ │ │ │ ├── traceback.h │ │ │ │ ├── tupleobject.h │ │ │ │ └── unicodeobject.h │ │ │ ├── datetime.h │ │ │ ├── descrobject.h │ │ │ ├── dictobject.h │ │ │ ├── dynamic_annotations.h │ │ │ ├── enumobject.h │ │ │ ├── errcode.h │ │ │ ├── eval.h │ │ │ ├── exports.h │ │ │ ├── fileobject.h │ │ │ ├── fileutils.h │ │ │ ├── floatobject.h │ │ │ ├── frameobject.h │ │ │ ├── funcobject.h │ │ │ ├── genericaliasobject.h │ │ │ ├── genobject.h │ │ │ ├── import.h │ │ │ ├── internal │ │ │ │ ├── pycore_abstract.h │ │ │ │ ├── pycore_accu.h │ │ │ │ ├── pycore_asdl.h │ │ │ │ ├── pycore_ast.h │ │ │ │ ├── pycore_ast_state.h │ │ │ │ ├── pycore_atomic.h │ │ │ │ ├── pycore_atomic_funcs.h │ │ │ │ ├── pycore_bitutils.h │ │ │ │ ├── pycore_blocks_output_buffer.h │ │ │ │ ├── pycore_bytes_methods.h │ │ │ │ ├── pycore_call.h │ │ │ │ ├── pycore_ceval.h │ │ │ │ ├── pycore_code.h │ │ │ │ ├── pycore_compile.h │ │ │ │ ├── pycore_condvar.h │ │ │ │ ├── pycore_context.h │ │ │ │ ├── pycore_dtoa.h │ │ │ │ ├── pycore_fileutils.h │ │ │ │ ├── pycore_format.h │ │ │ │ ├── pycore_gc.h │ │ │ │ ├── pycore_getopt.h │ │ │ │ ├── pycore_gil.h │ │ │ │ ├── pycore_hamt.h │ │ │ │ ├── pycore_hashtable.h │ │ │ │ ├── pycore_import.h │ │ │ │ ├── pycore_initconfig.h │ │ │ │ ├── pycore_interp.h │ │ │ │ ├── pycore_list.h │ │ │ │ ├── pycore_long.h │ │ │ │ ├── pycore_moduleobject.h │ │ │ │ ├── pycore_object.h │ │ │ │ ├── pycore_parser.h │ │ │ │ ├── pycore_pathconfig.h │ │ │ │ ├── pycore_pyarena.h │ │ │ │ ├── pycore_pyerrors.h │ │ │ │ ├── pycore_pyhash.h │ │ │ │ ├── pycore_pylifecycle.h │ │ │ │ ├── pycore_pymem.h │ │ │ │ ├── pycore_pystate.h │ │ │ │ ├── pycore_runtime.h │ │ │ │ ├── pycore_structseq.h │ │ │ │ ├── pycore_symtable.h │ │ │ │ ├── pycore_sysmodule.h │ │ │ │ ├── pycore_traceback.h │ │ │ │ ├── pycore_tuple.h │ │ │ │ ├── pycore_ucnhash.h │ │ │ │ ├── pycore_unionobject.h │ │ │ │ └── pycore_warnings.h │ │ │ ├── interpreteridobject.h │ │ │ ├── intrcheck.h │ │ │ ├── iterobject.h │ │ │ ├── listobject.h │ │ │ ├── longintrepr.h │ │ │ ├── longobject.h │ │ │ ├── marshal.h │ │ │ ├── memoryobject.h │ │ │ ├── methodobject.h │ │ │ ├── modsupport.h │ │ │ ├── moduleobject.h │ │ │ ├── namespaceobject.h │ │ │ ├── object.h │ │ │ ├── objimpl.h │ │ │ ├── opcode.h │ │ │ ├── osdefs.h │ │ │ ├── osmodule.h │ │ │ ├── patchlevel.h │ │ │ ├── py_curses.h │ │ │ ├── pycapsule.h │ │ │ ├── pyconfig.h │ │ │ ├── pydtrace.h │ │ │ ├── pyerrors.h │ │ │ ├── pyexpat.h │ │ │ ├── pyframe.h │ │ │ ├── pyhash.h │ │ │ ├── pylifecycle.h │ │ │ ├── pymacconfig.h │ │ │ ├── pymacro.h │ │ │ ├── pymath.h │ │ │ ├── pymem.h │ │ │ ├── pyport.h │ │ │ ├── pystate.h │ │ │ ├── pystrcmp.h │ │ │ ├── pystrhex.h │ │ │ ├── pystrtod.h │ │ │ ├── pythonrun.h │ │ │ ├── pythread.h │ │ │ ├── rangeobject.h │ │ │ ├── setobject.h │ │ │ ├── sliceobject.h │ │ │ ├── structmember.h │ │ │ ├── structseq.h │ │ │ ├── sysmodule.h │ │ │ ├── token.h │ │ │ ├── traceback.h │ │ │ ├── tracemalloc.h │ │ │ ├── tupleobject.h │ │ │ ├── typeslots.h │ │ │ ├── unicodeobject.h │ │ │ ├── warnings.h │ │ │ └── weakrefobject.h │ │ └── libs │ │ │ ├── python3.lib │ │ │ └── python310.lib │ └── x86 │ │ ├── include │ │ ├── Python.h │ │ ├── abstract.h │ │ ├── bltinmodule.h │ │ ├── boolobject.h │ │ ├── bytearrayobject.h │ │ ├── bytesobject.h │ │ ├── cellobject.h │ │ ├── ceval.h │ │ ├── classobject.h │ │ ├── code.h │ │ ├── codecs.h │ │ ├── compile.h │ │ ├── complexobject.h │ │ ├── context.h │ │ ├── cpython │ │ │ ├── abstract.h │ │ │ ├── bytearrayobject.h │ │ │ ├── bytesobject.h │ │ │ ├── ceval.h │ │ │ ├── code.h │ │ │ ├── compile.h │ │ │ ├── dictobject.h │ │ │ ├── fileobject.h │ │ │ ├── fileutils.h │ │ │ ├── frameobject.h │ │ │ ├── import.h │ │ │ ├── initconfig.h │ │ │ ├── interpreteridobject.h │ │ │ ├── listobject.h │ │ │ ├── methodobject.h │ │ │ ├── object.h │ │ │ ├── objimpl.h │ │ │ ├── odictobject.h │ │ │ ├── picklebufobject.h │ │ │ ├── pyctype.h │ │ │ ├── pydebug.h │ │ │ ├── pyerrors.h │ │ │ ├── pyfpe.h │ │ │ ├── pylifecycle.h │ │ │ ├── pymem.h │ │ │ ├── pystate.h │ │ │ ├── pythonrun.h │ │ │ ├── pytime.h │ │ │ ├── sysmodule.h │ │ │ ├── traceback.h │ │ │ ├── tupleobject.h │ │ │ └── unicodeobject.h │ │ ├── datetime.h │ │ ├── descrobject.h │ │ ├── dictobject.h │ │ ├── dynamic_annotations.h │ │ ├── enumobject.h │ │ ├── errcode.h │ │ ├── eval.h │ │ ├── exports.h │ │ ├── fileobject.h │ │ ├── fileutils.h │ │ ├── floatobject.h │ │ ├── frameobject.h │ │ ├── funcobject.h │ │ ├── genericaliasobject.h │ │ ├── genobject.h │ │ ├── import.h │ │ ├── internal │ │ │ ├── pycore_abstract.h │ │ │ ├── pycore_accu.h │ │ │ ├── pycore_asdl.h │ │ │ ├── pycore_ast.h │ │ │ ├── pycore_ast_state.h │ │ │ ├── pycore_atomic.h │ │ │ ├── pycore_atomic_funcs.h │ │ │ ├── pycore_bitutils.h │ │ │ ├── pycore_blocks_output_buffer.h │ │ │ ├── pycore_bytes_methods.h │ │ │ ├── pycore_call.h │ │ │ ├── pycore_ceval.h │ │ │ ├── pycore_code.h │ │ │ ├── pycore_compile.h │ │ │ ├── pycore_condvar.h │ │ │ ├── pycore_context.h │ │ │ ├── pycore_dtoa.h │ │ │ ├── pycore_fileutils.h │ │ │ ├── pycore_format.h │ │ │ ├── pycore_gc.h │ │ │ ├── pycore_getopt.h │ │ │ ├── pycore_gil.h │ │ │ ├── pycore_hamt.h │ │ │ ├── pycore_hashtable.h │ │ │ ├── pycore_import.h │ │ │ ├── pycore_initconfig.h │ │ │ ├── pycore_interp.h │ │ │ ├── pycore_list.h │ │ │ ├── pycore_long.h │ │ │ ├── pycore_moduleobject.h │ │ │ ├── pycore_object.h │ │ │ ├── pycore_parser.h │ │ │ ├── pycore_pathconfig.h │ │ │ ├── pycore_pyarena.h │ │ │ ├── pycore_pyerrors.h │ │ │ ├── pycore_pyhash.h │ │ │ ├── pycore_pylifecycle.h │ │ │ ├── pycore_pymem.h │ │ │ ├── pycore_pystate.h │ │ │ ├── pycore_runtime.h │ │ │ ├── pycore_structseq.h │ │ │ ├── pycore_symtable.h │ │ │ ├── pycore_sysmodule.h │ │ │ ├── pycore_traceback.h │ │ │ ├── pycore_tuple.h │ │ │ ├── pycore_ucnhash.h │ │ │ ├── pycore_unionobject.h │ │ │ └── pycore_warnings.h │ │ ├── interpreteridobject.h │ │ ├── intrcheck.h │ │ ├── iterobject.h │ │ ├── listobject.h │ │ ├── longintrepr.h │ │ ├── longobject.h │ │ ├── marshal.h │ │ ├── memoryobject.h │ │ ├── methodobject.h │ │ ├── modsupport.h │ │ ├── moduleobject.h │ │ ├── namespaceobject.h │ │ ├── object.h │ │ ├── objimpl.h │ │ ├── opcode.h │ │ ├── osdefs.h │ │ ├── osmodule.h │ │ ├── patchlevel.h │ │ ├── py_curses.h │ │ ├── pycapsule.h │ │ ├── pyconfig.h │ │ ├── pydtrace.h │ │ ├── pyerrors.h │ │ ├── pyexpat.h │ │ ├── pyframe.h │ │ ├── pyhash.h │ │ ├── pylifecycle.h │ │ ├── pymacconfig.h │ │ ├── pymacro.h │ │ ├── pymath.h │ │ ├── pymem.h │ │ ├── pyport.h │ │ ├── pystate.h │ │ ├── pystrcmp.h │ │ ├── pystrhex.h │ │ ├── pystrtod.h │ │ ├── pythonrun.h │ │ ├── pythread.h │ │ ├── rangeobject.h │ │ ├── setobject.h │ │ ├── sliceobject.h │ │ ├── structmember.h │ │ ├── structseq.h │ │ ├── sysmodule.h │ │ ├── token.h │ │ ├── traceback.h │ │ ├── tracemalloc.h │ │ ├── tupleobject.h │ │ ├── typeslots.h │ │ ├── unicodeobject.h │ │ ├── warnings.h │ │ └── weakrefobject.h │ │ └── libs │ │ ├── python3.lib │ │ └── python310.lib └── Python38 │ ├── x64 │ ├── include │ │ ├── Python-ast.h │ │ ├── Python.h │ │ ├── abstract.h │ │ ├── asdl.h │ │ ├── ast.h │ │ ├── bitset.h │ │ ├── bltinmodule.h │ │ ├── boolobject.h │ │ ├── bytearrayobject.h │ │ ├── bytes_methods.h │ │ ├── bytesobject.h │ │ ├── cellobject.h │ │ ├── ceval.h │ │ ├── classobject.h │ │ ├── code.h │ │ ├── codecs.h │ │ ├── compile.h │ │ ├── complexobject.h │ │ ├── context.h │ │ ├── cpython │ │ │ ├── abstract.h │ │ │ ├── dictobject.h │ │ │ ├── fileobject.h │ │ │ ├── initconfig.h │ │ │ ├── interpreteridobject.h │ │ │ ├── object.h │ │ │ ├── objimpl.h │ │ │ ├── pyerrors.h │ │ │ ├── pylifecycle.h │ │ │ ├── pymem.h │ │ │ ├── pystate.h │ │ │ ├── sysmodule.h │ │ │ ├── traceback.h │ │ │ ├── tupleobject.h │ │ │ └── unicodeobject.h │ │ ├── datetime.h │ │ ├── descrobject.h │ │ ├── dictobject.h │ │ ├── dtoa.h │ │ ├── dynamic_annotations.h │ │ ├── enumobject.h │ │ ├── errcode.h │ │ ├── eval.h │ │ ├── fileobject.h │ │ ├── fileutils.h │ │ ├── floatobject.h │ │ ├── frameobject.h │ │ ├── funcobject.h │ │ ├── genobject.h │ │ ├── graminit.h │ │ ├── grammar.h │ │ ├── greenlet │ │ │ └── greenlet.h │ │ ├── import.h │ │ ├── internal │ │ │ ├── pycore_accu.h │ │ │ ├── pycore_atomic.h │ │ │ ├── pycore_ceval.h │ │ │ ├── pycore_code.h │ │ │ ├── pycore_condvar.h │ │ │ ├── pycore_context.h │ │ │ ├── pycore_fileutils.h │ │ │ ├── pycore_getopt.h │ │ │ ├── pycore_gil.h │ │ │ ├── pycore_hamt.h │ │ │ ├── pycore_initconfig.h │ │ │ ├── pycore_object.h │ │ │ ├── pycore_pathconfig.h │ │ │ ├── pycore_pyerrors.h │ │ │ ├── pycore_pyhash.h │ │ │ ├── pycore_pylifecycle.h │ │ │ ├── pycore_pymem.h │ │ │ ├── pycore_pystate.h │ │ │ ├── pycore_traceback.h │ │ │ ├── pycore_tupleobject.h │ │ │ └── pycore_warnings.h │ │ ├── interpreteridobject.h │ │ ├── intrcheck.h │ │ ├── iterobject.h │ │ ├── listobject.h │ │ ├── longintrepr.h │ │ ├── longobject.h │ │ ├── marshal.h │ │ ├── memoryobject.h │ │ ├── methodobject.h │ │ ├── modsupport.h │ │ ├── moduleobject.h │ │ ├── namespaceobject.h │ │ ├── node.h │ │ ├── object.h │ │ ├── objimpl.h │ │ ├── odictobject.h │ │ ├── opcode.h │ │ ├── osdefs.h │ │ ├── osmodule.h │ │ ├── parsetok.h │ │ ├── patchlevel.h │ │ ├── picklebufobject.h │ │ ├── py_curses.h │ │ ├── pyarena.h │ │ ├── pycapsule.h │ │ ├── pyconfig.h │ │ ├── pyctype.h │ │ ├── pydebug.h │ │ ├── pydtrace.h │ │ ├── pyerrors.h │ │ ├── pyexpat.h │ │ ├── pyfpe.h │ │ ├── pyhash.h │ │ ├── pylifecycle.h │ │ ├── pymacconfig.h │ │ ├── pymacro.h │ │ ├── pymath.h │ │ ├── pymem.h │ │ ├── pyport.h │ │ ├── pystate.h │ │ ├── pystrcmp.h │ │ ├── pystrhex.h │ │ ├── pystrtod.h │ │ ├── pythonrun.h │ │ ├── pythread.h │ │ ├── pytime.h │ │ ├── rangeobject.h │ │ ├── setobject.h │ │ ├── sliceobject.h │ │ ├── structmember.h │ │ ├── structseq.h │ │ ├── symtable.h │ │ ├── sysmodule.h │ │ ├── token.h │ │ ├── traceback.h │ │ ├── tracemalloc.h │ │ ├── tupleobject.h │ │ ├── typeslots.h │ │ ├── ucnhash.h │ │ ├── unicodeobject.h │ │ ├── warnings.h │ │ └── weakrefobject.h │ └── libs │ │ ├── python3.lib │ │ └── python38.lib │ └── x86 │ ├── include │ ├── Python-ast.h │ ├── Python.h │ ├── abstract.h │ ├── asdl.h │ ├── ast.h │ ├── bitset.h │ ├── bltinmodule.h │ ├── boolobject.h │ ├── bytearrayobject.h │ ├── bytes_methods.h │ ├── bytesobject.h │ ├── cellobject.h │ ├── ceval.h │ ├── classobject.h │ ├── code.h │ ├── codecs.h │ ├── compile.h │ ├── complexobject.h │ ├── context.h │ ├── cpython │ │ ├── abstract.h │ │ ├── dictobject.h │ │ ├── fileobject.h │ │ ├── initconfig.h │ │ ├── interpreteridobject.h │ │ ├── object.h │ │ ├── objimpl.h │ │ ├── pyerrors.h │ │ ├── pylifecycle.h │ │ ├── pymem.h │ │ ├── pystate.h │ │ ├── sysmodule.h │ │ ├── traceback.h │ │ ├── tupleobject.h │ │ └── unicodeobject.h │ ├── datetime.h │ ├── descrobject.h │ ├── dictobject.h │ ├── dtoa.h │ ├── dynamic_annotations.h │ ├── enumobject.h │ ├── errcode.h │ ├── eval.h │ ├── fileobject.h │ ├── fileutils.h │ ├── floatobject.h │ ├── frameobject.h │ ├── funcobject.h │ ├── genobject.h │ ├── graminit.h │ ├── grammar.h │ ├── import.h │ ├── internal │ │ ├── pycore_accu.h │ │ ├── pycore_atomic.h │ │ ├── pycore_ceval.h │ │ ├── pycore_code.h │ │ ├── pycore_condvar.h │ │ ├── pycore_context.h │ │ ├── pycore_fileutils.h │ │ ├── pycore_getopt.h │ │ ├── pycore_gil.h │ │ ├── pycore_hamt.h │ │ ├── pycore_initconfig.h │ │ ├── pycore_object.h │ │ ├── pycore_pathconfig.h │ │ ├── pycore_pyerrors.h │ │ ├── pycore_pyhash.h │ │ ├── pycore_pylifecycle.h │ │ ├── pycore_pymem.h │ │ ├── pycore_pystate.h │ │ ├── pycore_traceback.h │ │ ├── pycore_tupleobject.h │ │ └── pycore_warnings.h │ ├── interpreteridobject.h │ ├── intrcheck.h │ ├── iterobject.h │ ├── listobject.h │ ├── longintrepr.h │ ├── longobject.h │ ├── marshal.h │ ├── memoryobject.h │ ├── methodobject.h │ ├── modsupport.h │ ├── moduleobject.h │ ├── namespaceobject.h │ ├── node.h │ ├── object.h │ ├── objimpl.h │ ├── odictobject.h │ ├── opcode.h │ ├── osdefs.h │ ├── osmodule.h │ ├── parsetok.h │ ├── patchlevel.h │ ├── picklebufobject.h │ ├── py_curses.h │ ├── pyarena.h │ ├── pycapsule.h │ ├── pyconfig.h │ ├── pyctype.h │ ├── pydebug.h │ ├── pydtrace.h │ ├── pyerrors.h │ ├── pyexpat.h │ ├── pyfpe.h │ ├── pyhash.h │ ├── pylifecycle.h │ ├── pymacconfig.h │ ├── pymacro.h │ ├── pymath.h │ ├── pymem.h │ ├── pyport.h │ ├── pystate.h │ ├── pystrcmp.h │ ├── pystrhex.h │ ├── pystrtod.h │ ├── pythonrun.h │ ├── pythread.h │ ├── pytime.h │ ├── rangeobject.h │ ├── setobject.h │ ├── sliceobject.h │ ├── structmember.h │ ├── structseq.h │ ├── symtable.h │ ├── sysmodule.h │ ├── token.h │ ├── traceback.h │ ├── tracemalloc.h │ ├── tupleobject.h │ ├── typeslots.h │ ├── ucnhash.h │ ├── unicodeobject.h │ ├── warnings.h │ └── weakrefobject.h │ └── libs │ ├── python3.lib │ └── python38.lib ├── icon.h ├── plugin.cpp ├── plugin.h ├── pluginmain.cpp ├── pluginmain.h ├── pluginsdk ├── DeviceNameResolver │ ├── DeviceNameResolver.h │ ├── DeviceNameResolver_x64.a │ ├── DeviceNameResolver_x64.lib │ ├── DeviceNameResolver_x86.a │ └── DeviceNameResolver_x86.lib ├── TitanEngine │ ├── TitanEngine.h │ ├── TitanEngine_x64.a │ ├── TitanEngine_x64.lib │ ├── TitanEngine_x86.a │ └── TitanEngine_x86.lib ├── XEDParse │ ├── XEDParse.h │ ├── XEDParse_x64.a │ ├── XEDParse_x64.lib │ ├── XEDParse_x86.a │ └── XEDParse_x86.lib ├── _dbgfunctions.h ├── _plugin_types.h ├── _plugins.h ├── _scriptapi.h ├── _scriptapi_argument.h ├── _scriptapi_assembler.h ├── _scriptapi_bookmark.h ├── _scriptapi_comment.h ├── _scriptapi_debug.h ├── _scriptapi_flag.h ├── _scriptapi_function.h ├── _scriptapi_gui.h ├── _scriptapi_label.h ├── _scriptapi_memory.h ├── _scriptapi_misc.h ├── _scriptapi_module.h ├── _scriptapi_pattern.h ├── _scriptapi_register.h ├── _scriptapi_stack.h ├── _scriptapi_symbol.h ├── bridgegraph.h ├── bridgelist.h ├── bridgemain.h ├── dbghelp │ ├── dbghelp.h │ ├── dbghelp_x64.a │ ├── dbghelp_x64.lib │ ├── dbghelp_x86.a │ └── dbghelp_x86.lib ├── jansson │ ├── jansson.h │ ├── jansson_config.h │ ├── jansson_x64.a │ ├── jansson_x64.lib │ ├── jansson_x64dbg.h │ ├── jansson_x86.a │ └── jansson_x86.lib ├── lz4 │ ├── lz4.h │ ├── lz4_x64.a │ ├── lz4_x64.lib │ ├── lz4_x86.a │ ├── lz4_x86.lib │ ├── lz4file.h │ └── lz4hc.h ├── x32bridge.lib ├── x32dbg.lib ├── x64bridge.lib └── x64dbg.lib ├── pybind11 ├── attr.h ├── buffer_info.h ├── cast.h ├── chrono.h ├── common.h ├── complex.h ├── detail │ ├── class.h │ ├── common.h │ ├── descr.h │ ├── init.h │ ├── internals.h │ ├── type_caster_base.h │ └── typeid.h ├── eigen.h ├── embed.h ├── eval.h ├── functional.h ├── gil.h ├── iostream.h ├── numpy.h ├── operators.h ├── options.h ├── pybind11.h ├── pytypes.h ├── stl.h ├── stl │ └── filesystem.h └── stl_bind.h ├── pystream.h ├── resource └── python-programming-language-icon.png ├── resource1.h ├── scriptapi.cpp ├── x64dbgpython.aps ├── x64dbgpython.rc ├── x64dbgpython.vcxproj ├── x64dbgpython.vcxproj.filters └── x64dbgpython.vcxproj.user /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 ElvisBlue 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # x64dbg python 2 | 3 | x64dbg python is a x64dbg plugin allow you to run python script to interactive with x64dbg in python3. x64dbg python provide script api similar to `_scriptapi_*.h` header in plugin SDK. You can look at folder "example script" for example 4 | 5 | # Installation 6 | 7 | - Install both python3 32 bit and 64 bit. Don't forget to add to path environment. 8 | - Copy plugin to x32dbg and x64dbg plugin folder 9 | 10 | **New version of x64dbg block load dependencies from PATH. Please use `snapshot_2023-03-03_01-29` or using [PATH](https://github.com/ElvisBlue/PATH) plugin to load this plugin** 11 | 12 | # Wrapper 13 | 14 | x64dbg python made some wrapper for easy to use in python language. If you're going to using one of those function below, look at [wrapper](/WRAPPER.md) definition instead. 15 | 16 | 17 | # Credits 18 | - [pybind11](https://github.com/pybind/pybind11) 19 | - [VC-LTL](https://github.com/Chuyu-Team/VC-LTL) 20 | - [x64dbg](https://github.com/x64dbg/x64dbg) 21 | 22 | # Donation 23 | 24 | Please consider donating to [x64dbg](https://github.com/x64dbg/x64dbg) -------------------------------------------------------------------------------- /example script/example_assembler_x64.py: -------------------------------------------------------------------------------- 1 | from x64dbg import Assembler, Register 2 | 3 | def main(): 4 | currentRIP = Register.Get(Register.RegisterEnum.RIP) 5 | print("Current RIP: 0x%X" % currentRIP) 6 | 7 | ops = Assembler.Assemble(currentRIP, "mov rax, 0") 8 | 9 | hexString = "" 10 | for c in ops: 11 | hexString += ("%02X " % c) 12 | print("'mov rax, 0' ops code: " + hexString) 13 | 14 | print("Try to assemble 'xor rax, rax' at memory 0x%X." % currentRIP) 15 | if(Assembler.AssembleMemEx(currentRIP, "xor rax, rax", True) == False): 16 | print("Failed to assemble at 0x%X" % currentRIP) 17 | 18 | print("Try to assemble 'pushad' at memory 0x%X. Result should be fail" % currentRIP) 19 | if(Assembler.AssembleMemEx(currentRIP, "pushad", True) == False): 20 | print("Failed to assemble at 0x%X" % currentRIP) 21 | 22 | if __name__ == "__main__": 23 | main() -------------------------------------------------------------------------------- /example script/gui_ask.py: -------------------------------------------------------------------------------- 1 | from x64dbg import Gui 2 | 3 | def main(): 4 | result = Gui.InputLine("Enter some string") 5 | print("Result of input line is %s" % result) 6 | result = Gui.InputValue("Enter value") 7 | print("Result of input value is %d" % result) 8 | 9 | if Gui.MessageYesNo("Is x64dbg python cool?"): 10 | Gui.Message(":)") 11 | else: 12 | Gui.Message(":(") 13 | 14 | 15 | if __name__ == "__main__": 16 | main() -------------------------------------------------------------------------------- /example script/gui_selection.py: -------------------------------------------------------------------------------- 1 | from x64dbg import * 2 | 3 | def main(): 4 | start, end = Gui.SelectionGet(Gui.Window.DisassemblyWindow) 5 | print("Disassembly Window: 0x%X - 0x%X" % (start, end)) 6 | 7 | start, end = Gui.Disassembly.SelectionGet() 8 | print("Disassembly Window: 0x%X - 0x%X" % (start, end)) 9 | 10 | start, end = Gui.Dump.SelectionGet() 11 | print("Dump Window: 0x%X - 0x%X" % (start, end)) 12 | 13 | start, end = Gui.Stack.SelectionGet() 14 | print("Stack Window: 0x%X - 0x%X" % (start, end)) 15 | 16 | if __name__ == "__main__": 17 | main() -------------------------------------------------------------------------------- /example script/hello_world.py: -------------------------------------------------------------------------------- 1 | def main(): 2 | print("Hello world") 3 | 4 | if __name__ == "__main__": 5 | main() -------------------------------------------------------------------------------- /example script/memory.py: -------------------------------------------------------------------------------- 1 | from x64dbg import * 2 | 3 | if __name__ == "__main__": 4 | currentAddr = Register.GetEIP() 5 | print("Current address: 0x%X" % currentAddr) 6 | print("Now read 100 bytes from address 0x%X" % currentAddr) 7 | 8 | data = Memory.Read(currentAddr, 100) 9 | print(data) 10 | 11 | print("Now write 100 bytes to address 0x%X" % currentAddr) 12 | sampleData = b"" 13 | for i in range(0, 100): 14 | sampleData += i.to_bytes(1, "little") 15 | 16 | ret = Memory.Write(currentAddr, sampleData) 17 | print("%d byte(s) written to address 0x%X" % (ret, currentAddr)) -------------------------------------------------------------------------------- /example script/themida_iat_fixer_x86.py: -------------------------------------------------------------------------------- 1 | from x64dbg import * 2 | 3 | def Log(txt): 4 | print("[Themida IAT fixer] " + txt) 5 | 6 | def Trace(addr, mainModule): 7 | Log("Tracing address 0x%x" % addr) 8 | oldEIP = Register.GetEIP() 9 | Register.SetEIP(addr) 10 | while Register.GetEIP() >= mainModule.base and Register.GetEIP() <= (mainModule.base + mainModule.size): 11 | Debug.StepIn() 12 | 13 | resolvedAddr = Register.GetEIP() 14 | Register.SetEIP(oldEIP) 15 | return resolvedAddr 16 | 17 | def main(): 18 | Gui.Message("This script does not support advanced api wrapping") 19 | startIAT = Gui.InputValue("Start IAT") 20 | endIAT = Gui.InputValue("End IAT") 21 | Log("Start IAT: 0x%X" % startIAT) 22 | Log("End IAT: 0x%X" % endIAT) 23 | 24 | currentPtr = startIAT 25 | mainModule = Module.GetMainModuleInfo() 26 | while currentPtr <= endIAT: 27 | addr = Memory.ReadDword(currentPtr) 28 | if Memory.IsValidPtr(addr): 29 | if addr >= mainModule.base and addr <= (mainModule.base + mainModule.size): 30 | resolvedAddr = Trace(addr, mainModule) 31 | Memory.WriteDword(currentPtr, resolvedAddr) 32 | currentPtr += 4 33 | Gui.Message("Done") 34 | 35 | if __name__ == "__main__": 36 | main() 37 | -------------------------------------------------------------------------------- /example script/upx_oep_finder_x64.py: -------------------------------------------------------------------------------- 1 | from x64dbg import Register, Memory, Debug, Pattern 2 | 3 | 4 | def main(): 5 | currentIP = Register.Get(Register.RegisterEnum.RIP) 6 | if Memory.ReadDword(currentIP) != 0x55575653: 7 | print("File is not packed with UPX or IP != EP") 8 | return 9 | 10 | patternAddr = Pattern.FindMem(currentIP, 0x1000, "48 83 EC ?? E9") 11 | print("Find Pattern result: 0x%X" % patternAddr) 12 | 13 | Debug.SetBreakpoint(patternAddr) 14 | Debug.Run() 15 | Debug.Wait() 16 | Debug.DeleteBreakpoint(patternAddr) 17 | Debug.StepOver() 18 | Debug.StepOver() 19 | print("OEP = 0x%X" % Register.Get(Register.RegisterEnum.RIP)) 20 | return 21 | 22 | if __name__ == "__main__": 23 | main() -------------------------------------------------------------------------------- /example script/upx_oep_finder_x86.py: -------------------------------------------------------------------------------- 1 | from x64dbg import Register, Memory, Debug, Pattern 2 | 3 | def main(): 4 | currentIP = Register.Get(Register.RegisterEnum.EIP) 5 | if Memory.ReadWord(currentIP) != 0xBE60: 6 | print("File is not packed with UPX or IP != EP") 7 | return 8 | 9 | patternAddr = Pattern.FindMem(currentIP, 0x1000, "83 EC ?? E9 ?? ?? ?? ?? 00") 10 | print("Find Pattern result: 0x%X" % patternAddr) 11 | 12 | Debug.SetBreakpoint(patternAddr) 13 | Debug.Run() 14 | Debug.Wait() 15 | Debug.DeleteBreakpoint(patternAddr) 16 | Debug.StepOver() 17 | Debug.StepOver() 18 | print("OEP = 0x%X" % Register.Get(Register.RegisterEnum.EIP)) 19 | return 20 | 21 | if __name__ == "__main__": 22 | main() -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/BreakpointDlg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include "pluginmain.h" 4 | 5 | INT_PTR CALLBACK BreakpointDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); 6 | INT_PTR CALLBACK ScriptEditorProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam); -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/bltinmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_BLTINMODULE_H 2 | #define Py_BLTINMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_DATA(PyTypeObject) PyFilter_Type; 8 | PyAPI_DATA(PyTypeObject) PyMap_Type; 9 | PyAPI_DATA(PyTypeObject) PyZip_Type; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_BLTINMODULE_H */ 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/boolobject.h: -------------------------------------------------------------------------------- 1 | /* Boolean object interface */ 2 | 3 | #ifndef Py_BOOLOBJECT_H 4 | #define Py_BOOLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | 10 | PyAPI_DATA(PyTypeObject) PyBool_Type; 11 | 12 | #define PyBool_Check(x) Py_IS_TYPE(x, &PyBool_Type) 13 | 14 | /* Py_False and Py_True are the only two bools in existence. 15 | Don't forget to apply Py_INCREF() when returning either!!! */ 16 | 17 | /* Don't use these directly */ 18 | PyAPI_DATA(struct _longobject) _Py_FalseStruct; 19 | PyAPI_DATA(struct _longobject) _Py_TrueStruct; 20 | 21 | /* Use these macros */ 22 | #define Py_False ((PyObject *) &_Py_FalseStruct) 23 | #define Py_True ((PyObject *) &_Py_TrueStruct) 24 | 25 | // Test if an object is the True singleton, the same as "x is True" in Python. 26 | PyAPI_FUNC(int) Py_IsTrue(PyObject *x); 27 | #define Py_IsTrue(x) Py_Is((x), Py_True) 28 | 29 | // Test if an object is the False singleton, the same as "x is False" in Python. 30 | PyAPI_FUNC(int) Py_IsFalse(PyObject *x); 31 | #define Py_IsFalse(x) Py_Is((x), Py_False) 32 | 33 | /* Macros for returning Py_True or Py_False, respectively */ 34 | #define Py_RETURN_TRUE return Py_NewRef(Py_True) 35 | #define Py_RETURN_FALSE return Py_NewRef(Py_False) 36 | 37 | /* Function to return a bool from a C long */ 38 | PyAPI_FUNC(PyObject *) PyBool_FromLong(long); 39 | 40 | #ifdef __cplusplus 41 | } 42 | #endif 43 | #endif /* !Py_BOOLOBJECT_H */ 44 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) Py_IS_TYPE(op, &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) ((void)(((PyCellObject *)(op))->ob_ref = v)) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | #endif /* Py_LIMITED_API */ 30 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/code.h: -------------------------------------------------------------------------------- 1 | /* Definitions for bytecode */ 2 | 3 | #ifndef Py_CODE_H 4 | #define Py_CODE_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct PyCodeObject PyCodeObject; 10 | 11 | #ifndef Py_LIMITED_API 12 | # define Py_CPYTHON_CODE_H 13 | # include "cpython/code.h" 14 | # undef Py_CPYTHON_CODE_H 15 | #endif 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_CODE_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/compile.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_COMPILE_H 2 | #define Py_COMPILE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | /* These definitions must match corresponding definitions in graminit.h. */ 8 | #define Py_single_input 256 9 | #define Py_file_input 257 10 | #define Py_eval_input 258 11 | #define Py_func_type_input 345 12 | 13 | /* This doesn't need to match anything */ 14 | #define Py_fstring_input 800 15 | 16 | #ifndef Py_LIMITED_API 17 | # define Py_CPYTHON_COMPILE_H 18 | # include "cpython/compile.h" 19 | # undef Py_CPYTHON_COMPILE_H 20 | #endif 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_COMPILE_H */ 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/bytearrayobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_BYTEARRAYOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | /* Object layout */ 6 | typedef struct { 7 | PyObject_VAR_HEAD 8 | Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */ 9 | char *ob_bytes; /* Physical backing buffer */ 10 | char *ob_start; /* Logical start inside ob_bytes */ 11 | Py_ssize_t ob_exports; /* How many buffer exports */ 12 | } PyByteArrayObject; 13 | 14 | /* Macros, trading safety for speed */ 15 | #define PyByteArray_AS_STRING(self) \ 16 | (assert(PyByteArray_Check(self)), \ 17 | Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_start : _PyByteArray_empty_string) 18 | #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self)) 19 | 20 | PyAPI_DATA(char) _PyByteArray_empty_string[]; 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/fileobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_FILEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); 6 | 7 | /* The std printer acts as a preliminary sys.stderr until the new io 8 | infrastructure is in place. */ 9 | PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int); 10 | PyAPI_DATA(PyTypeObject) PyStdPrinter_Type; 11 | 12 | typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *); 13 | 14 | PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path); 15 | PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path); 16 | PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData); 17 | 18 | PyAPI_FUNC(int) _PyLong_FileDescriptor_Converter(PyObject *, void *); 19 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | /* Interpreter ID Object */ 6 | 7 | PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type; 8 | 9 | PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t); 10 | PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); 11 | PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *); 12 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/listobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_LISTOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | typedef struct { 6 | PyObject_VAR_HEAD 7 | /* Vector of pointers to list elements. list[0] is ob_item[0], etc. */ 8 | PyObject **ob_item; 9 | 10 | /* ob_item contains space for 'allocated' elements. The number 11 | * currently in use is ob_size. 12 | * Invariants: 13 | * 0 <= ob_size <= allocated 14 | * len(list) == ob_size 15 | * ob_item == NULL implies ob_size == allocated == 0 16 | * list.sort() temporarily sets allocated to -1 to detect mutations. 17 | * 18 | * Items must normally not be NULL, except during construction when 19 | * the list is not yet visible outside the function that builds it. 20 | */ 21 | Py_ssize_t allocated; 22 | } PyListObject; 23 | 24 | PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); 25 | PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out); 26 | 27 | /* Macro, trading safety for speed */ 28 | 29 | /* Cast argument to PyListObject* type. */ 30 | #define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op)) 31 | 32 | #define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i]) 33 | #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) 34 | #define PyList_GET_SIZE(op) Py_SIZE(_PyList_CAST(op)) 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/picklebufobject.h: -------------------------------------------------------------------------------- 1 | /* PickleBuffer object. This is built-in for ease of use from third-party 2 | * C extensions. 3 | */ 4 | 5 | #ifndef Py_PICKLEBUFOBJECT_H 6 | #define Py_PICKLEBUFOBJECT_H 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #ifndef Py_LIMITED_API 12 | 13 | PyAPI_DATA(PyTypeObject) PyPickleBuffer_Type; 14 | 15 | #define PyPickleBuffer_Check(op) Py_IS_TYPE(op, &PyPickleBuffer_Type) 16 | 17 | /* Create a PickleBuffer redirecting to the given buffer-enabled object */ 18 | PyAPI_FUNC(PyObject *) PyPickleBuffer_FromObject(PyObject *); 19 | /* Get the PickleBuffer's underlying view to the original object 20 | * (NULL if released) 21 | */ 22 | PyAPI_FUNC(const Py_buffer *) PyPickleBuffer_GetBuffer(PyObject *); 23 | /* Release the PickleBuffer. Returns 0 on success, -1 on error. */ 24 | PyAPI_FUNC(int) PyPickleBuffer_Release(PyObject *); 25 | 26 | #endif /* !Py_LIMITED_API */ 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_PICKLEBUFOBJECT_H */ 32 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/pydebug.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_PYDEBUG_H 3 | #define Py_PYDEBUG_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(int) Py_DebugFlag; 9 | PyAPI_DATA(int) Py_VerboseFlag; 10 | PyAPI_DATA(int) Py_QuietFlag; 11 | PyAPI_DATA(int) Py_InteractiveFlag; 12 | PyAPI_DATA(int) Py_InspectFlag; 13 | PyAPI_DATA(int) Py_OptimizeFlag; 14 | PyAPI_DATA(int) Py_NoSiteFlag; 15 | PyAPI_DATA(int) Py_BytesWarningFlag; 16 | PyAPI_DATA(int) Py_FrozenFlag; 17 | PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; 18 | PyAPI_DATA(int) Py_DontWriteBytecodeFlag; 19 | PyAPI_DATA(int) Py_NoUserSiteDirectory; 20 | PyAPI_DATA(int) Py_UnbufferedStdioFlag; 21 | PyAPI_DATA(int) Py_HashRandomizationFlag; 22 | PyAPI_DATA(int) Py_IsolatedFlag; 23 | 24 | #ifdef MS_WINDOWS 25 | PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag; 26 | PyAPI_DATA(int) Py_LegacyWindowsStdioFlag; 27 | #endif 28 | 29 | /* this is a wrapper around getenv() that pays attention to 30 | Py_IgnoreEnvironmentFlag. It should be used for getting variables like 31 | PYTHONPATH and PYTHONHOME from the environment */ 32 | #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_PYDEBUG_H */ 38 | #endif /* Py_LIMITED_API */ 39 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/pyfpe.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PYFPE_H 2 | #define Py_PYFPE_H 3 | /* Header excluded from the stable API */ 4 | #ifndef Py_LIMITED_API 5 | 6 | /* These macros used to do something when Python was built with --with-fpectl, 7 | * but support for that was dropped in 3.7. We continue to define them though, 8 | * to avoid breaking API users. 9 | */ 10 | 11 | #define PyFPE_START_PROTECT(err_string, leave_stmt) 12 | #define PyFPE_END_PROTECT(v) 13 | 14 | #endif /* !defined(Py_LIMITED_API) */ 15 | #endif /* !Py_PYFPE_H */ 16 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/sysmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_SYSMODULE_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); 6 | PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); 7 | 8 | PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); 9 | 10 | typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *); 11 | 12 | PyAPI_FUNC(int) PySys_Audit( 13 | const char *event, 14 | const char *argFormat, 15 | ...); 16 | PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*); 17 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TRACEBACK_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | typedef struct _traceback { 6 | PyObject_HEAD 7 | struct _traceback *tb_next; 8 | PyFrameObject *tb_frame; 9 | int tb_lasti; 10 | int tb_lineno; 11 | } PyTracebackObject; 12 | 13 | PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int); 14 | PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int); 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/cpython/tupleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TUPLEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | typedef struct { 6 | PyObject_VAR_HEAD 7 | /* ob_item contains space for 'ob_size' elements. 8 | Items must normally not be NULL, except during construction when 9 | the tuple is not yet visible outside the function that builds it. */ 10 | PyObject *ob_item[1]; 11 | } PyTupleObject; 12 | 13 | PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); 14 | PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); 15 | 16 | /* Macros trading safety for speed */ 17 | 18 | /* Cast argument to PyTupleObject* type. */ 19 | #define _PyTuple_CAST(op) (assert(PyTuple_Check(op)), (PyTupleObject *)(op)) 20 | 21 | #define PyTuple_GET_SIZE(op) Py_SIZE(_PyTuple_CAST(op)) 22 | 23 | #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) 24 | 25 | /* Macro, *only* to be used to fill in brand new tuples */ 26 | #define PyTuple_SET_ITEM(op, i, v) ((void)(_PyTuple_CAST(op)->ob_item[i] = v)) 27 | 28 | PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out); 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject *const *args, int argc, 16 | PyObject *const *kwds, int kwdc, 17 | PyObject *const *defs, int defc, 18 | PyObject *kwdefs, PyObject *closure); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 22 | #endif 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_EVAL_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/exports.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_EXPORTS_H 2 | #define Py_EXPORTS_H 3 | 4 | #if defined(_WIN32) || defined(__CYGWIN__) 5 | #define Py_IMPORTED_SYMBOL __declspec(dllimport) 6 | #define Py_EXPORTED_SYMBOL __declspec(dllexport) 7 | #define Py_LOCAL_SYMBOL 8 | #else 9 | /* 10 | * If we only ever used gcc >= 5, we could use __has_attribute(visibility) 11 | * as a cross-platform way to determine if visibility is supported. However, 12 | * we may still need to support gcc >= 4, as some Ubuntu LTS and Centos versions 13 | * have 4 < gcc < 5. 14 | */ 15 | #ifndef __has_attribute 16 | #define __has_attribute(x) 0 // Compatibility with non-clang compilers. 17 | #endif 18 | #if (defined(__GNUC__) && (__GNUC__ >= 4)) ||\ 19 | (defined(__clang__) && __has_attribute(visibility)) 20 | #define Py_IMPORTED_SYMBOL __attribute__ ((visibility ("default"))) 21 | #define Py_EXPORTED_SYMBOL __attribute__ ((visibility ("default"))) 22 | #define Py_LOCAL_SYMBOL __attribute__ ((visibility ("hidden"))) 23 | #else 24 | #define Py_IMPORTED_SYMBOL 25 | #define Py_EXPORTED_SYMBOL 26 | #define Py_LOCAL_SYMBOL 27 | #endif 28 | #endif 29 | 30 | #endif /* Py_EXPORTS_H */ 31 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/fileutils.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_FILEUTILS_H 2 | #define Py_FILEUTILS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000 8 | PyAPI_FUNC(wchar_t *) Py_DecodeLocale( 9 | const char *arg, 10 | size_t *size); 11 | 12 | PyAPI_FUNC(char*) Py_EncodeLocale( 13 | const wchar_t *text, 14 | size_t *error_pos); 15 | #endif 16 | 17 | #ifndef Py_LIMITED_API 18 | # define Py_CPYTHON_FILEUTILS_H 19 | # include "cpython/fileutils.h" 20 | # undef Py_CPYTHON_FILEUTILS_H 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* !Py_FILEUTILS_H */ 27 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/frameobject.h: -------------------------------------------------------------------------------- 1 | /* Frame object interface */ 2 | 3 | #ifndef Py_FRAMEOBJECT_H 4 | #define Py_FRAMEOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | #include "pyframe.h" 10 | 11 | #ifndef Py_LIMITED_API 12 | # define Py_CPYTHON_FRAMEOBJECT_H 13 | # include "cpython/frameobject.h" 14 | # undef Py_CPYTHON_FRAMEOBJECT_H 15 | #endif 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_FRAMEOBJECT_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/genericaliasobject.h: -------------------------------------------------------------------------------- 1 | // Implementation of PEP 585: support list[int] etc. 2 | #ifndef Py_GENERICALIASOBJECT_H 3 | #define Py_GENERICALIASOBJECT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *); 9 | PyAPI_DATA(PyTypeObject) Py_GenericAliasType; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_GENERICALIASOBJECT_H */ 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_abstract.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_ABSTRACT_H 2 | #define Py_INTERNAL_ABSTRACT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | // Fast inlined version of PyIndex_Check() 12 | static inline int 13 | _PyIndex_Check(PyObject *obj) 14 | { 15 | PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; 16 | return (tp_as_number != NULL && tp_as_number->nb_index != NULL); 17 | } 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_INTERNAL_ABSTRACT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_accu.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_INTERNAL_ACCU_H 3 | #define Py_INTERNAL_ACCU_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /*** This is a private API for use by the interpreter and the stdlib. 9 | *** Its definition may be changed or removed at any moment. 10 | ***/ 11 | 12 | #ifndef Py_BUILD_CORE 13 | # error "this header requires Py_BUILD_CORE define" 14 | #endif 15 | 16 | /* 17 | * A two-level accumulator of unicode objects that avoids both the overhead 18 | * of keeping a huge number of small separate objects, and the quadratic 19 | * behaviour of using a naive repeated concatenation scheme. 20 | */ 21 | 22 | #undef small /* defined by some Windows headers */ 23 | 24 | typedef struct { 25 | PyObject *large; /* A list of previously accumulated large strings */ 26 | PyObject *small; /* Pending small strings */ 27 | } _PyAccu; 28 | 29 | PyAPI_FUNC(int) _PyAccu_Init(_PyAccu *acc); 30 | PyAPI_FUNC(int) _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode); 31 | PyAPI_FUNC(PyObject *) _PyAccu_FinishAsList(_PyAccu *acc); 32 | PyAPI_FUNC(PyObject *) _PyAccu_Finish(_PyAccu *acc); 33 | PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | #endif /* !Py_INTERNAL_ACCU_H */ 39 | #endif /* !Py_LIMITED_API */ 40 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_call.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CALL_H 2 | #define Py_INTERNAL_CALL_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend( 12 | PyThreadState *tstate, 13 | PyObject *callable, 14 | PyObject *obj, 15 | PyObject *args, 16 | PyObject *kwargs); 17 | 18 | PyAPI_FUNC(PyObject *) _PyObject_FastCallDictTstate( 19 | PyThreadState *tstate, 20 | PyObject *callable, 21 | PyObject *const *args, 22 | size_t nargsf, 23 | PyObject *kwargs); 24 | 25 | PyAPI_FUNC(PyObject *) _PyObject_Call( 26 | PyThreadState *tstate, 27 | PyObject *callable, 28 | PyObject *args, 29 | PyObject *kwargs); 30 | 31 | static inline PyObject * 32 | _PyObject_CallNoArgTstate(PyThreadState *tstate, PyObject *func) { 33 | return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL); 34 | } 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif /* !Py_INTERNAL_CALL_H */ 40 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_code.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CODE_H 2 | #define Py_INTERNAL_CODE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | typedef struct { 8 | PyObject *ptr; /* Cached pointer (borrowed reference) */ 9 | uint64_t globals_ver; /* ma_version of global dict */ 10 | uint64_t builtins_ver; /* ma_version of builtin dict */ 11 | } _PyOpcache_LoadGlobal; 12 | 13 | typedef struct { 14 | PyTypeObject *type; 15 | Py_ssize_t hint; 16 | unsigned int tp_version_tag; 17 | } _PyOpCodeOpt_LoadAttr; 18 | 19 | struct _PyOpcache { 20 | union { 21 | _PyOpcache_LoadGlobal lg; 22 | _PyOpCodeOpt_LoadAttr la; 23 | } u; 24 | char optimized; 25 | }; 26 | 27 | /* Private API */ 28 | int _PyCode_InitOpcache(PyCodeObject *co); 29 | 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | #endif /* !Py_INTERNAL_CODE_H */ 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_compile.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_COMPILE_H 2 | #define Py_INTERNAL_COMPILE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | struct _arena; // Type defined in pycore_pyarena.h 12 | struct _mod; // Type defined in pycore_ast.h 13 | 14 | // Export the symbol for test_peg_generator (built as a library) 15 | PyAPI_FUNC(PyCodeObject*) _PyAST_Compile( 16 | struct _mod *mod, 17 | PyObject *filename, 18 | PyCompilerFlags *flags, 19 | int optimize, 20 | struct _arena *arena); 21 | extern PyFutureFeatures* _PyFuture_FromAST( 22 | struct _mod * mod, 23 | PyObject *filename 24 | ); 25 | 26 | extern PyObject* _Py_Mangle(PyObject *p, PyObject *name); 27 | 28 | typedef struct { 29 | int optimize; 30 | int ff_features; 31 | 32 | int recursion_depth; /* current recursion depth */ 33 | int recursion_limit; /* recursion limit */ 34 | } _PyASTOptimizeState; 35 | 36 | extern int _PyAST_Optimize( 37 | struct _mod *, 38 | struct _arena *arena, 39 | _PyASTOptimizeState *state); 40 | 41 | #ifdef __cplusplus 42 | } 43 | #endif 44 | #endif /* !Py_INTERNAL_COMPILE_H */ 45 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_context.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CONTEXT_H 2 | #define Py_INTERNAL_CONTEXT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | #include "pycore_hamt.h" /* PyHamtObject */ 9 | 10 | struct _pycontextobject { 11 | PyObject_HEAD 12 | PyContext *ctx_prev; 13 | PyHamtObject *ctx_vars; 14 | PyObject *ctx_weakreflist; 15 | int ctx_entered; 16 | }; 17 | 18 | 19 | struct _pycontextvarobject { 20 | PyObject_HEAD 21 | PyObject *var_name; 22 | PyObject *var_default; 23 | PyObject *var_cached; 24 | uint64_t var_cached_tsid; 25 | uint64_t var_cached_tsver; 26 | Py_hash_t var_hash; 27 | }; 28 | 29 | 30 | struct _pycontexttokenobject { 31 | PyObject_HEAD 32 | PyContext *tok_ctx; 33 | PyContextVar *tok_var; 34 | PyObject *tok_oldval; 35 | int tok_used; 36 | }; 37 | 38 | 39 | int _PyContext_Init(void); 40 | void _PyContext_Fini(PyInterpreterState *interp); 41 | 42 | #endif /* !Py_INTERNAL_CONTEXT_H */ 43 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef PY_NO_SHORT_FLOAT_REPR 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | #ifndef Py_BUILD_CORE 7 | # error "this header requires Py_BUILD_CORE define" 8 | #endif 9 | 10 | /* These functions are used by modules compiled as C extension like math: 11 | they must be exported. */ 12 | 13 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 14 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 15 | int *decpt, int *sign, char **rve); 16 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 17 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); 18 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | #endif /* !PY_NO_SHORT_FLOAT_REPR */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_format.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_FORMAT_H 2 | #define Py_INTERNAL_FORMAT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | /* Format codes 12 | * F_LJUST '-' 13 | * F_SIGN '+' 14 | * F_BLANK ' ' 15 | * F_ALT '#' 16 | * F_ZERO '0' 17 | */ 18 | #define F_LJUST (1<<0) 19 | #define F_SIGN (1<<1) 20 | #define F_BLANK (1<<2) 21 | #define F_ALT (1<<3) 22 | #define F_ZERO (1<<4) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_INTERNAL_FORMAT_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_getopt.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_PYGETOPT_H 2 | #define Py_INTERNAL_PYGETOPT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | extern int _PyOS_opterr; 9 | extern Py_ssize_t _PyOS_optind; 10 | extern const wchar_t *_PyOS_optarg; 11 | 12 | extern void _PyOS_ResetGetOpt(void); 13 | 14 | typedef struct { 15 | const wchar_t *name; 16 | int has_arg; 17 | int val; 18 | } _PyOS_LongOption; 19 | 20 | extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t * const *argv, int *longindex); 21 | 22 | #endif /* !Py_INTERNAL_PYGETOPT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_import.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_INTERNAL_IMPORT_H 3 | #define Py_INTERNAL_IMPORT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifdef HAVE_FORK 9 | extern PyStatus _PyImport_ReInitLock(void); 10 | #endif 11 | extern PyObject* _PyImport_BootstrapImp(PyThreadState *tstate); 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | #endif /* !Py_INTERNAL_IMPORT_H */ 17 | #endif /* !Py_LIMITED_API */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_list.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_LIST_H 2 | #define Py_INTERNAL_LIST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "listobject.h" // _PyList_CAST() 12 | 13 | 14 | #define _PyList_ITEMS(op) (_PyList_CAST(op)->ob_item) 15 | 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_INTERNAL_LIST_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_moduleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_MODULEOBJECT_H 2 | #define Py_INTERNAL_MODULEOBJECT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | typedef struct { 12 | PyObject_HEAD 13 | PyObject *md_dict; 14 | struct PyModuleDef *md_def; 15 | void *md_state; 16 | PyObject *md_weaklist; 17 | // for logging purposes after md_dict is cleared 18 | PyObject *md_name; 19 | } PyModuleObject; 20 | 21 | static inline PyModuleDef* _PyModule_GetDef(PyObject *mod) { 22 | assert(PyModule_Check(mod)); 23 | return ((PyModuleObject *)mod)->md_def; 24 | } 25 | 26 | static inline void* _PyModule_GetState(PyObject* mod) { 27 | assert(PyModule_Check(mod)); 28 | return ((PyModuleObject *)mod)->md_state; 29 | } 30 | 31 | static inline PyObject* _PyModule_GetDict(PyObject *mod) { 32 | assert(PyModule_Check(mod)); 33 | PyObject *dict = ((PyModuleObject *)mod) -> md_dict; 34 | // _PyModule_GetDict(mod) must not be used after calling module_clear(mod) 35 | assert(dict != NULL); 36 | return dict; 37 | } 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | #endif /* !Py_INTERNAL_MODULEOBJECT_H */ 43 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_parser.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_PARSER_H 2 | #define Py_INTERNAL_PARSER_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | extern struct _mod* _PyParser_ASTFromString( 12 | const char *str, 13 | PyObject* filename, 14 | int mode, 15 | PyCompilerFlags *flags, 16 | PyArena *arena); 17 | extern struct _mod* _PyParser_ASTFromFile( 18 | FILE *fp, 19 | PyObject *filename_ob, 20 | const char *enc, 21 | int mode, 22 | const char *ps1, 23 | const char *ps2, 24 | PyCompilerFlags *flags, 25 | int *errcode, 26 | PyArena *arena); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_INTERNAL_PARSER_H */ 32 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_pyhash.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_HASH_H 2 | #define Py_INTERNAL_HASH_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | uint64_t _Py_KeyedHash(uint64_t, const char *, Py_ssize_t); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_structseq.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_STRUCTSEQ_H 2 | #define Py_INTERNAL_STRUCTSEQ_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | 12 | PyAPI_FUNC(int) _PyStructSequence_InitType( 13 | PyTypeObject *type, 14 | PyStructSequence_Desc *desc, 15 | unsigned long tp_flags); 16 | 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif /* !Py_INTERNAL_STRUCTSEQ_H */ 22 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_sysmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_SYSMODULE_H 2 | #define Py_INTERNAL_SYSMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | PyAPI_FUNC(int) _PySys_Audit( 12 | PyThreadState *tstate, 13 | const char *event, 14 | const char *argFormat, 15 | ...); 16 | 17 | /* We want minimal exposure of this function, so use extern rather than 18 | PyAPI_FUNC() to not export the symbol. */ 19 | extern void _PySys_ClearAuditHooks(PyThreadState *tstate); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_INTERNAL_SYSMODULE_H */ 25 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_tuple.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_TUPLE_H 2 | #define Py_INTERNAL_TUPLE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "tupleobject.h" /* _PyTuple_CAST() */ 12 | 13 | #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item) 14 | 15 | PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_INTERNAL_TUPLE_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_ucnhash.h: -------------------------------------------------------------------------------- 1 | /* Unicode name database interface */ 2 | #ifndef Py_INTERNAL_UCNHASH_H 3 | #define Py_INTERNAL_UCNHASH_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_BUILD_CORE 9 | # error "this header requires Py_BUILD_CORE define" 10 | #endif 11 | 12 | /* revised ucnhash CAPI interface (exported through a "wrapper") */ 13 | 14 | #define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI" 15 | 16 | typedef struct { 17 | 18 | /* Get name for a given character code. 19 | Returns non-zero if success, zero if not. 20 | Does not set Python exceptions. */ 21 | int (*getname)(Py_UCS4 code, char* buffer, int buflen, 22 | int with_alias_and_seq); 23 | 24 | /* Get character code for a given name. 25 | Same error handling as for getname(). */ 26 | int (*getcode)(const char* name, int namelen, Py_UCS4* code, 27 | int with_named_seq); 28 | 29 | } _PyUnicode_Name_CAPI; 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | #endif /* !Py_INTERNAL_UCNHASH_H */ 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_unionobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_UNIONOBJECT_H 2 | #define Py_INTERNAL_UNIONOBJECT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | extern PyTypeObject _PyUnion_Type; 12 | #define _PyUnion_Check(op) Py_IS_TYPE(op, &_PyUnion_Type) 13 | extern PyObject *_Py_union_type_or(PyObject *, PyObject *); 14 | 15 | #define _PyGenericAlias_Check(op) PyObject_TypeCheck(op, &Py_GenericAliasType) 16 | extern PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *); 17 | extern PyObject *_Py_make_parameters(PyObject *); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_INTERNAL_UNIONOBJECT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/internal/pycore_warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_WARNINGS_H 2 | #define Py_INTERNAL_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | struct _warnings_runtime_state { 12 | /* Both 'filters' and 'onceregistry' can be set in warnings.py; 13 | get_warnings_attr() will reset these variables accordingly. */ 14 | PyObject *filters; /* List */ 15 | PyObject *once_registry; /* Dict */ 16 | PyObject *default_action; /* String */ 17 | long filters_version; 18 | }; 19 | 20 | extern int _PyWarnings_InitState(PyInterpreterState *interp); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_INTERNAL_WARNINGS_H */ 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERPRETERIDOBJECT_H 2 | #define Py_INTERPRETERIDOBJECT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | # define Py_CPYTHON_INTERPRETERIDOBJECT_H 10 | # include "cpython/interpreteridobject.h" 11 | # undef Py_CPYTHON_INTERPRETERIDOBJECT_H 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_INTERPRETERIDOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/intrcheck.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTRCHECK_H 2 | #define Py_INTRCHECK_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 8 | #ifdef HAVE_FORK 9 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 10 | PyAPI_FUNC(void) PyOS_BeforeFork(void); 11 | PyAPI_FUNC(void) PyOS_AfterFork_Parent(void); 12 | PyAPI_FUNC(void) PyOS_AfterFork_Child(void); 13 | #endif 14 | #endif 15 | /* Deprecated, please use PyOS_AfterFork_Child() instead */ 16 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); 17 | 18 | #ifndef Py_LIMITED_API 19 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); 20 | 21 | #ifdef MS_WINDOWS 22 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ 23 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); 24 | #endif 25 | #endif /* !Py_LIMITED_API */ 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | #endif /* !Py_INTRCHECK_H */ 31 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 10 | #ifdef Py_BUILD_CORE 11 | extern PyTypeObject _PyAnextAwaitable_Type; 12 | #endif 13 | 14 | #define PySeqIter_Check(op) Py_IS_TYPE(op, &PySeqIter_Type) 15 | 16 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 17 | 18 | 19 | #define PyCallIter_Check(op) Py_IS_TYPE(op, &PyCallIter_Type) 20 | 21 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* !Py_ITEROBJECT_H */ 27 | 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/marshal.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface for marshal.c */ 3 | 4 | #ifndef Py_MARSHAL_H 5 | #define Py_MARSHAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #define Py_MARSHAL_VERSION 4 11 | 12 | PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); 13 | PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); 14 | PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int); 15 | 16 | #ifndef Py_LIMITED_API 17 | PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); 18 | PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); 19 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); 20 | PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); 21 | #endif 22 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *, 23 | Py_ssize_t); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_MARSHAL_H */ 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/namespaceobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* simple namespace object interface */ 3 | 4 | #ifndef NAMESPACEOBJECT_H 5 | #define NAMESPACEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #ifndef Py_LIMITED_API 11 | PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 14 | #endif /* !Py_LIMITED_API */ 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !NAMESPACEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/osdefs.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_OSDEFS_H 2 | #define Py_OSDEFS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Operating system dependencies */ 9 | 10 | #ifdef MS_WINDOWS 11 | #define SEP L'\\' 12 | #define ALTSEP L'/' 13 | #define MAXPATHLEN 256 14 | #define DELIM L';' 15 | #endif 16 | 17 | #ifdef __VXWORKS__ 18 | #define DELIM L';' 19 | #endif 20 | 21 | /* Filename separator */ 22 | #ifndef SEP 23 | #define SEP L'/' 24 | #endif 25 | 26 | /* Max pathname length */ 27 | #ifdef __hpux 28 | #include 29 | #include 30 | #ifndef PATH_MAX 31 | #define PATH_MAX MAXPATHLEN 32 | #endif 33 | #endif 34 | 35 | #ifndef MAXPATHLEN 36 | #if defined(PATH_MAX) && PATH_MAX > 1024 37 | #define MAXPATHLEN PATH_MAX 38 | #else 39 | #define MAXPATHLEN 1024 40 | #endif 41 | #endif 42 | 43 | /* Search path entry delimiter */ 44 | #ifndef DELIM 45 | #define DELIM L':' 46 | #endif 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif /* !Py_OSDEFS_H */ 52 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/osmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* os module interface */ 3 | 4 | #ifndef Py_OSMODULE_H 5 | #define Py_OSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 11 | PyAPI_FUNC(PyObject *) PyOS_FSPath(PyObject *path); 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_OSMODULE_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/pyframe.h: -------------------------------------------------------------------------------- 1 | /* Limited C API of PyFrame API 2 | * 3 | * Include "frameobject.h" to get the PyFrameObject structure. 4 | */ 5 | 6 | #ifndef Py_PYFRAME_H 7 | #define Py_PYFRAME_H 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | typedef struct _frame PyFrameObject; 13 | 14 | /* Return the line of code the frame is currently executing. */ 15 | PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); 16 | 17 | PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_PYFRAME_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #ifdef MS_WINDOWS 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/pystrhex.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRHEX_H 2 | #define Py_STRHEX_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | /* Returns a str() containing the hex representation of argbuf. */ 10 | PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 11 | /* Returns a bytes() containing the ASCII hex representation of argbuf. */ 12 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 13 | /* These variants include support for a separator between every N bytes: */ 14 | PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 15 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 16 | #endif /* !Py_LIMITED_API */ 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* !Py_STRHEX_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/pythonrun.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interfaces to parse and execute pieces of python code */ 3 | 4 | #ifndef Py_PYTHONRUN_H 5 | #define Py_PYTHONRUN_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int); 11 | 12 | PyAPI_FUNC(void) PyErr_Print(void); 13 | PyAPI_FUNC(void) PyErr_PrintEx(int); 14 | PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *); 15 | 16 | 17 | /* Stuff with no proper home (yet) */ 18 | PyAPI_DATA(int) (*PyOS_InputHook)(void); 19 | 20 | /* Stack size, in "pointers" (so we get extra safety margins 21 | on 64-bit platforms). On a 32-bit platform, this translates 22 | to an 8k margin. */ 23 | #define PYOS_STACK_MARGIN 2048 24 | 25 | #if defined(WIN32) && !defined(MS_WIN64) && !defined(_M_ARM) && defined(_MSC_VER) && _MSC_VER >= 1300 26 | /* Enable stack checking under Microsoft C */ 27 | #define USE_STACKCHECK 28 | #endif 29 | 30 | #ifdef USE_STACKCHECK 31 | /* Check that we aren't overflowing our stack */ 32 | PyAPI_FUNC(int) PyOS_CheckStack(void); 33 | #endif 34 | 35 | #ifndef Py_LIMITED_API 36 | # define Py_CPYTHON_PYTHONRUN_H 37 | # include "cpython/pythonrun.h" 38 | # undef Py_CPYTHON_PYTHONRUN_H 39 | #endif 40 | 41 | #ifdef __cplusplus 42 | } 43 | #endif 44 | #endif /* !Py_PYTHONRUN_H */ 45 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | A range object represents an integer range. This is an immutable object; 12 | a range cannot change its value after creation. 13 | 14 | Range objects behave like the corresponding tuple objects except that 15 | they are represented by a start, stop, and step datamembers. 16 | */ 17 | 18 | PyAPI_DATA(PyTypeObject) PyRange_Type; 19 | PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 20 | PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 21 | 22 | #define PyRange_Check(op) Py_IS_TYPE(op, &PyRange_Type) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_RANGEOBJECT_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/sysmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* System module interface */ 3 | 4 | #ifndef Py_SYSMODULE_H 5 | #define Py_SYSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); 11 | PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); 12 | 13 | PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); 14 | PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); 15 | PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); 16 | 17 | PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) 18 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 19 | PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) 20 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 21 | PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...); 22 | PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...); 23 | 24 | PyAPI_FUNC(void) PySys_ResetWarnOptions(void); 25 | PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); 26 | PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); 27 | PyAPI_FUNC(int) PySys_HasWarnOptions(void); 28 | 29 | PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); 30 | PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); 31 | 32 | #ifndef Py_LIMITED_API 33 | # define Py_CPYTHON_SYSMODULE_H 34 | # include "cpython/sysmodule.h" 35 | # undef Py_CPYTHON_SYSMODULE_H 36 | #endif 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | #endif /* !Py_SYSMODULE_H */ 42 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEBACK_H 2 | #define Py_TRACEBACK_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | /* Traceback interface */ 8 | 9 | PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *); 10 | PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); 11 | 12 | /* Reveal traceback type so we can typecheck traceback objects */ 13 | PyAPI_DATA(PyTypeObject) PyTraceBack_Type; 14 | #define PyTraceBack_Check(v) Py_IS_TYPE(v, &PyTraceBack_Type) 15 | 16 | 17 | #ifndef Py_LIMITED_API 18 | # define Py_CPYTHON_TRACEBACK_H 19 | # include "cpython/traceback.h" 20 | # undef Py_CPYTHON_TRACEBACK_H 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* !Py_TRACEBACK_H */ 27 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/include/tracemalloc.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEMALLOC_H 2 | #define Py_TRACEMALLOC_H 3 | 4 | #ifndef Py_LIMITED_API 5 | /* Track an allocated memory block in the tracemalloc module. 6 | Return 0 on success, return -1 on error (failed to allocate memory to store 7 | the trace). 8 | 9 | Return -2 if tracemalloc is disabled. 10 | 11 | If memory block is already tracked, update the existing trace. */ 12 | PyAPI_FUNC(int) PyTraceMalloc_Track( 13 | unsigned int domain, 14 | uintptr_t ptr, 15 | size_t size); 16 | 17 | /* Untrack an allocated memory block in the tracemalloc module. 18 | Do nothing if the block was not tracked. 19 | 20 | Return -2 if tracemalloc is disabled, otherwise return 0. */ 21 | PyAPI_FUNC(int) PyTraceMalloc_Untrack( 22 | unsigned int domain, 23 | uintptr_t ptr); 24 | 25 | /* Get the traceback where a memory block was allocated. 26 | 27 | Return a tuple of (filename: str, lineno: int) tuples. 28 | 29 | Return None if the tracemalloc module is disabled or if the memory block 30 | is not tracked by tracemalloc. 31 | 32 | Raise an exception and return NULL on error. */ 33 | PyAPI_FUNC(PyObject*) _PyTraceMalloc_GetTraceback( 34 | unsigned int domain, 35 | uintptr_t ptr); 36 | #endif 37 | 38 | #endif /* !Py_TRACEMALLOC_H */ 39 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/libs/python3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/libs/python3.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/libs/python310.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python310/x64/libs/python310.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/bltinmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_BLTINMODULE_H 2 | #define Py_BLTINMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_DATA(PyTypeObject) PyFilter_Type; 8 | PyAPI_DATA(PyTypeObject) PyMap_Type; 9 | PyAPI_DATA(PyTypeObject) PyZip_Type; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_BLTINMODULE_H */ 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/boolobject.h: -------------------------------------------------------------------------------- 1 | /* Boolean object interface */ 2 | 3 | #ifndef Py_BOOLOBJECT_H 4 | #define Py_BOOLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | 10 | PyAPI_DATA(PyTypeObject) PyBool_Type; 11 | 12 | #define PyBool_Check(x) Py_IS_TYPE(x, &PyBool_Type) 13 | 14 | /* Py_False and Py_True are the only two bools in existence. 15 | Don't forget to apply Py_INCREF() when returning either!!! */ 16 | 17 | /* Don't use these directly */ 18 | PyAPI_DATA(struct _longobject) _Py_FalseStruct; 19 | PyAPI_DATA(struct _longobject) _Py_TrueStruct; 20 | 21 | /* Use these macros */ 22 | #define Py_False ((PyObject *) &_Py_FalseStruct) 23 | #define Py_True ((PyObject *) &_Py_TrueStruct) 24 | 25 | // Test if an object is the True singleton, the same as "x is True" in Python. 26 | PyAPI_FUNC(int) Py_IsTrue(PyObject *x); 27 | #define Py_IsTrue(x) Py_Is((x), Py_True) 28 | 29 | // Test if an object is the False singleton, the same as "x is False" in Python. 30 | PyAPI_FUNC(int) Py_IsFalse(PyObject *x); 31 | #define Py_IsFalse(x) Py_Is((x), Py_False) 32 | 33 | /* Macros for returning Py_True or Py_False, respectively */ 34 | #define Py_RETURN_TRUE return Py_NewRef(Py_True) 35 | #define Py_RETURN_FALSE return Py_NewRef(Py_False) 36 | 37 | /* Function to return a bool from a C long */ 38 | PyAPI_FUNC(PyObject *) PyBool_FromLong(long); 39 | 40 | #ifdef __cplusplus 41 | } 42 | #endif 43 | #endif /* !Py_BOOLOBJECT_H */ 44 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) Py_IS_TYPE(op, &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) ((void)(((PyCellObject *)(op))->ob_ref = v)) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | #endif /* Py_LIMITED_API */ 30 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/code.h: -------------------------------------------------------------------------------- 1 | /* Definitions for bytecode */ 2 | 3 | #ifndef Py_CODE_H 4 | #define Py_CODE_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct PyCodeObject PyCodeObject; 10 | 11 | #ifndef Py_LIMITED_API 12 | # define Py_CPYTHON_CODE_H 13 | # include "cpython/code.h" 14 | # undef Py_CPYTHON_CODE_H 15 | #endif 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_CODE_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/compile.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_COMPILE_H 2 | #define Py_COMPILE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | /* These definitions must match corresponding definitions in graminit.h. */ 8 | #define Py_single_input 256 9 | #define Py_file_input 257 10 | #define Py_eval_input 258 11 | #define Py_func_type_input 345 12 | 13 | /* This doesn't need to match anything */ 14 | #define Py_fstring_input 800 15 | 16 | #ifndef Py_LIMITED_API 17 | # define Py_CPYTHON_COMPILE_H 18 | # include "cpython/compile.h" 19 | # undef Py_CPYTHON_COMPILE_H 20 | #endif 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_COMPILE_H */ 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/bytearrayobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_BYTEARRAYOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | /* Object layout */ 6 | typedef struct { 7 | PyObject_VAR_HEAD 8 | Py_ssize_t ob_alloc; /* How many bytes allocated in ob_bytes */ 9 | char *ob_bytes; /* Physical backing buffer */ 10 | char *ob_start; /* Logical start inside ob_bytes */ 11 | Py_ssize_t ob_exports; /* How many buffer exports */ 12 | } PyByteArrayObject; 13 | 14 | /* Macros, trading safety for speed */ 15 | #define PyByteArray_AS_STRING(self) \ 16 | (assert(PyByteArray_Check(self)), \ 17 | Py_SIZE(self) ? ((PyByteArrayObject *)(self))->ob_start : _PyByteArray_empty_string) 18 | #define PyByteArray_GET_SIZE(self) (assert(PyByteArray_Check(self)), Py_SIZE(self)) 19 | 20 | PyAPI_DATA(char) _PyByteArray_empty_string[]; 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/fileobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_FILEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); 6 | 7 | /* The std printer acts as a preliminary sys.stderr until the new io 8 | infrastructure is in place. */ 9 | PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int); 10 | PyAPI_DATA(PyTypeObject) PyStdPrinter_Type; 11 | 12 | typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *); 13 | 14 | PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path); 15 | PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path); 16 | PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData); 17 | 18 | PyAPI_FUNC(int) _PyLong_FileDescriptor_Converter(PyObject *, void *); 19 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | /* Interpreter ID Object */ 6 | 7 | PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type; 8 | 9 | PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t); 10 | PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); 11 | PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *); 12 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/listobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_LISTOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | typedef struct { 6 | PyObject_VAR_HEAD 7 | /* Vector of pointers to list elements. list[0] is ob_item[0], etc. */ 8 | PyObject **ob_item; 9 | 10 | /* ob_item contains space for 'allocated' elements. The number 11 | * currently in use is ob_size. 12 | * Invariants: 13 | * 0 <= ob_size <= allocated 14 | * len(list) == ob_size 15 | * ob_item == NULL implies ob_size == allocated == 0 16 | * list.sort() temporarily sets allocated to -1 to detect mutations. 17 | * 18 | * Items must normally not be NULL, except during construction when 19 | * the list is not yet visible outside the function that builds it. 20 | */ 21 | Py_ssize_t allocated; 22 | } PyListObject; 23 | 24 | PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); 25 | PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out); 26 | 27 | /* Macro, trading safety for speed */ 28 | 29 | /* Cast argument to PyListObject* type. */ 30 | #define _PyList_CAST(op) (assert(PyList_Check(op)), (PyListObject *)(op)) 31 | 32 | #define PyList_GET_ITEM(op, i) (_PyList_CAST(op)->ob_item[i]) 33 | #define PyList_SET_ITEM(op, i, v) ((void)(_PyList_CAST(op)->ob_item[i] = (v))) 34 | #define PyList_GET_SIZE(op) Py_SIZE(_PyList_CAST(op)) 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/picklebufobject.h: -------------------------------------------------------------------------------- 1 | /* PickleBuffer object. This is built-in for ease of use from third-party 2 | * C extensions. 3 | */ 4 | 5 | #ifndef Py_PICKLEBUFOBJECT_H 6 | #define Py_PICKLEBUFOBJECT_H 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #ifndef Py_LIMITED_API 12 | 13 | PyAPI_DATA(PyTypeObject) PyPickleBuffer_Type; 14 | 15 | #define PyPickleBuffer_Check(op) Py_IS_TYPE(op, &PyPickleBuffer_Type) 16 | 17 | /* Create a PickleBuffer redirecting to the given buffer-enabled object */ 18 | PyAPI_FUNC(PyObject *) PyPickleBuffer_FromObject(PyObject *); 19 | /* Get the PickleBuffer's underlying view to the original object 20 | * (NULL if released) 21 | */ 22 | PyAPI_FUNC(const Py_buffer *) PyPickleBuffer_GetBuffer(PyObject *); 23 | /* Release the PickleBuffer. Returns 0 on success, -1 on error. */ 24 | PyAPI_FUNC(int) PyPickleBuffer_Release(PyObject *); 25 | 26 | #endif /* !Py_LIMITED_API */ 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_PICKLEBUFOBJECT_H */ 32 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/pydebug.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_PYDEBUG_H 3 | #define Py_PYDEBUG_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(int) Py_DebugFlag; 9 | PyAPI_DATA(int) Py_VerboseFlag; 10 | PyAPI_DATA(int) Py_QuietFlag; 11 | PyAPI_DATA(int) Py_InteractiveFlag; 12 | PyAPI_DATA(int) Py_InspectFlag; 13 | PyAPI_DATA(int) Py_OptimizeFlag; 14 | PyAPI_DATA(int) Py_NoSiteFlag; 15 | PyAPI_DATA(int) Py_BytesWarningFlag; 16 | PyAPI_DATA(int) Py_FrozenFlag; 17 | PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; 18 | PyAPI_DATA(int) Py_DontWriteBytecodeFlag; 19 | PyAPI_DATA(int) Py_NoUserSiteDirectory; 20 | PyAPI_DATA(int) Py_UnbufferedStdioFlag; 21 | PyAPI_DATA(int) Py_HashRandomizationFlag; 22 | PyAPI_DATA(int) Py_IsolatedFlag; 23 | 24 | #ifdef MS_WINDOWS 25 | PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag; 26 | PyAPI_DATA(int) Py_LegacyWindowsStdioFlag; 27 | #endif 28 | 29 | /* this is a wrapper around getenv() that pays attention to 30 | Py_IgnoreEnvironmentFlag. It should be used for getting variables like 31 | PYTHONPATH and PYTHONHOME from the environment */ 32 | #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_PYDEBUG_H */ 38 | #endif /* Py_LIMITED_API */ 39 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/pyfpe.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PYFPE_H 2 | #define Py_PYFPE_H 3 | /* Header excluded from the stable API */ 4 | #ifndef Py_LIMITED_API 5 | 6 | /* These macros used to do something when Python was built with --with-fpectl, 7 | * but support for that was dropped in 3.7. We continue to define them though, 8 | * to avoid breaking API users. 9 | */ 10 | 11 | #define PyFPE_START_PROTECT(err_string, leave_stmt) 12 | #define PyFPE_END_PROTECT(v) 13 | 14 | #endif /* !defined(Py_LIMITED_API) */ 15 | #endif /* !Py_PYFPE_H */ 16 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/sysmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_SYSMODULE_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); 6 | PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); 7 | 8 | PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); 9 | 10 | typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *); 11 | 12 | PyAPI_FUNC(int) PySys_Audit( 13 | const char *event, 14 | const char *argFormat, 15 | ...); 16 | PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*); 17 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TRACEBACK_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | typedef struct _traceback { 6 | PyObject_HEAD 7 | struct _traceback *tb_next; 8 | PyFrameObject *tb_frame; 9 | int tb_lasti; 10 | int tb_lineno; 11 | } PyTracebackObject; 12 | 13 | PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int); 14 | PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int); 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/cpython/tupleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TUPLEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | typedef struct { 6 | PyObject_VAR_HEAD 7 | /* ob_item contains space for 'ob_size' elements. 8 | Items must normally not be NULL, except during construction when 9 | the tuple is not yet visible outside the function that builds it. */ 10 | PyObject *ob_item[1]; 11 | } PyTupleObject; 12 | 13 | PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); 14 | PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); 15 | 16 | /* Macros trading safety for speed */ 17 | 18 | /* Cast argument to PyTupleObject* type. */ 19 | #define _PyTuple_CAST(op) (assert(PyTuple_Check(op)), (PyTupleObject *)(op)) 20 | 21 | #define PyTuple_GET_SIZE(op) Py_SIZE(_PyTuple_CAST(op)) 22 | 23 | #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) 24 | 25 | /* Macro, *only* to be used to fill in brand new tuples */ 26 | #define PyTuple_SET_ITEM(op, i, v) ((void)(_PyTuple_CAST(op)->ob_item[i] = v)) 27 | 28 | PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out); 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject *const *args, int argc, 16 | PyObject *const *kwds, int kwdc, 17 | PyObject *const *defs, int defc, 18 | PyObject *kwdefs, PyObject *closure); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 22 | #endif 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_EVAL_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/exports.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_EXPORTS_H 2 | #define Py_EXPORTS_H 3 | 4 | #if defined(_WIN32) || defined(__CYGWIN__) 5 | #define Py_IMPORTED_SYMBOL __declspec(dllimport) 6 | #define Py_EXPORTED_SYMBOL __declspec(dllexport) 7 | #define Py_LOCAL_SYMBOL 8 | #else 9 | /* 10 | * If we only ever used gcc >= 5, we could use __has_attribute(visibility) 11 | * as a cross-platform way to determine if visibility is supported. However, 12 | * we may still need to support gcc >= 4, as some Ubuntu LTS and Centos versions 13 | * have 4 < gcc < 5. 14 | */ 15 | #ifndef __has_attribute 16 | #define __has_attribute(x) 0 // Compatibility with non-clang compilers. 17 | #endif 18 | #if (defined(__GNUC__) && (__GNUC__ >= 4)) ||\ 19 | (defined(__clang__) && __has_attribute(visibility)) 20 | #define Py_IMPORTED_SYMBOL __attribute__ ((visibility ("default"))) 21 | #define Py_EXPORTED_SYMBOL __attribute__ ((visibility ("default"))) 22 | #define Py_LOCAL_SYMBOL __attribute__ ((visibility ("hidden"))) 23 | #else 24 | #define Py_IMPORTED_SYMBOL 25 | #define Py_EXPORTED_SYMBOL 26 | #define Py_LOCAL_SYMBOL 27 | #endif 28 | #endif 29 | 30 | #endif /* Py_EXPORTS_H */ 31 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/fileutils.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_FILEUTILS_H 2 | #define Py_FILEUTILS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03050000 8 | PyAPI_FUNC(wchar_t *) Py_DecodeLocale( 9 | const char *arg, 10 | size_t *size); 11 | 12 | PyAPI_FUNC(char*) Py_EncodeLocale( 13 | const wchar_t *text, 14 | size_t *error_pos); 15 | #endif 16 | 17 | #ifndef Py_LIMITED_API 18 | # define Py_CPYTHON_FILEUTILS_H 19 | # include "cpython/fileutils.h" 20 | # undef Py_CPYTHON_FILEUTILS_H 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* !Py_FILEUTILS_H */ 27 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/frameobject.h: -------------------------------------------------------------------------------- 1 | /* Frame object interface */ 2 | 3 | #ifndef Py_FRAMEOBJECT_H 4 | #define Py_FRAMEOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | #include "pyframe.h" 10 | 11 | #ifndef Py_LIMITED_API 12 | # define Py_CPYTHON_FRAMEOBJECT_H 13 | # include "cpython/frameobject.h" 14 | # undef Py_CPYTHON_FRAMEOBJECT_H 15 | #endif 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_FRAMEOBJECT_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/genericaliasobject.h: -------------------------------------------------------------------------------- 1 | // Implementation of PEP 585: support list[int] etc. 2 | #ifndef Py_GENERICALIASOBJECT_H 3 | #define Py_GENERICALIASOBJECT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(PyObject *) Py_GenericAlias(PyObject *, PyObject *); 9 | PyAPI_DATA(PyTypeObject) Py_GenericAliasType; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_GENERICALIASOBJECT_H */ 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_abstract.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_ABSTRACT_H 2 | #define Py_INTERNAL_ABSTRACT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | // Fast inlined version of PyIndex_Check() 12 | static inline int 13 | _PyIndex_Check(PyObject *obj) 14 | { 15 | PyNumberMethods *tp_as_number = Py_TYPE(obj)->tp_as_number; 16 | return (tp_as_number != NULL && tp_as_number->nb_index != NULL); 17 | } 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_INTERNAL_ABSTRACT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_accu.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_INTERNAL_ACCU_H 3 | #define Py_INTERNAL_ACCU_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /*** This is a private API for use by the interpreter and the stdlib. 9 | *** Its definition may be changed or removed at any moment. 10 | ***/ 11 | 12 | #ifndef Py_BUILD_CORE 13 | # error "this header requires Py_BUILD_CORE define" 14 | #endif 15 | 16 | /* 17 | * A two-level accumulator of unicode objects that avoids both the overhead 18 | * of keeping a huge number of small separate objects, and the quadratic 19 | * behaviour of using a naive repeated concatenation scheme. 20 | */ 21 | 22 | #undef small /* defined by some Windows headers */ 23 | 24 | typedef struct { 25 | PyObject *large; /* A list of previously accumulated large strings */ 26 | PyObject *small; /* Pending small strings */ 27 | } _PyAccu; 28 | 29 | PyAPI_FUNC(int) _PyAccu_Init(_PyAccu *acc); 30 | PyAPI_FUNC(int) _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode); 31 | PyAPI_FUNC(PyObject *) _PyAccu_FinishAsList(_PyAccu *acc); 32 | PyAPI_FUNC(PyObject *) _PyAccu_Finish(_PyAccu *acc); 33 | PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | #endif /* !Py_INTERNAL_ACCU_H */ 39 | #endif /* !Py_LIMITED_API */ 40 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_call.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CALL_H 2 | #define Py_INTERNAL_CALL_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | PyAPI_FUNC(PyObject *) _PyObject_Call_Prepend( 12 | PyThreadState *tstate, 13 | PyObject *callable, 14 | PyObject *obj, 15 | PyObject *args, 16 | PyObject *kwargs); 17 | 18 | PyAPI_FUNC(PyObject *) _PyObject_FastCallDictTstate( 19 | PyThreadState *tstate, 20 | PyObject *callable, 21 | PyObject *const *args, 22 | size_t nargsf, 23 | PyObject *kwargs); 24 | 25 | PyAPI_FUNC(PyObject *) _PyObject_Call( 26 | PyThreadState *tstate, 27 | PyObject *callable, 28 | PyObject *args, 29 | PyObject *kwargs); 30 | 31 | static inline PyObject * 32 | _PyObject_CallNoArgTstate(PyThreadState *tstate, PyObject *func) { 33 | return _PyObject_VectorcallTstate(tstate, func, NULL, 0, NULL); 34 | } 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif /* !Py_INTERNAL_CALL_H */ 40 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_code.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CODE_H 2 | #define Py_INTERNAL_CODE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | typedef struct { 8 | PyObject *ptr; /* Cached pointer (borrowed reference) */ 9 | uint64_t globals_ver; /* ma_version of global dict */ 10 | uint64_t builtins_ver; /* ma_version of builtin dict */ 11 | } _PyOpcache_LoadGlobal; 12 | 13 | typedef struct { 14 | PyTypeObject *type; 15 | Py_ssize_t hint; 16 | unsigned int tp_version_tag; 17 | } _PyOpCodeOpt_LoadAttr; 18 | 19 | struct _PyOpcache { 20 | union { 21 | _PyOpcache_LoadGlobal lg; 22 | _PyOpCodeOpt_LoadAttr la; 23 | } u; 24 | char optimized; 25 | }; 26 | 27 | /* Private API */ 28 | int _PyCode_InitOpcache(PyCodeObject *co); 29 | 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | #endif /* !Py_INTERNAL_CODE_H */ 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_compile.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_COMPILE_H 2 | #define Py_INTERNAL_COMPILE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | struct _arena; // Type defined in pycore_pyarena.h 12 | struct _mod; // Type defined in pycore_ast.h 13 | 14 | // Export the symbol for test_peg_generator (built as a library) 15 | PyAPI_FUNC(PyCodeObject*) _PyAST_Compile( 16 | struct _mod *mod, 17 | PyObject *filename, 18 | PyCompilerFlags *flags, 19 | int optimize, 20 | struct _arena *arena); 21 | extern PyFutureFeatures* _PyFuture_FromAST( 22 | struct _mod * mod, 23 | PyObject *filename 24 | ); 25 | 26 | extern PyObject* _Py_Mangle(PyObject *p, PyObject *name); 27 | 28 | typedef struct { 29 | int optimize; 30 | int ff_features; 31 | 32 | int recursion_depth; /* current recursion depth */ 33 | int recursion_limit; /* recursion limit */ 34 | } _PyASTOptimizeState; 35 | 36 | extern int _PyAST_Optimize( 37 | struct _mod *, 38 | struct _arena *arena, 39 | _PyASTOptimizeState *state); 40 | 41 | #ifdef __cplusplus 42 | } 43 | #endif 44 | #endif /* !Py_INTERNAL_COMPILE_H */ 45 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_context.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CONTEXT_H 2 | #define Py_INTERNAL_CONTEXT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | #include "pycore_hamt.h" /* PyHamtObject */ 9 | 10 | struct _pycontextobject { 11 | PyObject_HEAD 12 | PyContext *ctx_prev; 13 | PyHamtObject *ctx_vars; 14 | PyObject *ctx_weakreflist; 15 | int ctx_entered; 16 | }; 17 | 18 | 19 | struct _pycontextvarobject { 20 | PyObject_HEAD 21 | PyObject *var_name; 22 | PyObject *var_default; 23 | PyObject *var_cached; 24 | uint64_t var_cached_tsid; 25 | uint64_t var_cached_tsver; 26 | Py_hash_t var_hash; 27 | }; 28 | 29 | 30 | struct _pycontexttokenobject { 31 | PyObject_HEAD 32 | PyContext *tok_ctx; 33 | PyContextVar *tok_var; 34 | PyObject *tok_oldval; 35 | int tok_used; 36 | }; 37 | 38 | 39 | int _PyContext_Init(void); 40 | void _PyContext_Fini(PyInterpreterState *interp); 41 | 42 | #endif /* !Py_INTERNAL_CONTEXT_H */ 43 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef PY_NO_SHORT_FLOAT_REPR 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | #ifndef Py_BUILD_CORE 7 | # error "this header requires Py_BUILD_CORE define" 8 | #endif 9 | 10 | /* These functions are used by modules compiled as C extension like math: 11 | they must be exported. */ 12 | 13 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 14 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 15 | int *decpt, int *sign, char **rve); 16 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 17 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); 18 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | #endif /* !PY_NO_SHORT_FLOAT_REPR */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_format.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_FORMAT_H 2 | #define Py_INTERNAL_FORMAT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | /* Format codes 12 | * F_LJUST '-' 13 | * F_SIGN '+' 14 | * F_BLANK ' ' 15 | * F_ALT '#' 16 | * F_ZERO '0' 17 | */ 18 | #define F_LJUST (1<<0) 19 | #define F_SIGN (1<<1) 20 | #define F_BLANK (1<<2) 21 | #define F_ALT (1<<3) 22 | #define F_ZERO (1<<4) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_INTERNAL_FORMAT_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_getopt.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_PYGETOPT_H 2 | #define Py_INTERNAL_PYGETOPT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | extern int _PyOS_opterr; 9 | extern Py_ssize_t _PyOS_optind; 10 | extern const wchar_t *_PyOS_optarg; 11 | 12 | extern void _PyOS_ResetGetOpt(void); 13 | 14 | typedef struct { 15 | const wchar_t *name; 16 | int has_arg; 17 | int val; 18 | } _PyOS_LongOption; 19 | 20 | extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t * const *argv, int *longindex); 21 | 22 | #endif /* !Py_INTERNAL_PYGETOPT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_import.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_INTERNAL_IMPORT_H 3 | #define Py_INTERNAL_IMPORT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifdef HAVE_FORK 9 | extern PyStatus _PyImport_ReInitLock(void); 10 | #endif 11 | extern PyObject* _PyImport_BootstrapImp(PyThreadState *tstate); 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | #endif /* !Py_INTERNAL_IMPORT_H */ 17 | #endif /* !Py_LIMITED_API */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_list.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_LIST_H 2 | #define Py_INTERNAL_LIST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "listobject.h" // _PyList_CAST() 12 | 13 | 14 | #define _PyList_ITEMS(op) (_PyList_CAST(op)->ob_item) 15 | 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_INTERNAL_LIST_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_moduleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_MODULEOBJECT_H 2 | #define Py_INTERNAL_MODULEOBJECT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | typedef struct { 12 | PyObject_HEAD 13 | PyObject *md_dict; 14 | struct PyModuleDef *md_def; 15 | void *md_state; 16 | PyObject *md_weaklist; 17 | // for logging purposes after md_dict is cleared 18 | PyObject *md_name; 19 | } PyModuleObject; 20 | 21 | static inline PyModuleDef* _PyModule_GetDef(PyObject *mod) { 22 | assert(PyModule_Check(mod)); 23 | return ((PyModuleObject *)mod)->md_def; 24 | } 25 | 26 | static inline void* _PyModule_GetState(PyObject* mod) { 27 | assert(PyModule_Check(mod)); 28 | return ((PyModuleObject *)mod)->md_state; 29 | } 30 | 31 | static inline PyObject* _PyModule_GetDict(PyObject *mod) { 32 | assert(PyModule_Check(mod)); 33 | PyObject *dict = ((PyModuleObject *)mod) -> md_dict; 34 | // _PyModule_GetDict(mod) must not be used after calling module_clear(mod) 35 | assert(dict != NULL); 36 | return dict; 37 | } 38 | 39 | #ifdef __cplusplus 40 | } 41 | #endif 42 | #endif /* !Py_INTERNAL_MODULEOBJECT_H */ 43 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_parser.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_PARSER_H 2 | #define Py_INTERNAL_PARSER_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | extern struct _mod* _PyParser_ASTFromString( 12 | const char *str, 13 | PyObject* filename, 14 | int mode, 15 | PyCompilerFlags *flags, 16 | PyArena *arena); 17 | extern struct _mod* _PyParser_ASTFromFile( 18 | FILE *fp, 19 | PyObject *filename_ob, 20 | const char *enc, 21 | int mode, 22 | const char *ps1, 23 | const char *ps2, 24 | PyCompilerFlags *flags, 25 | int *errcode, 26 | PyArena *arena); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_INTERNAL_PARSER_H */ 32 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_pyhash.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_HASH_H 2 | #define Py_INTERNAL_HASH_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | uint64_t _Py_KeyedHash(uint64_t, const char *, Py_ssize_t); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_structseq.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_STRUCTSEQ_H 2 | #define Py_INTERNAL_STRUCTSEQ_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | 12 | PyAPI_FUNC(int) _PyStructSequence_InitType( 13 | PyTypeObject *type, 14 | PyStructSequence_Desc *desc, 15 | unsigned long tp_flags); 16 | 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif /* !Py_INTERNAL_STRUCTSEQ_H */ 22 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_sysmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_SYSMODULE_H 2 | #define Py_INTERNAL_SYSMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | PyAPI_FUNC(int) _PySys_Audit( 12 | PyThreadState *tstate, 13 | const char *event, 14 | const char *argFormat, 15 | ...); 16 | 17 | /* We want minimal exposure of this function, so use extern rather than 18 | PyAPI_FUNC() to not export the symbol. */ 19 | extern void _PySys_ClearAuditHooks(PyThreadState *tstate); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_INTERNAL_SYSMODULE_H */ 25 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_tuple.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_TUPLE_H 2 | #define Py_INTERNAL_TUPLE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "tupleobject.h" /* _PyTuple_CAST() */ 12 | 13 | #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item) 14 | 15 | PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | #endif /* !Py_INTERNAL_TUPLE_H */ 21 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_ucnhash.h: -------------------------------------------------------------------------------- 1 | /* Unicode name database interface */ 2 | #ifndef Py_INTERNAL_UCNHASH_H 3 | #define Py_INTERNAL_UCNHASH_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_BUILD_CORE 9 | # error "this header requires Py_BUILD_CORE define" 10 | #endif 11 | 12 | /* revised ucnhash CAPI interface (exported through a "wrapper") */ 13 | 14 | #define PyUnicodeData_CAPSULE_NAME "unicodedata._ucnhash_CAPI" 15 | 16 | typedef struct { 17 | 18 | /* Get name for a given character code. 19 | Returns non-zero if success, zero if not. 20 | Does not set Python exceptions. */ 21 | int (*getname)(Py_UCS4 code, char* buffer, int buflen, 22 | int with_alias_and_seq); 23 | 24 | /* Get character code for a given name. 25 | Same error handling as for getname(). */ 26 | int (*getcode)(const char* name, int namelen, Py_UCS4* code, 27 | int with_named_seq); 28 | 29 | } _PyUnicode_Name_CAPI; 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | #endif /* !Py_INTERNAL_UCNHASH_H */ 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_unionobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_UNIONOBJECT_H 2 | #define Py_INTERNAL_UNIONOBJECT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | extern PyTypeObject _PyUnion_Type; 12 | #define _PyUnion_Check(op) Py_IS_TYPE(op, &_PyUnion_Type) 13 | extern PyObject *_Py_union_type_or(PyObject *, PyObject *); 14 | 15 | #define _PyGenericAlias_Check(op) PyObject_TypeCheck(op, &Py_GenericAliasType) 16 | extern PyObject *_Py_subs_parameters(PyObject *, PyObject *, PyObject *, PyObject *); 17 | extern PyObject *_Py_make_parameters(PyObject *); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_INTERNAL_UNIONOBJECT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/internal/pycore_warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_WARNINGS_H 2 | #define Py_INTERNAL_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | struct _warnings_runtime_state { 12 | /* Both 'filters' and 'onceregistry' can be set in warnings.py; 13 | get_warnings_attr() will reset these variables accordingly. */ 14 | PyObject *filters; /* List */ 15 | PyObject *once_registry; /* Dict */ 16 | PyObject *default_action; /* String */ 17 | long filters_version; 18 | }; 19 | 20 | extern int _PyWarnings_InitState(PyInterpreterState *interp); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_INTERNAL_WARNINGS_H */ 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERPRETERIDOBJECT_H 2 | #define Py_INTERPRETERIDOBJECT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | # define Py_CPYTHON_INTERPRETERIDOBJECT_H 10 | # include "cpython/interpreteridobject.h" 11 | # undef Py_CPYTHON_INTERPRETERIDOBJECT_H 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_INTERPRETERIDOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/intrcheck.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTRCHECK_H 2 | #define Py_INTRCHECK_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 8 | #ifdef HAVE_FORK 9 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 10 | PyAPI_FUNC(void) PyOS_BeforeFork(void); 11 | PyAPI_FUNC(void) PyOS_AfterFork_Parent(void); 12 | PyAPI_FUNC(void) PyOS_AfterFork_Child(void); 13 | #endif 14 | #endif 15 | /* Deprecated, please use PyOS_AfterFork_Child() instead */ 16 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); 17 | 18 | #ifndef Py_LIMITED_API 19 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); 20 | 21 | #ifdef MS_WINDOWS 22 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ 23 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); 24 | #endif 25 | #endif /* !Py_LIMITED_API */ 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | #endif /* !Py_INTRCHECK_H */ 31 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 10 | #ifdef Py_BUILD_CORE 11 | extern PyTypeObject _PyAnextAwaitable_Type; 12 | #endif 13 | 14 | #define PySeqIter_Check(op) Py_IS_TYPE(op, &PySeqIter_Type) 15 | 16 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 17 | 18 | 19 | #define PyCallIter_Check(op) Py_IS_TYPE(op, &PyCallIter_Type) 20 | 21 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* !Py_ITEROBJECT_H */ 27 | 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/marshal.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface for marshal.c */ 3 | 4 | #ifndef Py_MARSHAL_H 5 | #define Py_MARSHAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #define Py_MARSHAL_VERSION 4 11 | 12 | PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); 13 | PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); 14 | PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int); 15 | 16 | #ifndef Py_LIMITED_API 17 | PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); 18 | PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); 19 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); 20 | PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); 21 | #endif 22 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *, 23 | Py_ssize_t); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_MARSHAL_H */ 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/namespaceobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* simple namespace object interface */ 3 | 4 | #ifndef NAMESPACEOBJECT_H 5 | #define NAMESPACEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #ifndef Py_LIMITED_API 11 | PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 14 | #endif /* !Py_LIMITED_API */ 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !NAMESPACEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/osdefs.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_OSDEFS_H 2 | #define Py_OSDEFS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Operating system dependencies */ 9 | 10 | #ifdef MS_WINDOWS 11 | #define SEP L'\\' 12 | #define ALTSEP L'/' 13 | #define MAXPATHLEN 256 14 | #define DELIM L';' 15 | #endif 16 | 17 | #ifdef __VXWORKS__ 18 | #define DELIM L';' 19 | #endif 20 | 21 | /* Filename separator */ 22 | #ifndef SEP 23 | #define SEP L'/' 24 | #endif 25 | 26 | /* Max pathname length */ 27 | #ifdef __hpux 28 | #include 29 | #include 30 | #ifndef PATH_MAX 31 | #define PATH_MAX MAXPATHLEN 32 | #endif 33 | #endif 34 | 35 | #ifndef MAXPATHLEN 36 | #if defined(PATH_MAX) && PATH_MAX > 1024 37 | #define MAXPATHLEN PATH_MAX 38 | #else 39 | #define MAXPATHLEN 1024 40 | #endif 41 | #endif 42 | 43 | /* Search path entry delimiter */ 44 | #ifndef DELIM 45 | #define DELIM L':' 46 | #endif 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif /* !Py_OSDEFS_H */ 52 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/osmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* os module interface */ 3 | 4 | #ifndef Py_OSMODULE_H 5 | #define Py_OSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 11 | PyAPI_FUNC(PyObject *) PyOS_FSPath(PyObject *path); 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_OSMODULE_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/pyframe.h: -------------------------------------------------------------------------------- 1 | /* Limited C API of PyFrame API 2 | * 3 | * Include "frameobject.h" to get the PyFrameObject structure. 4 | */ 5 | 6 | #ifndef Py_PYFRAME_H 7 | #define Py_PYFRAME_H 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | typedef struct _frame PyFrameObject; 13 | 14 | /* Return the line of code the frame is currently executing. */ 15 | PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *); 16 | 17 | PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_PYFRAME_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #ifdef MS_WINDOWS 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/pystrhex.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRHEX_H 2 | #define Py_STRHEX_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | /* Returns a str() containing the hex representation of argbuf. */ 10 | PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 11 | /* Returns a bytes() containing the ASCII hex representation of argbuf. */ 12 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 13 | /* These variants include support for a separator between every N bytes: */ 14 | PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 15 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 16 | #endif /* !Py_LIMITED_API */ 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* !Py_STRHEX_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/pythonrun.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interfaces to parse and execute pieces of python code */ 3 | 4 | #ifndef Py_PYTHONRUN_H 5 | #define Py_PYTHONRUN_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) Py_CompileString(const char *, const char *, int); 11 | 12 | PyAPI_FUNC(void) PyErr_Print(void); 13 | PyAPI_FUNC(void) PyErr_PrintEx(int); 14 | PyAPI_FUNC(void) PyErr_Display(PyObject *, PyObject *, PyObject *); 15 | 16 | 17 | /* Stuff with no proper home (yet) */ 18 | PyAPI_DATA(int) (*PyOS_InputHook)(void); 19 | 20 | /* Stack size, in "pointers" (so we get extra safety margins 21 | on 64-bit platforms). On a 32-bit platform, this translates 22 | to an 8k margin. */ 23 | #define PYOS_STACK_MARGIN 2048 24 | 25 | #if defined(WIN32) && !defined(MS_WIN64) && !defined(_M_ARM) && defined(_MSC_VER) && _MSC_VER >= 1300 26 | /* Enable stack checking under Microsoft C */ 27 | #define USE_STACKCHECK 28 | #endif 29 | 30 | #ifdef USE_STACKCHECK 31 | /* Check that we aren't overflowing our stack */ 32 | PyAPI_FUNC(int) PyOS_CheckStack(void); 33 | #endif 34 | 35 | #ifndef Py_LIMITED_API 36 | # define Py_CPYTHON_PYTHONRUN_H 37 | # include "cpython/pythonrun.h" 38 | # undef Py_CPYTHON_PYTHONRUN_H 39 | #endif 40 | 41 | #ifdef __cplusplus 42 | } 43 | #endif 44 | #endif /* !Py_PYTHONRUN_H */ 45 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | A range object represents an integer range. This is an immutable object; 12 | a range cannot change its value after creation. 13 | 14 | Range objects behave like the corresponding tuple objects except that 15 | they are represented by a start, stop, and step datamembers. 16 | */ 17 | 18 | PyAPI_DATA(PyTypeObject) PyRange_Type; 19 | PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 20 | PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 21 | 22 | #define PyRange_Check(op) Py_IS_TYPE(op, &PyRange_Type) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_RANGEOBJECT_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/sysmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* System module interface */ 3 | 4 | #ifndef Py_SYSMODULE_H 5 | #define Py_SYSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); 11 | PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); 12 | 13 | PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); 14 | PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); 15 | PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); 16 | 17 | PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) 18 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 19 | PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) 20 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 21 | PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...); 22 | PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...); 23 | 24 | PyAPI_FUNC(void) PySys_ResetWarnOptions(void); 25 | PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); 26 | PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); 27 | PyAPI_FUNC(int) PySys_HasWarnOptions(void); 28 | 29 | PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); 30 | PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); 31 | 32 | #ifndef Py_LIMITED_API 33 | # define Py_CPYTHON_SYSMODULE_H 34 | # include "cpython/sysmodule.h" 35 | # undef Py_CPYTHON_SYSMODULE_H 36 | #endif 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | #endif /* !Py_SYSMODULE_H */ 42 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEBACK_H 2 | #define Py_TRACEBACK_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | /* Traceback interface */ 8 | 9 | PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *); 10 | PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); 11 | 12 | /* Reveal traceback type so we can typecheck traceback objects */ 13 | PyAPI_DATA(PyTypeObject) PyTraceBack_Type; 14 | #define PyTraceBack_Check(v) Py_IS_TYPE(v, &PyTraceBack_Type) 15 | 16 | 17 | #ifndef Py_LIMITED_API 18 | # define Py_CPYTHON_TRACEBACK_H 19 | # include "cpython/traceback.h" 20 | # undef Py_CPYTHON_TRACEBACK_H 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* !Py_TRACEBACK_H */ 27 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/include/tracemalloc.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEMALLOC_H 2 | #define Py_TRACEMALLOC_H 3 | 4 | #ifndef Py_LIMITED_API 5 | /* Track an allocated memory block in the tracemalloc module. 6 | Return 0 on success, return -1 on error (failed to allocate memory to store 7 | the trace). 8 | 9 | Return -2 if tracemalloc is disabled. 10 | 11 | If memory block is already tracked, update the existing trace. */ 12 | PyAPI_FUNC(int) PyTraceMalloc_Track( 13 | unsigned int domain, 14 | uintptr_t ptr, 15 | size_t size); 16 | 17 | /* Untrack an allocated memory block in the tracemalloc module. 18 | Do nothing if the block was not tracked. 19 | 20 | Return -2 if tracemalloc is disabled, otherwise return 0. */ 21 | PyAPI_FUNC(int) PyTraceMalloc_Untrack( 22 | unsigned int domain, 23 | uintptr_t ptr); 24 | 25 | /* Get the traceback where a memory block was allocated. 26 | 27 | Return a tuple of (filename: str, lineno: int) tuples. 28 | 29 | Return None if the tracemalloc module is disabled or if the memory block 30 | is not tracked by tracemalloc. 31 | 32 | Raise an exception and return NULL on error. */ 33 | PyAPI_FUNC(PyObject*) _PyTraceMalloc_GetTraceback( 34 | unsigned int domain, 35 | uintptr_t ptr); 36 | #endif 37 | 38 | #endif /* !Py_TRACEMALLOC_H */ 39 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/libs/python3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/libs/python3.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/libs/python310.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python310/x86/libs/python310.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/asdl.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ASDL_H 2 | #define Py_ASDL_H 3 | 4 | typedef PyObject * identifier; 5 | typedef PyObject * string; 6 | typedef PyObject * bytes; 7 | typedef PyObject * object; 8 | typedef PyObject * singleton; 9 | typedef PyObject * constant; 10 | 11 | /* It would be nice if the code generated by asdl_c.py was completely 12 | independent of Python, but it is a goal the requires too much work 13 | at this stage. So, for example, I'll represent identifiers as 14 | interned Python strings. 15 | */ 16 | 17 | /* XXX A sequence should be typed so that its use can be typechecked. */ 18 | 19 | typedef struct { 20 | Py_ssize_t size; 21 | void *elements[1]; 22 | } asdl_seq; 23 | 24 | typedef struct { 25 | Py_ssize_t size; 26 | int elements[1]; 27 | } asdl_int_seq; 28 | 29 | asdl_seq *_Py_asdl_seq_new(Py_ssize_t size, PyArena *arena); 30 | asdl_int_seq *_Py_asdl_int_seq_new(Py_ssize_t size, PyArena *arena); 31 | 32 | #define asdl_seq_GET(S, I) (S)->elements[(I)] 33 | #define asdl_seq_LEN(S) ((S) == NULL ? 0 : (S)->size) 34 | #ifdef Py_DEBUG 35 | #define asdl_seq_SET(S, I, V) \ 36 | do { \ 37 | Py_ssize_t _asdl_i = (I); \ 38 | assert((S) != NULL); \ 39 | assert(0 <= _asdl_i && _asdl_i < (S)->size); \ 40 | (S)->elements[_asdl_i] = (V); \ 41 | } while (0) 42 | #else 43 | #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V) 44 | #endif 45 | 46 | #endif /* !Py_ASDL_H */ 47 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #include "Python-ast.h" /* mod_ty */ 8 | #include "node.h" /* node */ 9 | 10 | PyAPI_FUNC(int) PyAST_Validate(mod_ty); 11 | PyAPI_FUNC(mod_ty) PyAST_FromNode( 12 | const node *n, 13 | PyCompilerFlags *flags, 14 | const char *filename, /* decoded from the filesystem encoding */ 15 | PyArena *arena); 16 | PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( 17 | const node *n, 18 | PyCompilerFlags *flags, 19 | PyObject *filename, 20 | PyArena *arena); 21 | 22 | #ifndef Py_LIMITED_API 23 | 24 | /* _PyAST_ExprAsUnicode is defined in ast_unparse.c */ 25 | PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty); 26 | 27 | /* Return the borrowed reference to the first literal string in the 28 | sequence of statemnts or NULL if it doesn't start from a literal string. 29 | Doesn't set exception. */ 30 | PyAPI_FUNC(PyObject *) _PyAST_GetDocString(asdl_seq *); 31 | 32 | #endif /* !Py_LIMITED_API */ 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_AST_H */ 38 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/bitset.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_BITSET_H 3 | #define Py_BITSET_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* Bitset interface */ 9 | 10 | #define BYTE char 11 | typedef BYTE *bitset; 12 | 13 | #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0) 14 | 15 | #define BITSPERBYTE (8*sizeof(BYTE)) 16 | #define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE) 17 | #define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE) 18 | #define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit)) 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | #endif /* !Py_BITSET_H */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/bltinmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_BLTINMODULE_H 2 | #define Py_BLTINMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_DATA(PyTypeObject) PyFilter_Type; 8 | PyAPI_DATA(PyTypeObject) PyMap_Type; 9 | PyAPI_DATA(PyTypeObject) PyZip_Type; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_BLTINMODULE_H */ 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/boolobject.h: -------------------------------------------------------------------------------- 1 | /* Boolean object interface */ 2 | 3 | #ifndef Py_BOOLOBJECT_H 4 | #define Py_BOOLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | 10 | PyAPI_DATA(PyTypeObject) PyBool_Type; 11 | 12 | #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) 13 | 14 | /* Py_False and Py_True are the only two bools in existence. 15 | Don't forget to apply Py_INCREF() when returning either!!! */ 16 | 17 | /* Don't use these directly */ 18 | PyAPI_DATA(struct _longobject) _Py_FalseStruct, _Py_TrueStruct; 19 | 20 | /* Use these macros */ 21 | #define Py_False ((PyObject *) &_Py_FalseStruct) 22 | #define Py_True ((PyObject *) &_Py_TrueStruct) 23 | 24 | /* Macros for returning Py_True or Py_False, respectively */ 25 | #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True 26 | #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False 27 | 28 | /* Function to return a bool from a C long */ 29 | PyAPI_FUNC(PyObject *) PyBool_FromLong(long); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | #endif /* !Py_BOOLOBJECT_H */ 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | #endif /* Py_LIMITED_API */ 30 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/cpython/fileobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_FILEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); 10 | 11 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 12 | PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors; 13 | #endif 14 | 15 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 16 | PyAPI_DATA(int) Py_UTF8Mode; 17 | #endif 18 | 19 | /* The std printer acts as a preliminary sys.stderr until the new io 20 | infrastructure is in place. */ 21 | PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int); 22 | PyAPI_DATA(PyTypeObject) PyStdPrinter_Type; 23 | 24 | typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *); 25 | 26 | PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path); 27 | PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path); 28 | PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/cpython/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | /* Interpreter ID Object */ 10 | 11 | PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t); 14 | PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); 15 | PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/cpython/sysmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_SYSMODULE_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); 10 | PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); 11 | 12 | PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); 13 | 14 | typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *); 15 | 16 | PyAPI_FUNC(int) PySys_Audit(const char*, const char *, ...); 17 | PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/cpython/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TRACEBACK_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct _traceback { 10 | PyObject_HEAD 11 | struct _traceback *tb_next; 12 | struct _frame *tb_frame; 13 | int tb_lasti; 14 | int tb_lineno; 15 | } PyTracebackObject; 16 | 17 | PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int); 18 | PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/cpython/tupleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TUPLEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_VAR_HEAD 11 | /* ob_item contains space for 'ob_size' elements. 12 | Items must normally not be NULL, except during construction when 13 | the tuple is not yet visible outside the function that builds it. */ 14 | PyObject *ob_item[1]; 15 | } PyTupleObject; 16 | 17 | PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); 18 | PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); 19 | 20 | /* Macros trading safety for speed */ 21 | 22 | /* Cast argument to PyTupleObject* type. */ 23 | #define _PyTuple_CAST(op) (assert(PyTuple_Check(op)), (PyTupleObject *)(op)) 24 | 25 | #define PyTuple_GET_SIZE(op) Py_SIZE(_PyTuple_CAST(op)) 26 | 27 | #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) 28 | 29 | /* Macro, *only* to be used to fill in brand new tuples */ 30 | #define PyTuple_SET_ITEM(op, i, v) (_PyTuple_CAST(op)->ob_item[i] = v) 31 | 32 | PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef PY_NO_SHORT_FLOAT_REPR 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 8 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 9 | int *decpt, int *sign, char **rve); 10 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 11 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); 12 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); 13 | 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject *const *args, int argc, 16 | PyObject *const *kwds, int kwdc, 17 | PyObject *const *defs, int defc, 18 | PyObject *kwdefs, PyObject *closure); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName( 22 | PyObject *co, 23 | PyObject *globals, PyObject *locals, 24 | PyObject *const *args, Py_ssize_t argcount, 25 | PyObject *const *kwnames, PyObject *const *kwargs, 26 | Py_ssize_t kwcount, int kwstep, 27 | PyObject *const *defs, Py_ssize_t defcount, 28 | PyObject *kwdefs, PyObject *closure, 29 | PyObject *name, PyObject *qualname); 30 | 31 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 32 | #endif 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_EVAL_H */ 38 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_accu.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_INTERNAL_ACCU_H 3 | #define Py_INTERNAL_ACCU_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /*** This is a private API for use by the interpreter and the stdlib. 9 | *** Its definition may be changed or removed at any moment. 10 | ***/ 11 | 12 | #ifndef Py_BUILD_CORE 13 | # error "this header requires Py_BUILD_CORE define" 14 | #endif 15 | 16 | /* 17 | * A two-level accumulator of unicode objects that avoids both the overhead 18 | * of keeping a huge number of small separate objects, and the quadratic 19 | * behaviour of using a naive repeated concatenation scheme. 20 | */ 21 | 22 | #undef small /* defined by some Windows headers */ 23 | 24 | typedef struct { 25 | PyObject *large; /* A list of previously accumulated large strings */ 26 | PyObject *small; /* Pending small strings */ 27 | } _PyAccu; 28 | 29 | PyAPI_FUNC(int) _PyAccu_Init(_PyAccu *acc); 30 | PyAPI_FUNC(int) _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode); 31 | PyAPI_FUNC(PyObject *) _PyAccu_FinishAsList(_PyAccu *acc); 32 | PyAPI_FUNC(PyObject *) _PyAccu_Finish(_PyAccu *acc); 33 | PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | #endif /* !Py_INTERNAL_ACCU_H */ 39 | #endif /* !Py_LIMITED_API */ 40 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_ceval.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CEVAL_H 2 | #define Py_INTERNAL_CEVAL_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "pycore_atomic.h" 12 | #include "pycore_pystate.h" 13 | #include "pythread.h" 14 | 15 | PyAPI_FUNC(void) _Py_FinishPendingCalls(_PyRuntimeState *runtime); 16 | PyAPI_FUNC(void) _PyEval_Initialize(struct _ceval_runtime_state *); 17 | PyAPI_FUNC(void) _PyEval_FiniThreads( 18 | struct _ceval_runtime_state *ceval); 19 | PyAPI_FUNC(void) _PyEval_SignalReceived( 20 | struct _ceval_runtime_state *ceval); 21 | PyAPI_FUNC(int) _PyEval_AddPendingCall( 22 | PyThreadState *tstate, 23 | struct _ceval_runtime_state *ceval, 24 | int (*func)(void *), 25 | void *arg); 26 | PyAPI_FUNC(void) _PyEval_SignalAsyncExc( 27 | struct _ceval_runtime_state *ceval); 28 | PyAPI_FUNC(void) _PyEval_ReInitThreads( 29 | _PyRuntimeState *runtime); 30 | 31 | /* Private function */ 32 | void _PyEval_Fini(void); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_INTERNAL_CEVAL_H */ 38 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_code.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CODE_H 2 | #define Py_INTERNAL_CODE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | typedef struct { 8 | PyObject *ptr; /* Cached pointer (borrowed reference) */ 9 | uint64_t globals_ver; /* ma_version of global dict */ 10 | uint64_t builtins_ver; /* ma_version of builtin dict */ 11 | } _PyOpcache_LoadGlobal; 12 | 13 | struct _PyOpcache { 14 | union { 15 | _PyOpcache_LoadGlobal lg; 16 | } u; 17 | char optimized; 18 | }; 19 | 20 | /* Private API */ 21 | int _PyCode_InitOpcache(PyCodeObject *co); 22 | 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_INTERNAL_CODE_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_context.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CONTEXT_H 2 | #define Py_INTERNAL_CONTEXT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | #include "pycore_hamt.h" 9 | 10 | struct _pycontextobject { 11 | PyObject_HEAD 12 | PyContext *ctx_prev; 13 | PyHamtObject *ctx_vars; 14 | PyObject *ctx_weakreflist; 15 | int ctx_entered; 16 | }; 17 | 18 | 19 | struct _pycontextvarobject { 20 | PyObject_HEAD 21 | PyObject *var_name; 22 | PyObject *var_default; 23 | PyObject *var_cached; 24 | uint64_t var_cached_tsid; 25 | uint64_t var_cached_tsver; 26 | Py_hash_t var_hash; 27 | }; 28 | 29 | 30 | struct _pycontexttokenobject { 31 | PyObject_HEAD 32 | PyContext *tok_ctx; 33 | PyContextVar *tok_var; 34 | PyObject *tok_oldval; 35 | int tok_used; 36 | }; 37 | 38 | 39 | int _PyContext_Init(void); 40 | void _PyContext_Fini(void); 41 | 42 | #endif /* !Py_INTERNAL_CONTEXT_H */ 43 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_getopt.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_PYGETOPT_H 2 | #define Py_INTERNAL_PYGETOPT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | extern int _PyOS_opterr; 9 | extern Py_ssize_t _PyOS_optind; 10 | extern const wchar_t *_PyOS_optarg; 11 | 12 | extern void _PyOS_ResetGetOpt(void); 13 | 14 | typedef struct { 15 | const wchar_t *name; 16 | int has_arg; 17 | int val; 18 | } _PyOS_LongOption; 19 | 20 | extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t * const *argv, int *longindex); 21 | 22 | #endif /* !Py_INTERNAL_PYGETOPT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_pyhash.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_HASH_H 2 | #define Py_INTERNAL_HASH_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | uint64_t _Py_KeyedHash(uint64_t, const char *, Py_ssize_t); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_tupleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_TUPLEOBJECT_H 2 | #define Py_INTERNAL_TUPLEOBJECT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "tupleobject.h" 12 | 13 | #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item) 14 | PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !Py_INTERNAL_TUPLEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/internal/pycore_warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_WARNINGS_H 2 | #define Py_INTERNAL_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "object.h" 12 | 13 | struct _warnings_runtime_state { 14 | /* Both 'filters' and 'onceregistry' can be set in warnings.py; 15 | get_warnings_attr() will reset these variables accordingly. */ 16 | PyObject *filters; /* List */ 17 | PyObject *once_registry; /* Dict */ 18 | PyObject *default_action; /* String */ 19 | long filters_version; 20 | }; 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_INTERNAL_WARNINGS_H */ 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERPRETERIDOBJECT_H 2 | #define Py_INTERPRETERIDOBJECT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | # define Py_CPYTHON_INTERPRETERIDOBJECT_H 10 | # include "cpython/interpreteridobject.h" 11 | # undef Py_CPYTHON_INTERPRETERIDOBJECT_H 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_INTERPRETERIDOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | #ifdef HAVE_FORK 11 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 12 | PyAPI_FUNC(void) PyOS_BeforeFork(void); 13 | PyAPI_FUNC(void) PyOS_AfterFork_Parent(void); 14 | PyAPI_FUNC(void) PyOS_AfterFork_Child(void); 15 | #endif 16 | #endif 17 | /* Deprecated, please use PyOS_AfterFork_Child() instead */ 18 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); 22 | PyAPI_FUNC(void) _PySignal_AfterFork(void); 23 | 24 | #ifdef MS_WINDOWS 25 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ 26 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); 27 | #endif 28 | #endif /* !Py_LIMITED_API */ 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | #endif /* !Py_INTRCHECK_H */ 34 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 10 | PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type; 11 | 12 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 13 | 14 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 15 | 16 | 17 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 18 | 19 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_ITEROBJECT_H */ 25 | 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/marshal.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface for marshal.c */ 3 | 4 | #ifndef Py_MARSHAL_H 5 | #define Py_MARSHAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #define Py_MARSHAL_VERSION 4 11 | 12 | PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); 13 | PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); 14 | PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int); 15 | 16 | #ifndef Py_LIMITED_API 17 | PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); 18 | PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); 19 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); 20 | PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); 21 | #endif 22 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *, 23 | Py_ssize_t); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_MARSHAL_H */ 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/namespaceobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* simple namespace object interface */ 3 | 4 | #ifndef NAMESPACEOBJECT_H 5 | #define NAMESPACEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #ifndef Py_LIMITED_API 11 | PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 14 | #endif /* !Py_LIMITED_API */ 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !NAMESPACEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/osdefs.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_OSDEFS_H 2 | #define Py_OSDEFS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Operating system dependencies */ 9 | 10 | #ifdef MS_WINDOWS 11 | #define SEP L'\\' 12 | #define ALTSEP L'/' 13 | #define MAXPATHLEN 256 14 | #define DELIM L';' 15 | #endif 16 | 17 | #ifdef __VXWORKS__ 18 | #define DELIM L';' 19 | #endif 20 | 21 | /* Filename separator */ 22 | #ifndef SEP 23 | #define SEP L'/' 24 | #endif 25 | 26 | /* Max pathname length */ 27 | #ifdef __hpux 28 | #include 29 | #include 30 | #ifndef PATH_MAX 31 | #define PATH_MAX MAXPATHLEN 32 | #endif 33 | #endif 34 | 35 | #ifndef MAXPATHLEN 36 | #if defined(PATH_MAX) && PATH_MAX > 1024 37 | #define MAXPATHLEN PATH_MAX 38 | #else 39 | #define MAXPATHLEN 1024 40 | #endif 41 | #endif 42 | 43 | /* Search path entry delimiter */ 44 | #ifndef DELIM 45 | #define DELIM L':' 46 | #endif 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif /* !Py_OSDEFS_H */ 52 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/osmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* os module interface */ 3 | 4 | #ifndef Py_OSMODULE_H 5 | #define Py_OSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 11 | PyAPI_FUNC(PyObject *) PyOS_FSPath(PyObject *path); 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_OSMODULE_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/picklebufobject.h: -------------------------------------------------------------------------------- 1 | /* PickleBuffer object. This is built-in for ease of use from third-party 2 | * C extensions. 3 | */ 4 | 5 | #ifndef Py_PICKLEBUFOBJECT_H 6 | #define Py_PICKLEBUFOBJECT_H 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #ifndef Py_LIMITED_API 12 | 13 | PyAPI_DATA(PyTypeObject) PyPickleBuffer_Type; 14 | 15 | #define PyPickleBuffer_Check(op) (Py_TYPE(op) == &PyPickleBuffer_Type) 16 | 17 | /* Create a PickleBuffer redirecting to the given buffer-enabled object */ 18 | PyAPI_FUNC(PyObject *) PyPickleBuffer_FromObject(PyObject *); 19 | /* Get the PickleBuffer's underlying view to the original object 20 | * (NULL if released) 21 | */ 22 | PyAPI_FUNC(const Py_buffer *) PyPickleBuffer_GetBuffer(PyObject *); 23 | /* Release the PickleBuffer. Returns 0 on success, -1 on error. */ 24 | PyAPI_FUNC(int) PyPickleBuffer_Release(PyObject *); 25 | 26 | #endif /* !Py_LIMITED_API */ 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_PICKLEBUFOBJECT_H */ 32 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/pydebug.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_PYDEBUG_H 3 | #define Py_PYDEBUG_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* These global variable are defined in pylifecycle.c */ 9 | /* XXX (ncoghlan): move these declarations to pylifecycle.h? */ 10 | PyAPI_DATA(int) Py_DebugFlag; 11 | PyAPI_DATA(int) Py_VerboseFlag; 12 | PyAPI_DATA(int) Py_QuietFlag; 13 | PyAPI_DATA(int) Py_InteractiveFlag; 14 | PyAPI_DATA(int) Py_InspectFlag; 15 | PyAPI_DATA(int) Py_OptimizeFlag; 16 | PyAPI_DATA(int) Py_NoSiteFlag; 17 | PyAPI_DATA(int) Py_BytesWarningFlag; 18 | PyAPI_DATA(int) Py_FrozenFlag; 19 | PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; 20 | PyAPI_DATA(int) Py_DontWriteBytecodeFlag; 21 | PyAPI_DATA(int) Py_NoUserSiteDirectory; 22 | PyAPI_DATA(int) Py_UnbufferedStdioFlag; 23 | PyAPI_DATA(int) Py_HashRandomizationFlag; 24 | PyAPI_DATA(int) Py_IsolatedFlag; 25 | 26 | #ifdef MS_WINDOWS 27 | PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag; 28 | PyAPI_DATA(int) Py_LegacyWindowsStdioFlag; 29 | #endif 30 | 31 | /* this is a wrapper around getenv() that pays attention to 32 | Py_IgnoreEnvironmentFlag. It should be used for getting variables like 33 | PYTHONPATH and PYTHONHOME from the environment */ 34 | #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif /* !Py_PYDEBUG_H */ 40 | #endif /* Py_LIMITED_API */ 41 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/pyfpe.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PYFPE_H 2 | #define Py_PYFPE_H 3 | 4 | /* These macros used to do something when Python was built with --with-fpectl, 5 | * but support for that was dropped in 3.7. We continue to define them though, 6 | * to avoid breaking API users. 7 | */ 8 | 9 | #define PyFPE_START_PROTECT(err_string, leave_stmt) 10 | #define PyFPE_END_PROTECT(v) 11 | 12 | #endif /* !Py_PYFPE_H */ 13 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #ifdef MS_WINDOWS 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/pystrhex.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRHEX_H 2 | #define Py_STRHEX_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | /* Returns a str() containing the hex representation of argbuf. */ 10 | PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 11 | /* Returns a bytes() containing the ASCII hex representation of argbuf. */ 12 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 13 | /* These variants include support for a separator between every N bytes: */ 14 | PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 15 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 16 | #endif /* !Py_LIMITED_API */ 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* !Py_STRHEX_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | A range object represents an integer range. This is an immutable object; 12 | a range cannot change its value after creation. 13 | 14 | Range objects behave like the corresponding tuple objects except that 15 | they are represented by a start, stop, and step datamembers. 16 | */ 17 | 18 | PyAPI_DATA(PyTypeObject) PyRange_Type; 19 | PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 20 | PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 21 | 22 | #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_RANGEOBJECT_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/sysmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* System module interface */ 3 | 4 | #ifndef Py_SYSMODULE_H 5 | #define Py_SYSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); 11 | PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); 12 | 13 | PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); 14 | PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); 15 | PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); 16 | 17 | PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) 18 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 19 | PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) 20 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 21 | PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...); 22 | PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...); 23 | 24 | PyAPI_FUNC(void) PySys_ResetWarnOptions(void); 25 | PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); 26 | PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); 27 | PyAPI_FUNC(int) PySys_HasWarnOptions(void); 28 | 29 | PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); 30 | PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); 31 | 32 | #ifndef Py_LIMITED_API 33 | # define Py_CPYTHON_SYSMODULE_H 34 | # include "cpython/sysmodule.h" 35 | # undef Py_CPYTHON_SYSMODULE_H 36 | #endif 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | #endif /* !Py_SYSMODULE_H */ 42 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEBACK_H 2 | #define Py_TRACEBACK_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | struct _frame; 8 | 9 | /* Traceback interface */ 10 | 11 | PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *); 12 | PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); 13 | 14 | /* Reveal traceback type so we can typecheck traceback objects */ 15 | PyAPI_DATA(PyTypeObject) PyTraceBack_Type; 16 | #define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type) 17 | 18 | 19 | #ifndef Py_LIMITED_API 20 | # define Py_CPYTHON_TRACEBACK_H 21 | # include "cpython/traceback.h" 22 | # undef Py_CPYTHON_TRACEBACK_H 23 | #endif 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TRACEBACK_H */ 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/tracemalloc.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEMALLOC_H 2 | #define Py_TRACEMALLOC_H 3 | 4 | #ifndef Py_LIMITED_API 5 | /* Track an allocated memory block in the tracemalloc module. 6 | Return 0 on success, return -1 on error (failed to allocate memory to store 7 | the trace). 8 | 9 | Return -2 if tracemalloc is disabled. 10 | 11 | If memory block is already tracked, update the existing trace. */ 12 | PyAPI_FUNC(int) PyTraceMalloc_Track( 13 | unsigned int domain, 14 | uintptr_t ptr, 15 | size_t size); 16 | 17 | /* Untrack an allocated memory block in the tracemalloc module. 18 | Do nothing if the block was not tracked. 19 | 20 | Return -2 if tracemalloc is disabled, otherwise return 0. */ 21 | PyAPI_FUNC(int) PyTraceMalloc_Untrack( 22 | unsigned int domain, 23 | uintptr_t ptr); 24 | 25 | /* Get the traceback where a memory block was allocated. 26 | 27 | Return a tuple of (filename: str, lineno: int) tuples. 28 | 29 | Return None if the tracemalloc module is disabled or if the memory block 30 | is not tracked by tracemalloc. 31 | 32 | Raise an exception and return NULL on error. */ 33 | PyAPI_FUNC(PyObject*) _PyTraceMalloc_GetTraceback( 34 | unsigned int domain, 35 | uintptr_t ptr); 36 | #endif 37 | 38 | #endif /* !Py_TRACEMALLOC_H */ 39 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/include/ucnhash.h: -------------------------------------------------------------------------------- 1 | /* Unicode name database interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_UCNHASH_H 4 | #define Py_UCNHASH_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | /* revised ucnhash CAPI interface (exported through a "wrapper") */ 10 | 11 | #define PyUnicodeData_CAPSULE_NAME "unicodedata.ucnhash_CAPI" 12 | 13 | typedef struct { 14 | 15 | /* Size of this struct */ 16 | int size; 17 | 18 | /* Get name for a given character code. Returns non-zero if 19 | success, zero if not. Does not set Python exceptions. 20 | If self is NULL, data come from the default version of the database. 21 | If it is not NULL, it should be a unicodedata.ucd_X_Y_Z object */ 22 | int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen, 23 | int with_alias_and_seq); 24 | 25 | /* Get character code for a given name. Same error handling 26 | as for getname. */ 27 | int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code, 28 | int with_named_seq); 29 | 30 | } _PyUnicode_Name_CAPI; 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | #endif /* !Py_UCNHASH_H */ 36 | #endif /* !Py_LIMITED_API */ 37 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/libs/python3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/libs/python3.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/libs/python38.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python38/x64/libs/python38.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/asdl.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ASDL_H 2 | #define Py_ASDL_H 3 | 4 | typedef PyObject * identifier; 5 | typedef PyObject * string; 6 | typedef PyObject * bytes; 7 | typedef PyObject * object; 8 | typedef PyObject * singleton; 9 | typedef PyObject * constant; 10 | 11 | /* It would be nice if the code generated by asdl_c.py was completely 12 | independent of Python, but it is a goal the requires too much work 13 | at this stage. So, for example, I'll represent identifiers as 14 | interned Python strings. 15 | */ 16 | 17 | /* XXX A sequence should be typed so that its use can be typechecked. */ 18 | 19 | typedef struct { 20 | Py_ssize_t size; 21 | void *elements[1]; 22 | } asdl_seq; 23 | 24 | typedef struct { 25 | Py_ssize_t size; 26 | int elements[1]; 27 | } asdl_int_seq; 28 | 29 | asdl_seq *_Py_asdl_seq_new(Py_ssize_t size, PyArena *arena); 30 | asdl_int_seq *_Py_asdl_int_seq_new(Py_ssize_t size, PyArena *arena); 31 | 32 | #define asdl_seq_GET(S, I) (S)->elements[(I)] 33 | #define asdl_seq_LEN(S) ((S) == NULL ? 0 : (S)->size) 34 | #ifdef Py_DEBUG 35 | #define asdl_seq_SET(S, I, V) \ 36 | do { \ 37 | Py_ssize_t _asdl_i = (I); \ 38 | assert((S) != NULL); \ 39 | assert(0 <= _asdl_i && _asdl_i < (S)->size); \ 40 | (S)->elements[_asdl_i] = (V); \ 41 | } while (0) 42 | #else 43 | #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V) 44 | #endif 45 | 46 | #endif /* !Py_ASDL_H */ 47 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #include "Python-ast.h" /* mod_ty */ 8 | #include "node.h" /* node */ 9 | 10 | PyAPI_FUNC(int) PyAST_Validate(mod_ty); 11 | PyAPI_FUNC(mod_ty) PyAST_FromNode( 12 | const node *n, 13 | PyCompilerFlags *flags, 14 | const char *filename, /* decoded from the filesystem encoding */ 15 | PyArena *arena); 16 | PyAPI_FUNC(mod_ty) PyAST_FromNodeObject( 17 | const node *n, 18 | PyCompilerFlags *flags, 19 | PyObject *filename, 20 | PyArena *arena); 21 | 22 | #ifndef Py_LIMITED_API 23 | 24 | /* _PyAST_ExprAsUnicode is defined in ast_unparse.c */ 25 | PyAPI_FUNC(PyObject *) _PyAST_ExprAsUnicode(expr_ty); 26 | 27 | /* Return the borrowed reference to the first literal string in the 28 | sequence of statemnts or NULL if it doesn't start from a literal string. 29 | Doesn't set exception. */ 30 | PyAPI_FUNC(PyObject *) _PyAST_GetDocString(asdl_seq *); 31 | 32 | #endif /* !Py_LIMITED_API */ 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_AST_H */ 38 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/bitset.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_BITSET_H 3 | #define Py_BITSET_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* Bitset interface */ 9 | 10 | #define BYTE char 11 | typedef BYTE *bitset; 12 | 13 | #define testbit(ss, ibit) (((ss)[BIT2BYTE(ibit)] & BIT2MASK(ibit)) != 0) 14 | 15 | #define BITSPERBYTE (8*sizeof(BYTE)) 16 | #define BIT2BYTE(ibit) ((ibit) / BITSPERBYTE) 17 | #define BIT2SHIFT(ibit) ((ibit) % BITSPERBYTE) 18 | #define BIT2MASK(ibit) (1 << BIT2SHIFT(ibit)) 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | #endif /* !Py_BITSET_H */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/bltinmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_BLTINMODULE_H 2 | #define Py_BLTINMODULE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_DATA(PyTypeObject) PyFilter_Type; 8 | PyAPI_DATA(PyTypeObject) PyMap_Type; 9 | PyAPI_DATA(PyTypeObject) PyZip_Type; 10 | 11 | #ifdef __cplusplus 12 | } 13 | #endif 14 | #endif /* !Py_BLTINMODULE_H */ 15 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/boolobject.h: -------------------------------------------------------------------------------- 1 | /* Boolean object interface */ 2 | 3 | #ifndef Py_BOOLOBJECT_H 4 | #define Py_BOOLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | 10 | PyAPI_DATA(PyTypeObject) PyBool_Type; 11 | 12 | #define PyBool_Check(x) (Py_TYPE(x) == &PyBool_Type) 13 | 14 | /* Py_False and Py_True are the only two bools in existence. 15 | Don't forget to apply Py_INCREF() when returning either!!! */ 16 | 17 | /* Don't use these directly */ 18 | PyAPI_DATA(struct _longobject) _Py_FalseStruct, _Py_TrueStruct; 19 | 20 | /* Use these macros */ 21 | #define Py_False ((PyObject *) &_Py_FalseStruct) 22 | #define Py_True ((PyObject *) &_Py_TrueStruct) 23 | 24 | /* Macros for returning Py_True or Py_False, respectively */ 25 | #define Py_RETURN_TRUE return Py_INCREF(Py_True), Py_True 26 | #define Py_RETURN_FALSE return Py_INCREF(Py_False), Py_False 27 | 28 | /* Function to return a bool from a C long */ 29 | PyAPI_FUNC(PyObject *) PyBool_FromLong(long); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | #endif /* !Py_BOOLOBJECT_H */ 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/cellobject.h: -------------------------------------------------------------------------------- 1 | /* Cell object interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_CELLOBJECT_H 4 | #define Py_CELLOBJECT_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_HEAD 11 | PyObject *ob_ref; /* Content of the cell or NULL when empty */ 12 | } PyCellObject; 13 | 14 | PyAPI_DATA(PyTypeObject) PyCell_Type; 15 | 16 | #define PyCell_Check(op) (Py_TYPE(op) == &PyCell_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCell_New(PyObject *); 19 | PyAPI_FUNC(PyObject *) PyCell_Get(PyObject *); 20 | PyAPI_FUNC(int) PyCell_Set(PyObject *, PyObject *); 21 | 22 | #define PyCell_GET(op) (((PyCellObject *)(op))->ob_ref) 23 | #define PyCell_SET(op, v) (((PyCellObject *)(op))->ob_ref = v) 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TUPLEOBJECT_H */ 29 | #endif /* Py_LIMITED_API */ 30 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/cpython/fileobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_FILEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | PyAPI_FUNC(char *) Py_UniversalNewlineFgets(char *, int, FILE*, PyObject *); 10 | 11 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 12 | PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors; 13 | #endif 14 | 15 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 16 | PyAPI_DATA(int) Py_UTF8Mode; 17 | #endif 18 | 19 | /* The std printer acts as a preliminary sys.stderr until the new io 20 | infrastructure is in place. */ 21 | PyAPI_FUNC(PyObject *) PyFile_NewStdPrinter(int); 22 | PyAPI_DATA(PyTypeObject) PyStdPrinter_Type; 23 | 24 | typedef PyObject * (*Py_OpenCodeHookFunction)(PyObject *, void *); 25 | 26 | PyAPI_FUNC(PyObject *) PyFile_OpenCode(const char *utf8path); 27 | PyAPI_FUNC(PyObject *) PyFile_OpenCodeObject(PyObject *path); 28 | PyAPI_FUNC(int) PyFile_SetOpenCodeHook(Py_OpenCodeHookFunction hook, void *userData); 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/cpython/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_INTERPRETERIDOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | /* Interpreter ID Object */ 10 | 11 | PyAPI_DATA(PyTypeObject) _PyInterpreterID_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyInterpreterID_New(int64_t); 14 | PyAPI_FUNC(PyObject *) _PyInterpreterState_GetIDObject(PyInterpreterState *); 15 | PyAPI_FUNC(PyInterpreterState *) _PyInterpreterID_LookUp(PyObject *); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/cpython/sysmodule.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_SYSMODULE_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | PyAPI_FUNC(PyObject *) _PySys_GetObjectId(_Py_Identifier *key); 10 | PyAPI_FUNC(int) _PySys_SetObjectId(_Py_Identifier *key, PyObject *); 11 | 12 | PyAPI_FUNC(size_t) _PySys_GetSizeOf(PyObject *); 13 | 14 | typedef int(*Py_AuditHookFunction)(const char *, PyObject *, void *); 15 | 16 | PyAPI_FUNC(int) PySys_Audit(const char*, const char *, ...); 17 | PyAPI_FUNC(int) PySys_AddAuditHook(Py_AuditHookFunction, void*); 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/cpython/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TRACEBACK_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct _traceback { 10 | PyObject_HEAD 11 | struct _traceback *tb_next; 12 | struct _frame *tb_frame; 13 | int tb_lasti; 14 | int tb_lineno; 15 | } PyTracebackObject; 16 | 17 | PyAPI_FUNC(int) _Py_DisplaySourceLine(PyObject *, PyObject *, int, int); 18 | PyAPI_FUNC(void) _PyTraceback_Add(const char *, const char *, int); 19 | 20 | #ifdef __cplusplus 21 | } 22 | #endif 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/cpython/tupleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_CPYTHON_TUPLEOBJECT_H 2 | # error "this header file must not be included directly" 3 | #endif 4 | 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | typedef struct { 10 | PyObject_VAR_HEAD 11 | /* ob_item contains space for 'ob_size' elements. 12 | Items must normally not be NULL, except during construction when 13 | the tuple is not yet visible outside the function that builds it. */ 14 | PyObject *ob_item[1]; 15 | } PyTupleObject; 16 | 17 | PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); 18 | PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *); 19 | 20 | /* Macros trading safety for speed */ 21 | 22 | /* Cast argument to PyTupleObject* type. */ 23 | #define _PyTuple_CAST(op) (assert(PyTuple_Check(op)), (PyTupleObject *)(op)) 24 | 25 | #define PyTuple_GET_SIZE(op) Py_SIZE(_PyTuple_CAST(op)) 26 | 27 | #define PyTuple_GET_ITEM(op, i) (_PyTuple_CAST(op)->ob_item[i]) 28 | 29 | /* Macro, *only* to be used to fill in brand new tuples */ 30 | #define PyTuple_SET_ITEM(op, i, v) (_PyTuple_CAST(op)->ob_item[i] = v) 31 | 32 | PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef PY_NO_SHORT_FLOAT_REPR 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 8 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 9 | int *decpt, int *sign, char **rve); 10 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 11 | PyAPI_FUNC(double) _Py_dg_stdnan(int sign); 12 | PyAPI_FUNC(double) _Py_dg_infinity(int sign); 13 | 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif 19 | #endif 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject *const *args, int argc, 16 | PyObject *const *kwds, int kwdc, 17 | PyObject *const *defs, int defc, 18 | PyObject *kwdefs, PyObject *closure); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(PyObject *) _PyEval_EvalCodeWithName( 22 | PyObject *co, 23 | PyObject *globals, PyObject *locals, 24 | PyObject *const *args, Py_ssize_t argcount, 25 | PyObject *const *kwnames, PyObject *const *kwargs, 26 | Py_ssize_t kwcount, int kwstep, 27 | PyObject *const *defs, Py_ssize_t defcount, 28 | PyObject *kwdefs, PyObject *closure, 29 | PyObject *name, PyObject *qualname); 30 | 31 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 32 | #endif 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_EVAL_H */ 38 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_accu.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_INTERNAL_ACCU_H 3 | #define Py_INTERNAL_ACCU_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /*** This is a private API for use by the interpreter and the stdlib. 9 | *** Its definition may be changed or removed at any moment. 10 | ***/ 11 | 12 | #ifndef Py_BUILD_CORE 13 | # error "this header requires Py_BUILD_CORE define" 14 | #endif 15 | 16 | /* 17 | * A two-level accumulator of unicode objects that avoids both the overhead 18 | * of keeping a huge number of small separate objects, and the quadratic 19 | * behaviour of using a naive repeated concatenation scheme. 20 | */ 21 | 22 | #undef small /* defined by some Windows headers */ 23 | 24 | typedef struct { 25 | PyObject *large; /* A list of previously accumulated large strings */ 26 | PyObject *small; /* Pending small strings */ 27 | } _PyAccu; 28 | 29 | PyAPI_FUNC(int) _PyAccu_Init(_PyAccu *acc); 30 | PyAPI_FUNC(int) _PyAccu_Accumulate(_PyAccu *acc, PyObject *unicode); 31 | PyAPI_FUNC(PyObject *) _PyAccu_FinishAsList(_PyAccu *acc); 32 | PyAPI_FUNC(PyObject *) _PyAccu_Finish(_PyAccu *acc); 33 | PyAPI_FUNC(void) _PyAccu_Destroy(_PyAccu *acc); 34 | 35 | #ifdef __cplusplus 36 | } 37 | #endif 38 | #endif /* !Py_INTERNAL_ACCU_H */ 39 | #endif /* !Py_LIMITED_API */ 40 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_ceval.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CEVAL_H 2 | #define Py_INTERNAL_CEVAL_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "pycore_atomic.h" 12 | #include "pycore_pystate.h" 13 | #include "pythread.h" 14 | 15 | PyAPI_FUNC(void) _Py_FinishPendingCalls(_PyRuntimeState *runtime); 16 | PyAPI_FUNC(void) _PyEval_Initialize(struct _ceval_runtime_state *); 17 | PyAPI_FUNC(void) _PyEval_FiniThreads( 18 | struct _ceval_runtime_state *ceval); 19 | PyAPI_FUNC(void) _PyEval_SignalReceived( 20 | struct _ceval_runtime_state *ceval); 21 | PyAPI_FUNC(int) _PyEval_AddPendingCall( 22 | PyThreadState *tstate, 23 | struct _ceval_runtime_state *ceval, 24 | int (*func)(void *), 25 | void *arg); 26 | PyAPI_FUNC(void) _PyEval_SignalAsyncExc( 27 | struct _ceval_runtime_state *ceval); 28 | PyAPI_FUNC(void) _PyEval_ReInitThreads( 29 | _PyRuntimeState *runtime); 30 | 31 | /* Private function */ 32 | void _PyEval_Fini(void); 33 | 34 | #ifdef __cplusplus 35 | } 36 | #endif 37 | #endif /* !Py_INTERNAL_CEVAL_H */ 38 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_code.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CODE_H 2 | #define Py_INTERNAL_CODE_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | typedef struct { 8 | PyObject *ptr; /* Cached pointer (borrowed reference) */ 9 | uint64_t globals_ver; /* ma_version of global dict */ 10 | uint64_t builtins_ver; /* ma_version of builtin dict */ 11 | } _PyOpcache_LoadGlobal; 12 | 13 | struct _PyOpcache { 14 | union { 15 | _PyOpcache_LoadGlobal lg; 16 | } u; 17 | char optimized; 18 | }; 19 | 20 | /* Private API */ 21 | int _PyCode_InitOpcache(PyCodeObject *co); 22 | 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_INTERNAL_CODE_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_context.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_CONTEXT_H 2 | #define Py_INTERNAL_CONTEXT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | #include "pycore_hamt.h" 9 | 10 | struct _pycontextobject { 11 | PyObject_HEAD 12 | PyContext *ctx_prev; 13 | PyHamtObject *ctx_vars; 14 | PyObject *ctx_weakreflist; 15 | int ctx_entered; 16 | }; 17 | 18 | 19 | struct _pycontextvarobject { 20 | PyObject_HEAD 21 | PyObject *var_name; 22 | PyObject *var_default; 23 | PyObject *var_cached; 24 | uint64_t var_cached_tsid; 25 | uint64_t var_cached_tsver; 26 | Py_hash_t var_hash; 27 | }; 28 | 29 | 30 | struct _pycontexttokenobject { 31 | PyObject_HEAD 32 | PyContext *tok_ctx; 33 | PyContextVar *tok_var; 34 | PyObject *tok_oldval; 35 | int tok_used; 36 | }; 37 | 38 | 39 | int _PyContext_Init(void); 40 | void _PyContext_Fini(void); 41 | 42 | #endif /* !Py_INTERNAL_CONTEXT_H */ 43 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_getopt.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_PYGETOPT_H 2 | #define Py_INTERNAL_PYGETOPT_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | extern int _PyOS_opterr; 9 | extern Py_ssize_t _PyOS_optind; 10 | extern const wchar_t *_PyOS_optarg; 11 | 12 | extern void _PyOS_ResetGetOpt(void); 13 | 14 | typedef struct { 15 | const wchar_t *name; 16 | int has_arg; 17 | int val; 18 | } _PyOS_LongOption; 19 | 20 | extern int _PyOS_GetOpt(Py_ssize_t argc, wchar_t * const *argv, int *longindex); 21 | 22 | #endif /* !Py_INTERNAL_PYGETOPT_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_pyhash.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_HASH_H 2 | #define Py_INTERNAL_HASH_H 3 | 4 | #ifndef Py_BUILD_CORE 5 | # error "this header requires Py_BUILD_CORE define" 6 | #endif 7 | 8 | uint64_t _Py_KeyedHash(uint64_t, const char *, Py_ssize_t); 9 | 10 | #endif 11 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_tupleobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_TUPLEOBJECT_H 2 | #define Py_INTERNAL_TUPLEOBJECT_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "tupleobject.h" 12 | 13 | #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item) 14 | PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !Py_INTERNAL_TUPLEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/internal/pycore_warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERNAL_WARNINGS_H 2 | #define Py_INTERNAL_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | #ifndef Py_BUILD_CORE 8 | # error "this header requires Py_BUILD_CORE define" 9 | #endif 10 | 11 | #include "object.h" 12 | 13 | struct _warnings_runtime_state { 14 | /* Both 'filters' and 'onceregistry' can be set in warnings.py; 15 | get_warnings_attr() will reset these variables accordingly. */ 16 | PyObject *filters; /* List */ 17 | PyObject *once_registry; /* Dict */ 18 | PyObject *default_action; /* String */ 19 | long filters_version; 20 | }; 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_INTERNAL_WARNINGS_H */ 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/interpreteridobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_INTERPRETERIDOBJECT_H 2 | #define Py_INTERPRETERIDOBJECT_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | # define Py_CPYTHON_INTERPRETERIDOBJECT_H 10 | # include "cpython/interpreteridobject.h" 11 | # undef Py_CPYTHON_INTERPRETERIDOBJECT_H 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_INTERPRETERIDOBJECT_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | #ifdef HAVE_FORK 11 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03070000 12 | PyAPI_FUNC(void) PyOS_BeforeFork(void); 13 | PyAPI_FUNC(void) PyOS_AfterFork_Parent(void); 14 | PyAPI_FUNC(void) PyOS_AfterFork_Child(void); 15 | #endif 16 | #endif 17 | /* Deprecated, please use PyOS_AfterFork_Child() instead */ 18 | Py_DEPRECATED(3.7) PyAPI_FUNC(void) PyOS_AfterFork(void); 19 | 20 | #ifndef Py_LIMITED_API 21 | PyAPI_FUNC(int) _PyOS_IsMainThread(void); 22 | PyAPI_FUNC(void) _PySignal_AfterFork(void); 23 | 24 | #ifdef MS_WINDOWS 25 | /* windows.h is not included by Python.h so use void* instead of HANDLE */ 26 | PyAPI_FUNC(void*) _PyOS_SigintEvent(void); 27 | #endif 28 | #endif /* !Py_LIMITED_API */ 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | #endif /* !Py_INTRCHECK_H */ 34 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 10 | PyAPI_DATA(PyTypeObject) PyCmpWrapper_Type; 11 | 12 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 13 | 14 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 15 | 16 | 17 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 18 | 19 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_ITEROBJECT_H */ 25 | 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/marshal.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface for marshal.c */ 3 | 4 | #ifndef Py_MARSHAL_H 5 | #define Py_MARSHAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #define Py_MARSHAL_VERSION 4 11 | 12 | PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int); 13 | PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int); 14 | PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *, int); 15 | 16 | #ifndef Py_LIMITED_API 17 | PyAPI_FUNC(long) PyMarshal_ReadLongFromFile(FILE *); 18 | PyAPI_FUNC(int) PyMarshal_ReadShortFromFile(FILE *); 19 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromFile(FILE *); 20 | PyAPI_FUNC(PyObject *) PyMarshal_ReadLastObjectFromFile(FILE *); 21 | #endif 22 | PyAPI_FUNC(PyObject *) PyMarshal_ReadObjectFromString(const char *, 23 | Py_ssize_t); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_MARSHAL_H */ 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/namespaceobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* simple namespace object interface */ 3 | 4 | #ifndef NAMESPACEOBJECT_H 5 | #define NAMESPACEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #ifndef Py_LIMITED_API 11 | PyAPI_DATA(PyTypeObject) _PyNamespace_Type; 12 | 13 | PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds); 14 | #endif /* !Py_LIMITED_API */ 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | #endif /* !NAMESPACEOBJECT_H */ 20 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/osdefs.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_OSDEFS_H 2 | #define Py_OSDEFS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Operating system dependencies */ 9 | 10 | #ifdef MS_WINDOWS 11 | #define SEP L'\\' 12 | #define ALTSEP L'/' 13 | #define MAXPATHLEN 256 14 | #define DELIM L';' 15 | #endif 16 | 17 | #ifdef __VXWORKS__ 18 | #define DELIM L';' 19 | #endif 20 | 21 | /* Filename separator */ 22 | #ifndef SEP 23 | #define SEP L'/' 24 | #endif 25 | 26 | /* Max pathname length */ 27 | #ifdef __hpux 28 | #include 29 | #include 30 | #ifndef PATH_MAX 31 | #define PATH_MAX MAXPATHLEN 32 | #endif 33 | #endif 34 | 35 | #ifndef MAXPATHLEN 36 | #if defined(PATH_MAX) && PATH_MAX > 1024 37 | #define MAXPATHLEN PATH_MAX 38 | #else 39 | #define MAXPATHLEN 1024 40 | #endif 41 | #endif 42 | 43 | /* Search path entry delimiter */ 44 | #ifndef DELIM 45 | #define DELIM L':' 46 | #endif 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | #endif /* !Py_OSDEFS_H */ 52 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/osmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* os module interface */ 3 | 4 | #ifndef Py_OSMODULE_H 5 | #define Py_OSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 >= 0x03060000 11 | PyAPI_FUNC(PyObject *) PyOS_FSPath(PyObject *path); 12 | #endif 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif /* !Py_OSMODULE_H */ 18 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/picklebufobject.h: -------------------------------------------------------------------------------- 1 | /* PickleBuffer object. This is built-in for ease of use from third-party 2 | * C extensions. 3 | */ 4 | 5 | #ifndef Py_PICKLEBUFOBJECT_H 6 | #define Py_PICKLEBUFOBJECT_H 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | #ifndef Py_LIMITED_API 12 | 13 | PyAPI_DATA(PyTypeObject) PyPickleBuffer_Type; 14 | 15 | #define PyPickleBuffer_Check(op) (Py_TYPE(op) == &PyPickleBuffer_Type) 16 | 17 | /* Create a PickleBuffer redirecting to the given buffer-enabled object */ 18 | PyAPI_FUNC(PyObject *) PyPickleBuffer_FromObject(PyObject *); 19 | /* Get the PickleBuffer's underlying view to the original object 20 | * (NULL if released) 21 | */ 22 | PyAPI_FUNC(const Py_buffer *) PyPickleBuffer_GetBuffer(PyObject *); 23 | /* Release the PickleBuffer. Returns 0 on success, -1 on error. */ 24 | PyAPI_FUNC(int) PyPickleBuffer_Release(PyObject *); 25 | 26 | #endif /* !Py_LIMITED_API */ 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | #endif /* !Py_PICKLEBUFOBJECT_H */ 32 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/pydebug.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_LIMITED_API 2 | #ifndef Py_PYDEBUG_H 3 | #define Py_PYDEBUG_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | /* These global variable are defined in pylifecycle.c */ 9 | /* XXX (ncoghlan): move these declarations to pylifecycle.h? */ 10 | PyAPI_DATA(int) Py_DebugFlag; 11 | PyAPI_DATA(int) Py_VerboseFlag; 12 | PyAPI_DATA(int) Py_QuietFlag; 13 | PyAPI_DATA(int) Py_InteractiveFlag; 14 | PyAPI_DATA(int) Py_InspectFlag; 15 | PyAPI_DATA(int) Py_OptimizeFlag; 16 | PyAPI_DATA(int) Py_NoSiteFlag; 17 | PyAPI_DATA(int) Py_BytesWarningFlag; 18 | PyAPI_DATA(int) Py_FrozenFlag; 19 | PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; 20 | PyAPI_DATA(int) Py_DontWriteBytecodeFlag; 21 | PyAPI_DATA(int) Py_NoUserSiteDirectory; 22 | PyAPI_DATA(int) Py_UnbufferedStdioFlag; 23 | PyAPI_DATA(int) Py_HashRandomizationFlag; 24 | PyAPI_DATA(int) Py_IsolatedFlag; 25 | 26 | #ifdef MS_WINDOWS 27 | PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag; 28 | PyAPI_DATA(int) Py_LegacyWindowsStdioFlag; 29 | #endif 30 | 31 | /* this is a wrapper around getenv() that pays attention to 32 | Py_IgnoreEnvironmentFlag. It should be used for getting variables like 33 | PYTHONPATH and PYTHONHOME from the environment */ 34 | #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif /* !Py_PYDEBUG_H */ 40 | #endif /* Py_LIMITED_API */ 41 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/pyfpe.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PYFPE_H 2 | #define Py_PYFPE_H 3 | 4 | /* These macros used to do something when Python was built with --with-fpectl, 5 | * but support for that was dropped in 3.7. We continue to define them though, 6 | * to avoid breaking API users. 7 | */ 8 | 9 | #define PyFPE_START_PROTECT(err_string, leave_stmt) 10 | #define PyFPE_END_PROTECT(v) 11 | 12 | #endif /* !Py_PYFPE_H */ 13 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #ifdef MS_WINDOWS 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/pystrhex.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRHEX_H 2 | #define Py_STRHEX_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifndef Py_LIMITED_API 9 | /* Returns a str() containing the hex representation of argbuf. */ 10 | PyAPI_FUNC(PyObject*) _Py_strhex(const char* argbuf, const Py_ssize_t arglen); 11 | /* Returns a bytes() containing the ASCII hex representation of argbuf. */ 12 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes(const char* argbuf, const Py_ssize_t arglen); 13 | /* These variants include support for a separator between every N bytes: */ 14 | PyAPI_FUNC(PyObject*) _Py_strhex_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 15 | PyAPI_FUNC(PyObject*) _Py_strhex_bytes_with_sep(const char* argbuf, const Py_ssize_t arglen, const PyObject* sep, const int bytes_per_group); 16 | #endif /* !Py_LIMITED_API */ 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif /* !Py_STRHEX_H */ 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/rangeobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Range object interface */ 3 | 4 | #ifndef Py_RANGEOBJECT_H 5 | #define Py_RANGEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | /* 11 | A range object represents an integer range. This is an immutable object; 12 | a range cannot change its value after creation. 13 | 14 | Range objects behave like the corresponding tuple objects except that 15 | they are represented by a start, stop, and step datamembers. 16 | */ 17 | 18 | PyAPI_DATA(PyTypeObject) PyRange_Type; 19 | PyAPI_DATA(PyTypeObject) PyRangeIter_Type; 20 | PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; 21 | 22 | #define PyRange_Check(op) (Py_TYPE(op) == &PyRange_Type) 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | #endif /* !Py_RANGEOBJECT_H */ 28 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/sysmodule.h: -------------------------------------------------------------------------------- 1 | 2 | /* System module interface */ 3 | 4 | #ifndef Py_SYSMODULE_H 5 | #define Py_SYSMODULE_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PySys_GetObject(const char *); 11 | PyAPI_FUNC(int) PySys_SetObject(const char *, PyObject *); 12 | 13 | PyAPI_FUNC(void) PySys_SetArgv(int, wchar_t **); 14 | PyAPI_FUNC(void) PySys_SetArgvEx(int, wchar_t **, int); 15 | PyAPI_FUNC(void) PySys_SetPath(const wchar_t *); 16 | 17 | PyAPI_FUNC(void) PySys_WriteStdout(const char *format, ...) 18 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 19 | PyAPI_FUNC(void) PySys_WriteStderr(const char *format, ...) 20 | Py_GCC_ATTRIBUTE((format(printf, 1, 2))); 21 | PyAPI_FUNC(void) PySys_FormatStdout(const char *format, ...); 22 | PyAPI_FUNC(void) PySys_FormatStderr(const char *format, ...); 23 | 24 | PyAPI_FUNC(void) PySys_ResetWarnOptions(void); 25 | PyAPI_FUNC(void) PySys_AddWarnOption(const wchar_t *); 26 | PyAPI_FUNC(void) PySys_AddWarnOptionUnicode(PyObject *); 27 | PyAPI_FUNC(int) PySys_HasWarnOptions(void); 28 | 29 | PyAPI_FUNC(void) PySys_AddXOption(const wchar_t *); 30 | PyAPI_FUNC(PyObject *) PySys_GetXOptions(void); 31 | 32 | #ifndef Py_LIMITED_API 33 | # define Py_CPYTHON_SYSMODULE_H 34 | # include "cpython/sysmodule.h" 35 | # undef Py_CPYTHON_SYSMODULE_H 36 | #endif 37 | 38 | #ifdef __cplusplus 39 | } 40 | #endif 41 | #endif /* !Py_SYSMODULE_H */ 42 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/traceback.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEBACK_H 2 | #define Py_TRACEBACK_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | struct _frame; 8 | 9 | /* Traceback interface */ 10 | 11 | PyAPI_FUNC(int) PyTraceBack_Here(struct _frame *); 12 | PyAPI_FUNC(int) PyTraceBack_Print(PyObject *, PyObject *); 13 | 14 | /* Reveal traceback type so we can typecheck traceback objects */ 15 | PyAPI_DATA(PyTypeObject) PyTraceBack_Type; 16 | #define PyTraceBack_Check(v) (Py_TYPE(v) == &PyTraceBack_Type) 17 | 18 | 19 | #ifndef Py_LIMITED_API 20 | # define Py_CPYTHON_TRACEBACK_H 21 | # include "cpython/traceback.h" 22 | # undef Py_CPYTHON_TRACEBACK_H 23 | #endif 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | #endif /* !Py_TRACEBACK_H */ 29 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/tracemalloc.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_TRACEMALLOC_H 2 | #define Py_TRACEMALLOC_H 3 | 4 | #ifndef Py_LIMITED_API 5 | /* Track an allocated memory block in the tracemalloc module. 6 | Return 0 on success, return -1 on error (failed to allocate memory to store 7 | the trace). 8 | 9 | Return -2 if tracemalloc is disabled. 10 | 11 | If memory block is already tracked, update the existing trace. */ 12 | PyAPI_FUNC(int) PyTraceMalloc_Track( 13 | unsigned int domain, 14 | uintptr_t ptr, 15 | size_t size); 16 | 17 | /* Untrack an allocated memory block in the tracemalloc module. 18 | Do nothing if the block was not tracked. 19 | 20 | Return -2 if tracemalloc is disabled, otherwise return 0. */ 21 | PyAPI_FUNC(int) PyTraceMalloc_Untrack( 22 | unsigned int domain, 23 | uintptr_t ptr); 24 | 25 | /* Get the traceback where a memory block was allocated. 26 | 27 | Return a tuple of (filename: str, lineno: int) tuples. 28 | 29 | Return None if the tracemalloc module is disabled or if the memory block 30 | is not tracked by tracemalloc. 31 | 32 | Raise an exception and return NULL on error. */ 33 | PyAPI_FUNC(PyObject*) _PyTraceMalloc_GetTraceback( 34 | unsigned int domain, 35 | uintptr_t ptr); 36 | #endif 37 | 38 | #endif /* !Py_TRACEMALLOC_H */ 39 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/include/ucnhash.h: -------------------------------------------------------------------------------- 1 | /* Unicode name database interface */ 2 | #ifndef Py_LIMITED_API 3 | #ifndef Py_UCNHASH_H 4 | #define Py_UCNHASH_H 5 | #ifdef __cplusplus 6 | extern "C" { 7 | #endif 8 | 9 | /* revised ucnhash CAPI interface (exported through a "wrapper") */ 10 | 11 | #define PyUnicodeData_CAPSULE_NAME "unicodedata.ucnhash_CAPI" 12 | 13 | typedef struct { 14 | 15 | /* Size of this struct */ 16 | int size; 17 | 18 | /* Get name for a given character code. Returns non-zero if 19 | success, zero if not. Does not set Python exceptions. 20 | If self is NULL, data come from the default version of the database. 21 | If it is not NULL, it should be a unicodedata.ucd_X_Y_Z object */ 22 | int (*getname)(PyObject *self, Py_UCS4 code, char* buffer, int buflen, 23 | int with_alias_and_seq); 24 | 25 | /* Get character code for a given name. Same error handling 26 | as for getname. */ 27 | int (*getcode)(PyObject *self, const char* name, int namelen, Py_UCS4* code, 28 | int with_named_seq); 29 | 30 | } _PyUnicode_Name_CAPI; 31 | 32 | #ifdef __cplusplus 33 | } 34 | #endif 35 | #endif /* !Py_UCNHASH_H */ 36 | #endif /* !Py_LIMITED_API */ 37 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/libs/python3.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/libs/python3.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/libs/python38.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/PythonLibs/Python38/x86/libs/python38.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/plugin.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "pluginmain.h" 4 | 5 | //functions 6 | bool pluginInit(PLUG_INITSTRUCT* initStruct); 7 | void pluginStop(); 8 | void pluginSetup(); 9 | 10 | void PluginHandleMenuCommand(CBTYPE cbType, PLUG_CB_MENUENTRY* info); 11 | void PluginHandleBreakpoint(CBTYPE cbType, PLUG_CB_BREAKPOINT* info); 12 | void PluginHandleLoadDB(CBTYPE cbType, PLUG_CB_LOADSAVEDB* info); 13 | void PluginHandleSaveDB(CBTYPE cbType, PLUG_CB_LOADSAVEDB* info); 14 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver.h: -------------------------------------------------------------------------------- 1 | #ifndef _DEVICENAMERESOLVER_H 2 | #define _DEVICENAMERESOLVER_H 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" 8 | { 9 | #endif 10 | 11 | __declspec(dllexport) bool DevicePathToPathW(const wchar_t* szDevicePath, wchar_t* szPath, size_t nSizeInChars); 12 | __declspec(dllexport) bool DevicePathToPathA(const char* szDevicePath, char* szPath, size_t nSizeInChars); 13 | __declspec(dllexport) bool DevicePathFromFileHandleW(HANDLE hFile, wchar_t* szDevicePath, size_t nSizeInChars); 14 | __declspec(dllexport) bool DevicePathFromFileHandleA(HANDLE hFile, char* szDevicePath, size_t nSizeInChars); 15 | __declspec(dllexport) bool PathFromFileHandleW(HANDLE hFile, wchar_t* szPath, size_t nSizeInChars); 16 | __declspec(dllexport) bool PathFromFileHandleA(HANDLE hFile, char* szPath, size_t nSizeInChars); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | 22 | #endif // _DEVICENAMERESOLVER_H 23 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x64.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x64.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x64.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x86.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x86.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x86.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/DeviceNameResolver/DeviceNameResolver_x86.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x64.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x64.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x64.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x86.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x86.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x86.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/TitanEngine/TitanEngine_x86.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse.h: -------------------------------------------------------------------------------- 1 | #ifndef _XEDPARSE_H 2 | #define _XEDPARSE_H 3 | 4 | #include 5 | 6 | //XEDParse defines 7 | #ifdef XEDPARSE_BUILD 8 | #define XEDPARSE_EXPORT __declspec(dllexport) 9 | #else 10 | #define XEDPARSE_EXPORT __declspec(dllimport) 11 | #endif //XEDPARSE_BUILD 12 | 13 | #define XEDPARSE_CALL //calling convention 14 | 15 | #define XEDPARSE_MAXBUFSIZE 256 16 | #define XEDPARSE_MAXASMSIZE 16 17 | 18 | //typedefs 19 | typedef bool (XEDPARSE_CALL* CBXEDPARSE_UNKNOWN)(const char* text, ULONGLONG* value); 20 | 21 | //XEDParse enums 22 | enum XEDPARSE_STATUS 23 | { 24 | XEDPARSE_ERROR = 0, 25 | XEDPARSE_OK = 1 26 | }; 27 | 28 | //XEDParse structs 29 | #pragma pack(push,8) 30 | struct XEDPARSE 31 | { 32 | bool x64; // use 64-bit instructions 33 | ULONGLONG cip; //instruction pointer (for relative addressing) 34 | unsigned int dest_size; //destination size (returned by XEDParse) 35 | CBXEDPARSE_UNKNOWN cbUnknown; //unknown operand callback 36 | unsigned char dest[XEDPARSE_MAXASMSIZE]; //destination buffer 37 | char instr[XEDPARSE_MAXBUFSIZE]; //instruction text 38 | char error[XEDPARSE_MAXBUFSIZE]; //error text (in case of an error) 39 | }; 40 | #pragma pack(pop) 41 | 42 | #ifdef __cplusplus 43 | extern "C" 44 | { 45 | #endif 46 | 47 | XEDPARSE_EXPORT XEDPARSE_STATUS XEDPARSE_CALL XEDParseAssemble(XEDPARSE* XEDParse); 48 | 49 | #ifdef __cplusplus 50 | } 51 | #endif 52 | 53 | #endif // _XEDPARSE_H 54 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x64.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x64.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x64.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x86.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x86.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x86.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/XEDParse/XEDParse_x86.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_plugin_types.h: -------------------------------------------------------------------------------- 1 | #ifndef _PLUGIN_DATA_H 2 | #define _PLUGIN_DATA_H 3 | 4 | #ifdef BUILD_DBG 5 | 6 | #include "_global.h" 7 | #include "jansson/jansson.h" 8 | #pragma warning(push) 9 | #pragma warning(disable:4091) 10 | #include 11 | #pragma warning(pop) 12 | 13 | #else 14 | 15 | #ifdef __GNUC__ 16 | #include "dbghelp/dbghelp.h" 17 | #else 18 | #pragma warning(push) 19 | #pragma warning(disable:4091) 20 | #include 21 | #pragma warning(pop) 22 | #endif // __GNUC__ 23 | 24 | #ifndef deflen 25 | #define deflen 1024 26 | #endif // deflen 27 | 28 | #include "bridgemain.h" 29 | #include "_dbgfunctions.h" 30 | #include "jansson/jansson.h" 31 | 32 | #endif // BUILD_DBG 33 | 34 | #endif // _PLUGIN_DATA_H 35 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPT_API_H 2 | #define _SCRIPT_API_H 3 | 4 | #include "_plugins.h" 5 | 6 | #define SCRIPT_EXPORT PLUG_IMPEXP 7 | 8 | #endif //_SCRIPT_API_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_argument.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_ARGUMENT_H 2 | #define _SCRIPTAPI_ARGUMENT_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Argument 9 | { 10 | struct ArgumentInfo 11 | { 12 | char mod[MAX_MODULE_SIZE]; 13 | duint rvaStart; 14 | duint rvaEnd; 15 | bool manual; 16 | duint instructioncount; 17 | }; 18 | 19 | SCRIPT_EXPORT bool Add(duint start, duint end, bool manual, duint instructionCount = 0); 20 | SCRIPT_EXPORT bool Add(const ArgumentInfo* info); 21 | SCRIPT_EXPORT bool Get(duint addr, duint* start = nullptr, duint* end = nullptr, duint* instructionCount = nullptr); 22 | SCRIPT_EXPORT bool GetInfo(duint addr, ArgumentInfo* info); 23 | SCRIPT_EXPORT bool Overlaps(duint start, duint end); 24 | SCRIPT_EXPORT bool Delete(duint address); 25 | SCRIPT_EXPORT void DeleteRange(duint start, duint end, bool deleteManual = false); 26 | SCRIPT_EXPORT void Clear(); 27 | SCRIPT_EXPORT bool GetList(ListOf(ArgumentInfo) list); //caller has the responsibility to free the list 28 | }; //Argument 29 | }; //Script 30 | 31 | #endif //_SCRIPTAPI_ARGUMENT_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_assembler.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_ASSEMBLER_H 2 | #define _SCRIPTAPI_ASSEMBLER_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Assembler 9 | { 10 | SCRIPT_EXPORT bool Assemble(duint addr, unsigned char* dest, int* size, const char* instruction); //dest[16] 11 | SCRIPT_EXPORT bool AssembleEx(duint addr, unsigned char* dest, int* size, const char* instruction, char* error); //dest[16], error[MAX_ERROR_SIZE] 12 | SCRIPT_EXPORT bool AssembleMem(duint addr, const char* instruction); 13 | SCRIPT_EXPORT bool AssembleMemEx(duint addr, const char* instruction, int* size, char* error, bool fillnop); //error[MAX_ERROR_SIZE] 14 | }; //Assembler 15 | }; //Script 16 | 17 | #endif //_SCRIPTAPI_ASSEMBLER_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_bookmark.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_BOOKMARK_H 2 | #define _SCRIPTAPI_BOOKMARK_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Bookmark 9 | { 10 | struct BookmarkInfo 11 | { 12 | char mod[MAX_MODULE_SIZE]; 13 | duint rva; 14 | bool manual; 15 | }; 16 | 17 | SCRIPT_EXPORT bool Set(duint addr, bool manual = false); 18 | SCRIPT_EXPORT bool Set(const BookmarkInfo* info); 19 | SCRIPT_EXPORT bool Get(duint addr); 20 | SCRIPT_EXPORT bool GetInfo(duint addr, BookmarkInfo* info); 21 | SCRIPT_EXPORT bool Delete(duint addr); 22 | SCRIPT_EXPORT void DeleteRange(duint start, duint end); 23 | SCRIPT_EXPORT void Clear(); 24 | SCRIPT_EXPORT bool GetList(ListOf(BookmarkInfo) list); //caller has the responsibility to free the list 25 | }; //Bookmark 26 | }; //Script 27 | 28 | #endif //_SCRIPTAPI_BOOKMARK_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_comment.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_COMMENT_H 2 | #define _SCRIPTAPI_COMMENT_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Comment 9 | { 10 | struct CommentInfo 11 | { 12 | char mod[MAX_MODULE_SIZE]; 13 | duint rva; 14 | char text[MAX_LABEL_SIZE]; 15 | bool manual; 16 | }; 17 | 18 | SCRIPT_EXPORT bool Set(duint addr, const char* text, bool manual = false); 19 | SCRIPT_EXPORT bool Set(const CommentInfo* info); 20 | SCRIPT_EXPORT bool Get(duint addr, char* text); //text[MAX_COMMENT_SIZE] 21 | SCRIPT_EXPORT bool GetInfo(duint addr, CommentInfo* info); 22 | SCRIPT_EXPORT bool Delete(duint addr); 23 | SCRIPT_EXPORT void DeleteRange(duint start, duint end); 24 | SCRIPT_EXPORT void Clear(); 25 | SCRIPT_EXPORT bool GetList(ListOf(CommentInfo) list); //caller has the responsibility to free the list 26 | }; //Comment 27 | }; //Script 28 | 29 | #endif //_SCRIPTAPI_COMMENT_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_debug.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_DEBUG_H 2 | #define _SCRIPTAPI_DEBUG_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Debug 9 | { 10 | enum HardwareType 11 | { 12 | HardwareAccess, 13 | HardwareWrite, 14 | HardwareExecute 15 | }; 16 | 17 | SCRIPT_EXPORT void Wait(); 18 | SCRIPT_EXPORT void Run(); 19 | SCRIPT_EXPORT void Pause(); 20 | SCRIPT_EXPORT void Stop(); 21 | SCRIPT_EXPORT void StepIn(); 22 | SCRIPT_EXPORT void StepOver(); 23 | SCRIPT_EXPORT void StepOut(); 24 | SCRIPT_EXPORT bool SetBreakpoint(duint address); 25 | SCRIPT_EXPORT bool DeleteBreakpoint(duint address); 26 | SCRIPT_EXPORT bool DisableBreakpoint(duint address); 27 | SCRIPT_EXPORT bool SetHardwareBreakpoint(duint address, HardwareType type = HardwareExecute); 28 | SCRIPT_EXPORT bool DeleteHardwareBreakpoint(duint address); 29 | }; //Debug 30 | }; //Script 31 | 32 | #endif //_SCRIPTAPI_DEBUG_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_flag.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_FLAG_H 2 | #define _SCRIPTAPI_FLAG_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Flag 9 | { 10 | enum FlagEnum 11 | { 12 | ZF, 13 | OF, 14 | CF, 15 | PF, 16 | SF, 17 | TF, 18 | AF, 19 | DF, 20 | IF 21 | }; 22 | 23 | SCRIPT_EXPORT bool Get(FlagEnum flag); 24 | SCRIPT_EXPORT bool Set(FlagEnum flag, bool value); 25 | 26 | SCRIPT_EXPORT bool GetZF(); 27 | SCRIPT_EXPORT bool SetZF(bool value); 28 | SCRIPT_EXPORT bool GetOF(); 29 | SCRIPT_EXPORT bool SetOF(bool value); 30 | SCRIPT_EXPORT bool GetCF(); 31 | SCRIPT_EXPORT bool SetCF(bool value); 32 | SCRIPT_EXPORT bool GetPF(); 33 | SCRIPT_EXPORT bool SetPF(bool value); 34 | SCRIPT_EXPORT bool GetSF(); 35 | SCRIPT_EXPORT bool SetSF(bool value); 36 | SCRIPT_EXPORT bool GetTF(); 37 | SCRIPT_EXPORT bool SetTF(bool value); 38 | SCRIPT_EXPORT bool GetAF(); 39 | SCRIPT_EXPORT bool SetAF(bool value); 40 | SCRIPT_EXPORT bool GetDF(); 41 | SCRIPT_EXPORT bool SetDF(bool value); 42 | SCRIPT_EXPORT bool GetIF(); 43 | SCRIPT_EXPORT bool SetIF(bool value); 44 | }; 45 | }; 46 | 47 | #endif //_SCRIPTAPI_FLAG_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_function.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_FUNCTION_H 2 | #define _SCRIPTAPI_FUNCTION_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Function 9 | { 10 | struct FunctionInfo 11 | { 12 | char mod[MAX_MODULE_SIZE]; 13 | duint rvaStart; 14 | duint rvaEnd; 15 | bool manual; 16 | duint instructioncount; 17 | }; 18 | 19 | SCRIPT_EXPORT bool Add(duint start, duint end, bool manual, duint instructionCount = 0); 20 | SCRIPT_EXPORT bool Add(const FunctionInfo* info); 21 | SCRIPT_EXPORT bool Get(duint addr, duint* start = nullptr, duint* end = nullptr, duint* instructionCount = nullptr); 22 | SCRIPT_EXPORT bool GetInfo(duint addr, FunctionInfo* info); 23 | SCRIPT_EXPORT bool Overlaps(duint start, duint end); 24 | SCRIPT_EXPORT bool Delete(duint address); 25 | SCRIPT_EXPORT void DeleteRange(duint start, duint end, bool deleteManual); 26 | SCRIPT_EXPORT void DeleteRange(duint start, duint end); 27 | SCRIPT_EXPORT void Clear(); 28 | SCRIPT_EXPORT bool GetList(ListOf(FunctionInfo) list); //caller has the responsibility to free the list 29 | }; //Function 30 | }; //Script 31 | 32 | #endif //_SCRIPTAPI_FUNCTION_H 33 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_label.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_LABEL_H 2 | #define _SCRIPTAPI_LABEL_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Label 9 | { 10 | struct LabelInfo 11 | { 12 | char mod[MAX_MODULE_SIZE]; 13 | duint rva; 14 | char text[MAX_LABEL_SIZE]; 15 | bool manual; 16 | }; 17 | 18 | SCRIPT_EXPORT bool Set(duint addr, const char* text, bool manual = false); 19 | SCRIPT_EXPORT bool Set(const LabelInfo* info); 20 | SCRIPT_EXPORT bool FromString(const char* label, duint* addr); 21 | SCRIPT_EXPORT bool Get(duint addr, char* text); //text[MAX_LABEL_SIZE] 22 | SCRIPT_EXPORT bool GetInfo(duint addr, LabelInfo* info); 23 | SCRIPT_EXPORT bool Delete(duint addr); 24 | SCRIPT_EXPORT void DeleteRange(duint start, duint end); 25 | SCRIPT_EXPORT void Clear(); 26 | SCRIPT_EXPORT bool GetList(ListOf(LabelInfo) list); //caller has the responsibility to free the list 27 | }; //Label 28 | }; //Script 29 | 30 | #endif //_SCRIPTAPI_LABEL_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_pattern.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_PATTERN_H 2 | #define _SCRIPTAPI_PATTERN_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Pattern 9 | { 10 | SCRIPT_EXPORT duint Find(unsigned char* data, duint datasize, const char* pattern); 11 | SCRIPT_EXPORT duint FindMem(duint start, duint size, const char* pattern); 12 | SCRIPT_EXPORT void Write(unsigned char* data, duint datasize, const char* pattern); 13 | SCRIPT_EXPORT void WriteMem(duint start, duint size, const char* pattern); 14 | SCRIPT_EXPORT bool SearchAndReplace(unsigned char* data, duint datasize, const char* searchpattern, const char* replacepattern); 15 | SCRIPT_EXPORT bool SearchAndReplaceMem(duint start, duint size, const char* searchpattern, const char* replacepattern); 16 | }; 17 | }; 18 | 19 | #endif //_SCRIPTAPI_FIND_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_stack.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_STACK_H 2 | #define _SCRIPTAPI_STACK_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Stack 9 | { 10 | SCRIPT_EXPORT duint Pop(); 11 | SCRIPT_EXPORT duint Push(duint value); //returns the previous top, equal to Peek(1) 12 | SCRIPT_EXPORT duint Peek(int offset = 0); //offset is in multiples of Register::Size(), for easy x32/x64 portability 13 | }; //Stack 14 | }; //Script 15 | 16 | #endif //_SCRIPTAPI_STACK_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/_scriptapi_symbol.h: -------------------------------------------------------------------------------- 1 | #ifndef _SCRIPTAPI_SYMBOL_H 2 | #define _SCRIPTAPI_SYMBOL_H 3 | 4 | #include "_scriptapi.h" 5 | 6 | namespace Script 7 | { 8 | namespace Symbol 9 | { 10 | enum SymbolType 11 | { 12 | Function, //user-defined function 13 | Import, //IAT entry 14 | Export //export 15 | }; 16 | 17 | struct SymbolInfo 18 | { 19 | char mod[MAX_MODULE_SIZE]; 20 | duint rva; 21 | char name[MAX_LABEL_SIZE]; 22 | bool manual; 23 | SymbolType type; 24 | }; 25 | 26 | SCRIPT_EXPORT bool GetList(ListOf(SymbolInfo) list); //caller has the responsibility to free the list 27 | }; //Symbol 28 | }; //Script 29 | 30 | #endif //_SCRIPTAPI_SYMBOL_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x64.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x64.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x64.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x86.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x86.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x86.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/dbghelp/dbghelp_x86.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x64.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x64.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x64.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x64dbg.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "jansson.h" 4 | 5 | typedef json_t* JSON; 6 | 7 | static JSON_INLINE 8 | json_t* json_hex(unsigned json_int_t value) 9 | { 10 | char hexvalue[20]; 11 | sprintf_s(hexvalue, "0x%llX", value); 12 | return json_string(hexvalue); 13 | } 14 | 15 | static JSON_INLINE 16 | unsigned json_int_t json_hex_value(const json_t* hex) 17 | { 18 | unsigned json_int_t ret = 0; 19 | const char* hexvalue; 20 | hexvalue = json_string_value(hex); 21 | if(!hexvalue) 22 | return 0; 23 | sscanf_s(hexvalue, "0x%llX", &ret); 24 | return ret; 25 | } 26 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x86.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x86.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x86.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/jansson/jansson_x86.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x64.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x64.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x64.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x86.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x86.a -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x86.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4_x86.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/lz4/lz4file.h: -------------------------------------------------------------------------------- 1 | #ifndef _LZ4FILE_H 2 | #define _LZ4FILE_H 3 | 4 | typedef enum _LZ4_STATUS 5 | { 6 | LZ4_SUCCESS, 7 | LZ4_FAILED_OPEN_INPUT, 8 | LZ4_FAILED_OPEN_OUTPUT, 9 | LZ4_NOT_ENOUGH_MEMORY, 10 | LZ4_INVALID_ARCHIVE, 11 | LZ4_CORRUPTED_ARCHIVE 12 | } LZ4_STATUS; 13 | 14 | #if defined (__cplusplus) 15 | extern "C" 16 | { 17 | #endif 18 | 19 | __declspec(dllimport) LZ4_STATUS LZ4_compress_file(const char* input_filename, const char* output_filename); 20 | __declspec(dllimport) LZ4_STATUS LZ4_compress_fileW(const wchar_t* input_filename, const wchar_t* output_filename); 21 | __declspec(dllimport) LZ4_STATUS LZ4_decompress_file(const char* input_filename, const char* output_filename); 22 | __declspec(dllimport) LZ4_STATUS LZ4_decompress_fileW(const wchar_t* input_filename, const wchar_t* output_filename); 23 | 24 | #if defined (__cplusplus) 25 | } 26 | #endif 27 | 28 | #endif //_LZ4FILE_H -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/x32bridge.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/x32bridge.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/x32dbg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/x32dbg.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/x64bridge.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/x64bridge.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pluginsdk/x64dbg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/pluginsdk/x64dbg.lib -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pybind11/common.h: -------------------------------------------------------------------------------- 1 | #include "detail/common.h" 2 | #warning "Including 'common.h' is deprecated. It will be removed in v3.0. Use 'pybind11.h'." 3 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/pystream.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "pluginmain.h" 3 | #include 4 | 5 | //https://stackoverflow.com/questions/67784850/how-to-redirect-python-stdout-to-log-file-by-using-pybind-11-in-c 6 | class CPystream 7 | { 8 | public: 9 | void write(const char* str) 10 | { 11 | _plugin_logprint(str); 12 | } 13 | 14 | void flush() 15 | { 16 | _plugin_logprint("\n"); 17 | } 18 | }; -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/resource/python-programming-language-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/resource/python-programming-language-icon.png -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/resource1.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by x64dbgpython.rc 4 | // 5 | #define IDD_BREAKPOINTDLG 101 6 | #define IDD_SCRIPTEDITOR 103 7 | #define IDC_BPLIST 1001 8 | #define IDC_SCRIPTCONTENT 1002 9 | #define IDC_EDITSCRIPT 1004 10 | #define IDC_SCRIPT 1005 11 | #define IDC_BUTTON1 1006 12 | #define IDC_SAVESCRIPT 1006 13 | 14 | // Next default values for new objects 15 | // 16 | #ifdef APSTUDIO_INVOKED 17 | #ifndef APSTUDIO_READONLY_SYMBOLS 18 | #define _APS_NEXT_RESOURCE_VALUE 105 19 | #define _APS_NEXT_COMMAND_VALUE 40001 20 | #define _APS_NEXT_CONTROL_VALUE 1007 21 | #define _APS_NEXT_SYMED_VALUE 101 22 | #endif 23 | #endif 24 | -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/x64dbgpython.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ElvisBlue/x64dbgpython/8f92fe826301256a66d580893a554abed8804c6e/x64dbgpython/x64dbgpython/x64dbgpython.aps -------------------------------------------------------------------------------- /x64dbgpython/x64dbgpython/x64dbgpython.vcxproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | --------------------------------------------------------------------------------