Linux amd.servercpanel.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
LiteSpeed
Server IP : 161.248.188.165 & Your IP : 216.73.216.219
Domains :
Cant Read [ /etc/named.conf ]
User : oishifashion
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python3.9 /
site-packages /
cffi /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-07-15 17:29
__init__.py
513
B
-rw-r--r--
2021-02-11 17:41
_cffi_errors.h
3.77
KB
-rw-r--r--
2021-02-04 23:50
_cffi_include.h
14.45
KB
-rw-r--r--
2021-02-05 00:53
_embedding.h
17.17
KB
-rw-r--r--
2021-02-11 17:41
api.py
41.08
KB
-rw-r--r--
2021-02-04 23:50
backend_ctypes.py
41.46
KB
-rw-r--r--
2021-02-04 23:50
cffi_opcode.py
5.59
KB
-rw-r--r--
2021-02-04 23:50
commontypes.py
2.63
KB
-rw-r--r--
2021-02-04 23:50
cparser.py
43.19
KB
-rw-r--r--
2021-02-05 00:53
error.py
877
B
-rw-r--r--
2021-02-04 23:50
ffiplatform.py
3.95
KB
-rw-r--r--
2021-02-04 23:50
lock.py
747
B
-rw-r--r--
2021-01-15 01:23
model.py
21.26
KB
-rw-r--r--
2021-02-05 00:53
parse_c_type.h
5.84
KB
-rw-r--r--
2021-02-04 23:50
pkgconfig.py
4.27
KB
-rw-r--r--
2021-02-04 23:50
recompiler.py
63.05
KB
-rw-r--r--
2021-02-05 01:15
setuptools_ext.py
8.72
KB
-rw-r--r--
2021-02-05 00:53
vengine_cpy.py
42.3
KB
-rw-r--r--
2021-02-05 00:53
vengine_gen.py
26.06
KB
-rw-r--r--
2021-02-05 00:53
verifier.py
10.94
KB
-rw-r--r--
2021-02-04 23:50
Save
Rename
import sys from . import model from .error import FFIError COMMON_TYPES = {} try: # fetch "bool" and all simple Windows types from _cffi_backend import _get_common_types _get_common_types(COMMON_TYPES) except ImportError: pass COMMON_TYPES['FILE'] = model.unknown_type('FILE', '_IO_FILE') COMMON_TYPES['bool'] = '_Bool' # in case we got ImportError above for _type in model.PrimitiveType.ALL_PRIMITIVE_TYPES: if _type.endswith('_t'): COMMON_TYPES[_type] = _type del _type _CACHE = {} def resolve_common_type(parser, commontype): try: return _CACHE[commontype] except KeyError: cdecl = COMMON_TYPES.get(commontype, commontype) if not isinstance(cdecl, str): result, quals = cdecl, 0 # cdecl is already a BaseType elif cdecl in model.PrimitiveType.ALL_PRIMITIVE_TYPES: result, quals = model.PrimitiveType(cdecl), 0 elif cdecl == 'set-unicode-needed': raise FFIError("The Windows type %r is only available after " "you call ffi.set_unicode()" % (commontype,)) else: if commontype == cdecl: raise FFIError( "Unsupported type: %r. Please look at " "http://cffi.readthedocs.io/en/latest/cdef.html#ffi-cdef-limitations " "and file an issue if you think this type should really " "be supported." % (commontype,)) result, quals = parser.parse_type_and_quals(cdecl) # recursive assert isinstance(result, model.BaseTypeByIdentity) _CACHE[commontype] = result, quals return result, quals # ____________________________________________________________ # extra types for Windows (most of them are in commontypes.c) def win_common_types(): return { "UNICODE_STRING": model.StructType( "_UNICODE_STRING", ["Length", "MaximumLength", "Buffer"], [model.PrimitiveType("unsigned short"), model.PrimitiveType("unsigned short"), model.PointerType(model.PrimitiveType("wchar_t"))], [-1, -1, -1]), "PUNICODE_STRING": "UNICODE_STRING *", "PCUNICODE_STRING": "const UNICODE_STRING *", "TBYTE": "set-unicode-needed", "TCHAR": "set-unicode-needed", "LPCTSTR": "set-unicode-needed", "PCTSTR": "set-unicode-needed", "LPTSTR": "set-unicode-needed", "PTSTR": "set-unicode-needed", "PTBYTE": "set-unicode-needed", "PTCHAR": "set-unicode-needed", } if sys.platform == 'win32': COMMON_TYPES.update(win_common_types())