403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.41
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/test/support/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/support/__pycache__/bytecode_helper.cpython-315.pyc
R
>lqj c��Qs]PHs]PHs]PHs]PHs]PHs\2sQs	QQ\O2sQQ\O2s\O\PIQ2QQ\22s\O\PIQ2Q	Q
\22s\O\PIQ2QQ\22sP!\cPsK�h9h)
zGbytecode_helper - support tools for testing correct bytecode generationc
#�� �S9%f[Q2oSFDToU[UQ21w�	UO9%fQFD%vq4o[U2FDo[UQ2J	J'	JV	P!3h)N�)�iter�next�
cache_info�range)�instrs�co_positions�instr�_�size�is&&    �1C:\Python315\\Lib\test\support\bytecode_helper.py�instructions_with_positionsrsk���
 �+�+�4��8�L����T�,��+�+�+� �+�+�1�1�r�1�J�A�Q��4�[���\�2�&�!�2��s�
A6�5A6�3A6c�D`�\sQs]snQsQs\1Qks\1QksQs	Us
P!)�BytecodeTestCasez1Custom assertion methods for inspecting bytecode.c�|�[O2o[OVQ5UO2!))�file)�io�StringIO�dis�getvalue)�self�co�ss&& r
�get_disassembly_as_string�*BytecodeTestCase.get_disassembly_as_strings%���K�K�M��������z�z�|��c�n�UOU[O2[OU2FD6oUOU6XfJU[
IfUOU6XfJ3Ut!	UOU2oU[
IcU8QU80oLQoVbV51*oUOU2P!)zAReturns instr if opname is found, otherwise throws AssertionErrorz not found in bytecode:
z!(%s,%r) not found in bytecode:
%s)	�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�x�UOU[O2[OU2FD}oUOU6XfJUOU2oU[IcU8QU80oUOU2JMUOU6XfJ`QoVbV51*oUOU2J	P!)z(Throws AssertionError if opname is foundz occurs in bytecode:
z(%s,%r) occurs in bytecode:
%s)	rrrr 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�-rr)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr"r)r,�__static_attributes__�__classdictcell__��
__classdict__s@r
rrs'����;��
2>�
�5A�#�#rrc�`�\sQs]?sn\\O2s\\O\O*\O*2s\O\2s
QQ2sQsQsQsQsQsUsP!)�CompilationStepTestCasec��\sQs]EsQsP!)�CompilationStepTestCase.Labelr)r.r/r0r1r3rrr
�Labelr:Es��rr;c
�^�UOU[2UO2oUOU2O2oUO	[U2[U22[
V22FD�vqE[U[2%cUO	VT2J.UOU[2UOU[2[[U2Tt,tFDpf]*P6wfJU]*MJ	to2oUO	UPUUPU2J�	P!ttoh)�)�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*�8
D*c���]o,oSFDco[V@O[12%fPg[V@O2%c	V$mJIU]*
oUO	U2Je	U!��)rDr;rF�value�append)r�instsrO�res�items&&   r
�resolveAndRemoveLabels�.CompilationStepTestCase.resolveAndRemoveLabels\s`�������D��d�Z�Z��$7�8�8�8�8��$�
�
�+�+� �
��q����
�
�4� �
��
rc��STt.tFD"o[V O2%fJ UjJ$	oo[U2FDvqEVEmJ
	[O
2oSFD�o[V O2%cUO
UO2J;U]*o[U[2%c[OU*oUQ*uq�[V�O2%c
UOoU	P,][U	2*
**o	UOXx9%f],U	N3J�	U!ttoh)rT:r=NN)rDr;rHrU�_testinternalcapi�new_instruction_sequence�	use_label�str�opcoderrB�addop)
rrWrY�labelsr�lbl�seq�op�arg�locs
&&        r
r@�&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�Ec
���SFD�o[V O2%cJ Uuq4o[U[2%c[OU*oUOU[O7UPIQ[OU*8QU802SO[9PIcQU2D%cJP
L	P	LQU222J�	P!)Nzopcode.opname[op]=z arg=c3�N�SF �Do[U[2w�	J	P!3h�N)rDrE)�.0�ls& r
�	<genexpr>�=CompilationStepTestCase.check_instructions.<locals>.<genexpr>�s��C���C�q�
�1�c� 2� 2�C�s�%)
rDr;r`rarrA�hasargr!�
assertTrue�all)rrW�instrfrgrhs&&    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�rr)r.r/r0r1�setrrq�HAS_ARG�hasjrel�hasjabs�hasexc�
HAS_TARGET�union�HAS_ARG_OR_TARGETr;rPrZr@rur3r4r5s@r
r8r8?sf�����#�*�*�o�G��S�[�[�3�;�;�.����;�<�J��
�
�j�1��
�
�3�(��(
B�
Brr8zrequires _testinternalcapic�(`�\sQs]�snQsQsUsP!)�CodegenTestCasec�<�[OUQ]2vq#U!)z
my_file.py)r]�compiler_codegen)r�astrWr
s&&  r
�
generate_code�CodegenTestCase.generate_code�s��$�5�5�c�<��K����rr)r.r/r0r1r�r3r4r5s@r
r�r��s�����rr�c�,`�\sQs]�snQQksQsUsP!)�CfgOptimizationTestCasec�8�[OVU2oVB1!rl)r]�optimize_cfg)rre�consts�nlocalsrWs&&&& r
�
get_optimized�%CfgOptimizationTestCase.get_optimized�s��!�.�.�s�G�D���}�rrrS)r.r/r0r1r�r3r4r5s@r
r�r��s�����rr�c�(`�\sQs]�snQsQsUsP!)�AssemblerTestCasec�6�[OVU2oU!rl)r]�assemble_code_object)r�filenamerW�metadatars&&&& r
�get_code_object�!AssemblerTestCase.get_code_object�s��
�
3�
3�H�X�
N���	rr)r.r/r0r1r�r3r4r5s@r
r�r��s�����rr�)r2�unittestrrrar]�ImportError�objectr"r�TestCaserr8�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�B8�8C�>C�C

Youez - 2016 - github.com/yon3zu
LinuXploit