OXIESEC PANEL
- Current Dir:
/
/
snap
/
certbot
/
4737
/
usr
/
include
/
python3.12
/
internal
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
06/12/2025 06:19:49 PM
rwxr-xr-x
📄
pycore_abstract.h
611 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_asdl.h
2.96 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_ast.h
30.55 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_ast_state.h
6.59 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_atexit.h
1.12 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_atomic.h
16.58 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_atomic_funcs.h
2.38 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_bitutils.h
5.92 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_blocks_output_buffer.h
8.48 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_bytes_methods.h
3.3 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_bytesobject.h
1.31 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_call.h
3.83 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_ceval.h
5.14 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_ceval_state.h
2.68 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_code.h
15.46 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_compile.h
3.37 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_condvar.h
2.77 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_context.h
1.27 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_descrobject.h
499 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_dict.h
6.23 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_dict_state.h
1.07 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_dtoa.h
1.59 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_emscripten_signal.h
562 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_exceptions.h
842 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_faulthandler.h
2.17 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_fileutils.h
7.72 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_fileutils_windows.h
2.66 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_floatobject.h
1.54 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_flowgraph.h
4.52 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_format.h
480 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_frame.h
9.04 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_function.h
611 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_gc.h
7.48 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_genobject.h
1.16 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_getopt.h
490 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_gil.h
1.53 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_global_objects.h
2.96 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_global_objects_fini_generated.h
113.45 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_global_strings.h
25.06 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_hamt.h
3.65 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_hashtable.h
4.19 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_import.h
6.21 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_initconfig.h
5.57 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_instruments.h
2.93 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_interp.h
8.87 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_intrinsics.h
1.36 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_list.h
1.93 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_long.h
7.62 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_memoryobject.h
383 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_moduleobject.h
1.16 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_namespace.h
392 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_object.h
14.09 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_object_state.h
737 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_obmalloc.h
26.64 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_obmalloc_init.h
2.04 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_opcode.h
19.61 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_opcode_utils.h
2.62 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_parser.h
1.33 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pathconfig.h
606 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pyarena.h
2.67 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pyerrors.h
2.72 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pyhash.h
709 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pylifecycle.h
3.29 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pymath.h
8.4 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pymem.h
2.97 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pymem_init.h
2.59 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pystate.h
4.87 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_pythread.h
2.03 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_range.h
346 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_runtime.h
8.23 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_runtime_init.h
5.94 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_runtime_init_generated.h
44.97 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_signal.h
2.55 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_sliceobject.h
414 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_strhex.h
937 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_structseq.h
923 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_symtable.h
6.69 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_sysmodule.h
734 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_time.h
388 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_token.h
2.98 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_traceback.h
3.42 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_tracemalloc.h
3 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_tuple.h
2.15 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_typeobject.h
4.56 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_typevarobject.h
763 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_ucnhash.h
898 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_unicodeobject.h
1.92 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_unicodeobject_generated.h
89.31 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_unionobject.h
682 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
pycore_warnings.h
740 bytes
02/04/2025 02:48:35 PM
rw-r--r--
Editing: pycore_runtime.h
Close
#ifndef Py_INTERNAL_RUNTIME_H #define Py_INTERNAL_RUNTIME_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_BUILD_CORE # error "this header requires Py_BUILD_CORE define" #endif #include "pycore_atexit.h" // struct atexit_runtime_state #include "pycore_atomic.h" /* _Py_atomic_address */ #include "pycore_ceval_state.h" // struct _ceval_runtime_state #include "pycore_floatobject.h" // struct _Py_float_runtime_state #include "pycore_faulthandler.h" // struct _faulthandler_runtime_state #include "pycore_global_objects.h" // struct _Py_global_objects #include "pycore_import.h" // struct _import_runtime_state #include "pycore_interp.h" // PyInterpreterState #include "pycore_object_state.h" // struct _py_object_runtime_state #include "pycore_parser.h" // struct _parser_runtime_state #include "pycore_pymem.h" // struct _pymem_allocators #include "pycore_pyhash.h" // struct pyhash_runtime_state #include "pycore_pythread.h" // struct _pythread_runtime_state #include "pycore_signal.h" // struct _signals_runtime_state #include "pycore_time.h" // struct _time_runtime_state #include "pycore_tracemalloc.h" // struct _tracemalloc_runtime_state #include "pycore_typeobject.h" // struct types_runtime_state #include "pycore_unicodeobject.h" // struct _Py_unicode_runtime_ids struct _getargs_runtime_state { PyThread_type_lock mutex; struct _PyArg_Parser *static_parsers; }; /* GIL state */ struct _gilstate_runtime_state { /* bpo-26558: Flag to disable PyGILState_Check(). If set to non-zero, PyGILState_Check() always return 1. */ int check_enabled; /* The single PyInterpreterState used by this process' GILState implementation */ /* TODO: Given interp_main, it may be possible to kill this ref */ PyInterpreterState *autoInterpreterState; }; /* Runtime audit hook state */ typedef struct _Py_AuditHookEntry { struct _Py_AuditHookEntry *next; Py_AuditHookFunction hookCFunction; void *userData; } _Py_AuditHookEntry; /* Full Python runtime state */ /* _PyRuntimeState holds the global state for the CPython runtime. That data is exposed in the internal API as a static variable (_PyRuntime). */ typedef struct pyruntimestate { /* Has been initialized to a safe state. In order to be effective, this must be set to 0 during or right after allocation. */ int _initialized; /* Is running Py_PreInitialize()? */ int preinitializing; /* Is Python preinitialized? Set to 1 by Py_PreInitialize() */ int preinitialized; /* Is Python core initialized? Set to 1 by _Py_InitializeCore() */ int core_initialized; /* Is Python fully initialized? Set to 1 by Py_Initialize() */ int initialized; /* Set by Py_FinalizeEx(). Only reset to NULL if Py_Initialize() is called again. Use _PyRuntimeState_GetFinalizing() and _PyRuntimeState_SetFinalizing() to access it, don't access it directly. */ _Py_atomic_address _finalizing; struct pyinterpreters { PyThread_type_lock mutex; /* The linked list of interpreters, newest first. */ PyInterpreterState *head; /* The runtime's initial interpreter, which has a special role in the operation of the runtime. It is also often the only interpreter. */ PyInterpreterState *main; /* next_id is an auto-numbered sequence of small integers. It gets initialized in _PyInterpreterState_Enable(), which is called in Py_Initialize(), and used in PyInterpreterState_New(). A negative interpreter ID indicates an error occurred. The main interpreter will always have an ID of 0. Overflow results in a RuntimeError. If that becomes a problem later then we can adjust, e.g. by using a Python int. */ int64_t next_id; } interpreters; unsigned long main_thread; /* ---------- IMPORTANT --------------------------- The fields above this line are declared as early as possible to facilitate out-of-process observability tools. */ // XXX Remove this field once we have a tp_* slot. struct _xidregistry xidregistry; struct _pymem_allocators allocators; struct _obmalloc_global_state obmalloc; struct pyhash_runtime_state pyhash_state; struct _time_runtime_state time; struct _pythread_runtime_state threads; struct _signals_runtime_state signals; /* Used for the thread state bound to the current thread. */ Py_tss_t autoTSSkey; /* Used instead of PyThreadState.trash when there is not current tstate. */ Py_tss_t trashTSSkey; PyWideStringList orig_argv; struct _parser_runtime_state parser; struct _atexit_runtime_state atexit; struct _import_runtime_state imports; struct _ceval_runtime_state ceval; struct _gilstate_runtime_state gilstate; struct _getargs_runtime_state getargs; struct _fileutils_state fileutils; struct _faulthandler_runtime_state faulthandler; struct _tracemalloc_runtime_state tracemalloc; PyPreConfig preconfig; // Audit values must be preserved when Py_Initialize()/Py_Finalize() // is called multiple times. Py_OpenCodeHookFunction open_code_hook; void *open_code_userdata; struct { PyThread_type_lock mutex; _Py_AuditHookEntry *head; } audit_hooks; struct _py_object_runtime_state object_state; struct _Py_float_runtime_state float_state; struct _Py_unicode_runtime_state unicode_state; struct _types_runtime_state types; /* All the objects that are shared by the runtime's interpreters. */ struct _Py_static_objects static_objects; struct _Py_cached_objects cached_objects; /* The ID of the OS thread in which we are finalizing. We use _Py_atomic_address instead of adding a new _Py_atomic_ulong. */ _Py_atomic_address _finalizing_id; /* The value to use for sys.path[0] in new subinterpreters. Normally this would be part of the PyConfig struct. However, we cannot add it there in 3.12 since that's an ABI change. */ wchar_t *sys_path_0; /* The following fields are here to avoid allocation during init. The data is exposed through _PyRuntimeState pointer fields. These fields should not be accessed directly outside of init. All other _PyRuntimeState pointer fields are populated when needed and default to NULL. For now there are some exceptions to that rule, which require allocation during init. These will be addressed on a case-by-case basis. Most notably, we don't pre-allocated the several mutex (PyThread_type_lock) fields, because on Windows we only ever get a pointer type. */ /* PyInterpreterState.interpreters.main */ PyInterpreterState _main_interpreter; } _PyRuntimeState; /* other API */ PyAPI_DATA(_PyRuntimeState) _PyRuntime; PyAPI_FUNC(PyStatus) _PyRuntimeState_Init(_PyRuntimeState *runtime); PyAPI_FUNC(void) _PyRuntimeState_Fini(_PyRuntimeState *runtime); #ifdef HAVE_FORK extern PyStatus _PyRuntimeState_ReInitThreads(_PyRuntimeState *runtime); #endif /* Initialize _PyRuntimeState. Return NULL on success, or return an error message on failure. */ PyAPI_FUNC(PyStatus) _PyRuntime_Initialize(void); PyAPI_FUNC(void) _PyRuntime_Finalize(void); static inline PyThreadState* _PyRuntimeState_GetFinalizing(_PyRuntimeState *runtime) { return (PyThreadState*)_Py_atomic_load_relaxed(&runtime->_finalizing); } static inline unsigned long _PyRuntimeState_GetFinalizingID(_PyRuntimeState *runtime) { return (unsigned long)_Py_atomic_load_relaxed(&runtime->_finalizing_id); } static inline void _PyRuntimeState_SetFinalizing(_PyRuntimeState *runtime, PyThreadState *tstate) { _Py_atomic_store_relaxed(&runtime->_finalizing, (uintptr_t)tstate); if (tstate == NULL) { _Py_atomic_store_relaxed(&runtime->_finalizing_id, 0); } else { // XXX Re-enable this assert once gh-109860 is fixed. //assert(tstate->thread_id == PyThread_get_thread_ident()); _Py_atomic_store_relaxed(&runtime->_finalizing_id, (uintptr_t)tstate->thread_id); } } #ifdef __cplusplus } #endif #endif /* !Py_INTERNAL_RUNTIME_H */