OwlCyberSecurity - MANAGER
Edit File: dis.cpython-313.opt-1.pyc
� ����u�h����������������������������S�r�SSKrSSKrSSKrSSKrSSK7 �SSKJrJrJ r J r JrJrJ r Jr �SSKJr �/�SQ\-���rC\R"������������������\R$������������������\R&������������������\\\4r\S���r\S���rS r\S ���r\S���r\S���r\S ���r\S���r \S���r!\S���r"\S���r#\S���r$\S���r%\S���r&\S���r'\S���r(\S���r)\S���r*\S���r+\,"�\-5������r.\/"�\5������r0\Rb������������������"�5��������H��u��r2r3\2\.\3'���\3\0\2'���M��� �\ Rb������������������"�5��������V�VVs0�s�H��u��pU��H��o"U�_M��� �M��� �snnn�r4S�r5SuSSSSSS.S�jjr6SuSSSSS.S�jjr7S S!S"S#S$S%S&S'S(S)S*. r8S+�r9�"�S,�S-5������r:\:"�5�������r;S.�r<S/�r=S0�r>S1�r?S2�r@SS3.S4�jrA\R�������������������"�S5/�S6QS/S7-��S89rC\R�������������������"�S9/�S:Q/�S;QS89rDS<\DRZ������������������l���������S=\DR ������������������l���������S>\DR�������������������l���������S?\DR�������������������l���������S@\DR�������������������l���������SA\DR�������������������l���������SB\DR�������������������l���������SC\DR�������������������l���������SD\DR�������������������l���������SE\DR�������������������l���������SF\DR�������������������l���������SG\DR�������������������l���������\R�������������������"�SHSI5������rO�"�SJ�SK\O5������rPSLrQSMrRSN�rSSO�rT�"�SP�SQ\D5������rU�"�SR�SS5������rV�"�ST�SU5������rWSSSSV.SW�jrXSX�rYSY�rZSZ�r[S[�r\S\�r]S]�r^��SvS^�jr_SwSSSSS.S_�jjr`SSSSSS.S`�jraSxSb�jrbScrcSd�rdSySSaSSSSSe.Sf�jjreSwSg�jrfSh�rg\`rhSiriSj\iSk- ��-��rjSl�rkSm�rlSn�rmSo�rnSp�ro�"�Sq�Sr5������rpSuSs�jrq\rSt:X��a��\q"�5������� �ggs �snnn�f�)zz0Disassembler of Python byte code into mnemonics.�����N)�*)�__all__� _cache_format�_inline_cache_entries�_nb_ops�_intrinsic_1_descs�_intrinsic_2_descs�_specializations�_specialized_opmap)�get_executor)� code_info�dis�disassemble�distb�disco�findlinestarts� findlabels� show_code�get_instructions�Instruction�Bytecode� CONVERT_VALUE�SET_FUNCTION_ATTRIBUTE)�defaults� kwdefaults�annotations�closure�ENTER_EXECUTOR� LOAD_CONST�RETURN_CONST�LOAD_GLOBAL� BINARY_OP� JUMP_BACKWARD�FOR_ITER�SEND� LOAD_ATTR�LOAD_SUPER_ATTR�CALL_INTRINSIC_1�CALL_INTRINSIC_2�LOAD_FAST_LOAD_FAST�STORE_FAST_LOAD_FAST�STORE_FAST_STORE_FAST�CACHEc������������������T������[��������XS5������$�!�[���������a�� ��Of�=�f[��������XS5������$�)z�Attempts to compile the given source, first as an expression and then as a statement if the first approach fails. Utility function to accept strings in functions that otherwise expect code objects �eval�exec)�compile�SyntaxError)�source�names��� �*/opt/alt/python313/lib64/python3.13/dis.py�_try_compiler6���A���s3������ ��v�V�,�,���� �� ���6��(�(s������ �F��file�depth�show_caches�adaptive�show_offsetsc�����������������j����U�c��[��������XUUS9 �g[��������U�S5������(�������a��U�R������������������n�[��������U�S5������(�������a ��U�R������������������n�OY[��������U�S5������(�������a ��U�R������������������n�O;[��������U�S5������(�������a ��U�R ������������������n�O[��������U�S5������(�������a��U�R������������������n�[��������U�S5������(�������ah��[��������U�R������������������R������������������5�������5������nU�H>��u��px[��������U[��������5������(�������d��M��[��������S U-��US 9 ��[��������X�X#XES9 �[��������US 9 �M@��� �g[��������U�S 5������(�������a��[��������XX#XES9 �g[��������U�[ ��������["��������45������(�������a|��[%��������U�5������n S['��������[)��������['��������U 5������5������5������-���n[+��������UU(�������a*��['��������[)��������[-��������['��������U�5������S- ��S5������5������5������OSUUS9n[/��������U S9n [1��������X US9 �g[��������U�[(��������5������(�������a��[3��������XX#XES9 �g[��������S[5��������U�5������R6������������������-��5������e!�[���������a��n [��������SX�S 9 ��Sn A GNSn A ff�=�f)a��Disassemble classes, methods, functions, and other compiled objects. With no argument, disassemble the last traceback. Compiled objects currently include generator objects, async generator objects, and coroutine objects, all of which store their code object in a special attribute. N�r8���r:���r;���r<����__func__�__code__�gi_code�ag_code�cr_code�__dict__zDisassembly of %s:�r8���r7���zSorry:�co_code���������'��r���)r8����offset_width�label_widthr:���)� labels_map)�arg_resolver� formatter�(don't know how to disassemble %s objects)r����hasattrr?���r@���rA���rB���rC����sortedrD����items� isinstance� _have_code�printr���� TypeError�_disassemble_recursive�bytes� bytearray�_make_labels_map�len�str� Formatter�max�ArgResolver�_disassemble_bytes�_disassemble_str�type�__name__)�xr8���r9���r:���r;���r<���rR���r4����x1�msgrL���rK���rN���rM���s��� r5���r���r���N���s������� �y� �4�8�'� )���q�*��� �J�J���q�*��� �J�J�� ��I� � � �I�I�� ��I� � � �I�I�� ��I� � � �I�I���q�*����q�z�z�'�'�)�*���H�D��"�j�)�)��*�T�1��=�4���U�V^�z���4� ���� ��I� � ��q�5�\d��� A� �A��y�)� *� *�%�a�(� ��#�c�#�j�/�2�3�3���4�NZ�3�s�3�s�1�v��z�4�3H�/I�+J�`a�*5�*5�7� ��#�j�9���1�9�M� �A�s� � ���U�V^�z��B��Q��(�(�)��*�� *��#�!��4��(�C�3�3��4�s����H� H2� H-�-H2r>���c���������� �������t����U�cq���[��������[��������S5������(�������a��[��������R������������������R������������������n�O[��������R������������������n��U�R������������������(�������a��U�R������������������o�R������������������(�������a��M��[��������U�R������������������R������������������U�R������������������XX4S9 �g!�[ ���������a �� �[ ��������S5������Sef�=�f)z2Disassemble a traceback (default: last traceback).N�last_excz no last traceback to disassembler>���)rP����sysrh���� __traceback__�last_traceback�AttributeError�RuntimeError�tb_nextr����tb_frame�f_code�tb_lasti)�tbr8���r:���r;���r<���s��� r5���r���r�������s������� �z� M��s�J�'�'��\�\�/�/���'�'����j�j�r�z�z�"�j�j�j�����"�"�B�K�K�d�^f���C����� M��A�B��L� M�s����/B ��B �� B7� OPTIMIZED� NEWLOCALS�VARARGS�VARKEYWORDS�NESTED� GENERATOR�NOFREE� COROUTINE�ITERABLE_COROUTINE�ASYNC_GENERATOR) ����rH���rG������������ ����@�����������i���c����������� �����������/�n[��������S5�������HN��nSU-��nX-��(�������d��M��UR������������������[��������R������������������U[ ��������U5������5������5������ �X-��n�U�(�������a��MN�� �O� �UR������������������[ ��������U�5������5������ �SR������������������U5������$�)z+Return pretty representation of code flags.r����r}����, )�range�append�COMPILER_FLAG_NAMES�get�hex�join)�flags�names�i�flags��� r5����pretty_flagsr��������ss�������E� �2�Y���!�t���<�<��L�L�,�0�0��s�4�y�A�B��M�E��5�� ��� ���S��Z� ��9�9�U�������c�������������������������\�rS�rSrS�rSrg)�_Unknown����c�����������������������g)Nz <unknown>����selfs��� r5����__repr__�_Unknown.__repr__����s������r����r����N)rc���� __module__�__qualname__�__firstlineno__r�����__static_attributes__r����r����r5���r����r��������s������r����r����c�����������������������[��������U�S5������(�������a��U�R������������������n�[��������U�S5������(�������a ��U�R������������������n�OY[��������U�S5������(�������a ��U�R������������������n�O;[��������U�S5������(�������a ��U�R������������������n�O[��������U�S5������(�������a��U�R ������������������n�[ ��������U�[��������5������(�������a��[��������U�S5������n�[��������U�S5������(�������a��U�$�[��������S[��������U�5������R������������������-��5������e) zDHelper to handle methods, compiled or raw code objects, and strings.r?���r@���rA���rB���rC���z <disassembly>rF���rO���)rP���r?���r@���rA���rB���rC���rS���r\���r6���rV���rb���rc����rd���s��� r5����_get_code_objectr��������s���������q�*��� �J�J���q�*��� �J�J�� ��I� � � �I�I�� ��I� � � �I�I�� ��I� � � �I�I���!�S�����O�,���q�)����� �>���G�$�$�%��&��&r����c������������������L�����[���������U����nU[��������;���a��[��������[��������U������$�U�$��N)�_all_opname�deoptmap� _all_opmap)�opr4���s��� r5����_deoptopr��������s&�������r�?�D�)-��)9�:�h�t�n�%�A�r�Ar����c�����������������������U(�������a���U�R�������������������n/�nSn[��������S[��������U5������S5�������H���nX%���X%S-������pvU[��������:X��a4���[ ��������X5������nU(�������a!��UR������������������5�������UR������������������5�������pvSnUR������������������UR������������������5�������5������ �UR������������������UR������������������5�������5������ �M���� �U(�������d��U$�SR������������������U5������$�U�R������������������$�!�[ ��������[��������4�a�� �S�n�N�f�=�f)NFr���rH���r}���Tr����) �_co_code_adaptiver����r[���r���r���� ValueErrorrm���� get_opcode� get_opargr�����to_bytesr����rF���) �cor;����code�res�foundr����r�����arg�exs ��� r5����_get_code_arrayr��������s���������#�#�������q�#�d�)�Q�'�A��g�t�a�C�y���^�#��%�b�,�B��� �m�m�o�r�|�|�~�� �E��J�J�r�{�{�}�%��J�J�s�|�|�~�&��(��!�t�3�c�h�h�s�m�3��z�z����#�L�1����B��s����C!�!C6�5C6c������������������*�����[��������[��������U�5������5������$�)z1Formatted details of methods, functions, or code.)�_format_code_infor����r����s��� r5���r ���r �������s�������-�a�0�1�1r����c������������������N����/�nUR������������������SU�R������������������-��5������ �UR������������������SU�R������������������-��5������ �UR������������������SU�R������������������-��5������ �UR������������������SU�R������������������-��5������ �UR������������������SU�R ������������������-��5������ �UR������������������SU�R������������������-��5������ �UR������������������SU�R������������������-��5������ �UR������������������S[��������U�R������������������5������-��5������ �U�R������������������(�������aA��UR������������������S 5������ �[��������U�R������������������5�������H��nUR������������������S U-��5������ �M��� �U�R������������������(�������aA��UR������������������S5������ �[��������U�R������������������5�������H��nUR������������������SU-��5������ �M��� �U�R������������������(�������aA��UR������������������S 5������ �[��������U�R������������������5�������H��nUR������������������SU-��5������ �M��� �U�R������������������(�������aA��UR������������������S5������ �[��������U�R������������������5�������H��nUR������������������SU-��5������ �M��� �U�R������������������(�������aA��UR������������������S5������ �[��������U�R������������������5�������H��nUR������������������SU-��5������ �M��� �SR!������������������U5������$�)NzName: %szFilename: %szArgument count: %szPositional-only arguments: %szKw-only arguments: %szNumber of locals: %szStack size: %szFlags: %sz Constants:z%4d: %rzNames:z%4d: %szVariable names:zFree variables:zCell variables:� )r�����co_name�co_filename�co_argcount�co_posonlyargcount�co_kwonlyargcount� co_nlocals�co_stacksizer�����co_flags� co_consts� enumerate�co_names�co_varnames�co_freevars�co_cellvarsr����)r�����lines�i_c�i_ns��� r5���r����r��������s�������E� �L�L�(�2�:�:�5�6� �L�L�(�2�>�>�9�:� �L�L�(�2�>�>�9�:� �L�L�0�2�3H�3H�H�I� �L�L�(�2�+?�+?�?�@� �L�L�(�2�=�=�8�9� �L�L�(�2�?�?�:�;� �L�L�(�<����+D�D�E� �|�|� ���\�"��R�\�\�*�C��L�L��S��)��+� �{�{� ���X���R�[�[�)�C��L�L��S��)��*� �~�~� ���&�'��R�^�^�,�C��L�L��S��)��-� �~�~� ���&�'��R�^�^�,�C��L�L��S��)��-� �~�~� ���&�'��R�^�^�,�C��L�L��S��)��-��9�9�U��r����rE���c�����������������*�����[��������[��������U�5������US9 �g)zuPrint details of methods, functions, or code to *file*. If *file* is not provided, the output is printed on stdout. rE���N)rU���r ���)r����r8���s��� r5���r���r�����s������ � �)�B�-�d�#r����� Positions)�lineno� end_lineno� col_offset�end_col_offsetrG���)r����_Instruction)�opname�opcoder�����argval�argrepr�offset�start_offset�starts_line�line_number�label� positions� cache_info)NNNz!Human readable name for operationzNumeric code for operationz6Numeric argument to operation (if any), otherwise Nonez4Resolved arg value (if known), otherwise same as argz0Human readable description of operation argumentz1Start index of operation within bytecode sequencez|Start index of operation within bytecode sequence, including extended args if present; otherwise equal to Instruction.offsetz9True if this opcode starts a source line, otherwise FalsezGsource line number associated with this opcode (if any), otherwise NonezFA label (int > 0) if this instruction is a jump target, otherwise NonezPdis.Positions object holding the span of source code covered by this instructionzGlist of (name, size, data), one for each cache entry of the instruction�_ExceptionTableEntryBasezstart end target depth lastic�������������������������\�rS�rSrSrg)�_ExceptionTableEntryiD��r����N)rc���r����r����r����r����r����r����r5���r����r����D��s������r����r������������c������������������0�����[���������R������������������"�U�S5������$��Nr���)r���r�����r����s��� r5����_get_cache_sizer����J��s������ �$�$�V�Q�/�/r����c������������������������[��������U�5������n[��������[��������U���5������nU[��������;���a(��[ ��������U5������(�������a��U*�nUS-���US-��-���nUSU-��- ��nU$�U[ ��������;���a��US-��nU$�SnU$�)zcGets the bytecode offset of the jump target if this is a jump instruction. Otherwise return None. rH���N)r����r����r�����hasjrel�_is_backward_jump�hasjabs)r����r����r�����deop�caches�targets��� r5����_get_jump_targetr����M��s������� ��B�<�D� �[��.� /�F��w���T�"�"��$�C��!��c�!�e�#���!�f�*��� ��M� � ����Q�����M�����Mr����c�������������������������\�rS�rSrSr\S�5�������r\S�5�������r\S�5�������r\S�5�������r \S�5�������r \S�5�������r\S �5�������rS �r Srg) r���i_��a���Details for a bytecode operation. Defined fields: opname - human readable name for operation opcode - numeric code for operation arg - numeric argument to operation (if any), otherwise None argval - resolved arg value (if known), otherwise same as arg argrepr - human readable description of operation argument offset - start index of operation within bytecode sequence start_offset - start index of operation within bytecode sequence including extended args if present; otherwise equal to Instruction.offset starts_line - True if this opcode starts a source line, otherwise False line_number - source line number associated with this opcode (if any), otherwise None label - A label if this instruction is a jump target, otherwise None positions - Optional dis.Positions object holding the span of source code covered by this instruction cache_info - information about the format and content of the instruction's cache entries (if any) c�����������������������U�R�������������������$�)zAlias for Instruction.arg.)r����r����s��� r5����oparg�Instruction.opargt��s ��������x�x�r����c������������������,�����[��������U�R������������������5������$�)ziNumeric code for the base operation if operation is specialized. Otherwise equal to Instruction.opcode. )r����r����r����s��� r5���� baseopcode�Instruction.baseopcodey��s�����������$�$r����c������������������(�����[���������U�R���������������������$�)zpHuman readable name for the base operation if operation is specialized. Otherwise equal to Instruction.opname. )r����r����r����s��� r5���� baseopname�Instruction.baseopname���s��������d�o�o�&�&r����c������������������ �����U�R�������������������S-���$�)z9Start index of the cache entries following the operation.rH���)r����r����s��� r5����cache_offset�Instruction.cache_offset���s��������{�{�Q��r����c������������������Z�����U�R�������������������[��������[��������U�R���������������������5������S-��-���$�)z7End index of the cache entries following the operation.rH���)r����r����r����r����r����s��� r5���� end_offset�Instruction.end_offset���s(�������� � �?�;�t�{�{�3K�#L�Q�#N�N�Nr����c������������������X�����[��������U�R������������������U�R������������������U�R������������������5������$�)zWBytecode index of the jump target if this is a jump operation. Otherwise return None. )r����r����r����r����r����s��� r5����jump_target�Instruction.jump_target���s������� ����T�X�X�t�{�{�C�Cr����c�����������������������U�R�������������������SL$�)z1True if other code jumps to here, otherwise FalseN)r����r����s��� r5����is_jump_target�Instruction.is_jump_target���s��������z�z��%�%r����c�����������������������[���������R������������������"�5�������n[��������US9nUR������������������U�S5������ �UR ������������������5�������$�)NrE���F)�io�StringIOr]����print_instruction�getvalue)r�����outputrN���s��� r5����__str__�Instruction.__str__���s4������������6�*� ��#�#�D�%�0���� � r����r����N)rc���r����r����r�����__doc__�propertyr����r����r����r����r����r����r��r ��r����r����r����r5���r���r���_��s��������(��������%���%���'���'���������O���O���D���D���&���&�!r����r���c��������������������8�����\�rS�rSr��SS�jrS S�jrS�rS�rSrg) r]���i���Nc������������������@�����Xl���������X l��������X0l��������X@l��������X`l��������g)a-��Create a Formatter *file* where to write the output *lineno_width* sets the width of the line number field (0 omits it) *offset_width* sets the width of the instruction offset field *label_width* sets the width of the label field *show_caches* is a boolean indicating whether to display cache lines N�r8����lineno_widthrJ���rK���r:���)r����r8���r��rJ���rK����line_offsetr:���s��� r5����__init__�Formatter.__init__���s!�������� �(��(��&��&�r����c����������������������U�R������������������X5������ �U�R������������������(�������a���UR������������������(�������a���UR������������������nUR�������������������H���u��pEn[ ��������U5�������Hl��nUS- ��nUS:X��a*��U�S[ ��������R ������������������U[��������R������������������5�������3nOSnU�R������������������[��������S[��������SS�X�USS�S�UR������������������5������S5������ �Mn��� �M���� �g�g�g�)NrH���r���z: ��r-���F)�print_instruction_liner:���r����r����r�����int� from_bytesri���� byteorderr���r-���r����) r�����instr�mark_as_currentr����r4����size�datar����r����s ��� r5���r���Formatter.print_instruction���s��������#�#�E�;����� 0� 0��\�\�F�$)�$4�$4� ��D��t��A��a�K�F���A�v�%)�F�"�S�^�^�D�#�-�-�-P�,Q�"R��"$���/�/�#�G�U�A�t�W�f�$)�4��u���H����%��%5��!1�r����c������������������4����U�R�������������������nU�R������������������nU�R������������������nUS:���=(�������a"�� �UR������������������=(�������a�� �UR������������������S:���nU(�������a��[��������U�R������������������S9 �/�nU(�������am��UR������������������(�������aH��UR������������������b��SOSnX�-��nUR������������������c��[��������OUR������������������n UR������������������X�-��5������ �OUR������������������SU-��5������ �UR������������������b'��SUR�������������������S3n UR������������������U S U�3�5������ �OUR������������������SU-��5������ �US:���a+��UR������������������[��������UR������������������5������S U�3�S 35������ �U(�������a��UR������������������S5������ �OUR������������������S5������ �UR������������������UR������������������R������������������[��������5������5������ �UR������������������b���[��������UR������������������5������n[!��������S[#��������UR������������������5������[��������- ��5������nUR������������������[��������UR������������������5������R%������������������[&��������U- ��5������5������ �UR(������������������(�������a!��UR������������������S UR(������������������-���S-���5������ �[��������SR+������������������U5������R-������������������5�������U�R������������������S9 �g)z?Format instruction details for inclusion in disassembly output.r���rE���Nz%%%ddz%%%ds� �L�:�>z z-->z �(�))r��rJ���rK���r����r����rU���r8���r����� _NO_LINENOr����r�����reprr�����ljust� _OPNAME_WIDTHr����r^���r[����rjust�_OPARG_WIDTHr����r�����rstrip) r����r��r��r��rJ���rK����new_source_line�fields� lineno_fmtr�����lblr����� opname_excesss ��� r5���r��� Formatter.print_instruction_line���s������(�(���(�(���&�&��'�!�+��,� �,�,�,� �<�<�!�+�� ����t�y�y�!����� � �(-�(9�(9�(E�W�7� �'�6� �',�'8�'8�'@��e�FW�FW��� � �j�1�2�� � �c�L�0�1��;�;�"��e�k�k�]�!�$�C��M�M�S��;�-��0�2��M�M�#��+�,��!���M�M�T�%�,�,�/��,��/?�@��C�D���M�M�%� ��M�M�%� �� � �e�l�l�(�(��7�8��9�9� ��u�y�y�/�C�� ��3�u�|�|�#4�}�#D�E�M��M�M�$�u�y�y�/�/�/��}�0L�M�N��}�}�� � �c�E�M�M�1�C�7�8� �c�h�h�v��%�%�'�d�i�i�8r����c����������� ������� ����U�R�������������������nU(�������ap��[��������SUS9 �U�H_��nUR������������������(�������a��SOSnUR������������������nUR������������������nUR ������������������n[��������SU�SU�SU�SUR�������������������S U�3 US9 �Ma��� �g�g�) NzExceptionTable:rE���z lastir��z Lz to Lz -> Lz [�])r8���rU����lasti�start_label� end_label�target_labelr9���)r�����exception_entriesr8����entryr6���start�endr����s��� r5����print_exception_table�Formatter.print_exception_table���s��������y�y����#�$�/�*��$)�K�K��R���)�)���o�o���+�+����E�7�%��u�E�&���E�K�K�=��%��Q�X\�]��+��r����)r8���rK���r��rJ���r:���)Nr���r���r���r���F)F) rc���r����r����r����r��r��r��r>��r����r����r����r5���r]���r]������s������NO�27�'�"�$19�f ^r����r]���c��������������������0�����\�rS�rSrSS�jrS�rS�rS�rSrg) r_���i��Nc������������������H�����Xl���������X l��������X0l��������U=(�������d�� �0�U�l��������g�r�����r����r�����varname_from_opargrL���)r����r����r����rC��rL���s��� r5���r���ArgResolver.__init__��s������"��� �"4��$�*���r����c������������������������[��������U5������nU[��������;���a��US-��$�U[��������;���a<��[��������U5������(�������a��U*�OUnUS-���US-��-���n[ ��������[ ��������U���5������nUSU-��- ��nU$�g��NrH���)r����r����r����r����r����r����)r����r����r����r����r����� signed_argr����r����s��� r5����offset_from_jump_arg� ArgResolver.offset_from_jump_arg��sl��������|���7�?���7�N� �W�_�!2�4�!8�!8�#��c�J��a�Z�*�Q�,�.�F�$�[��%6�7�F��a�&�j� �F��M�r����c������������������:�����U�R�������������������R������������������US�5������$�r����)rL���r����)r����r����s��� r5����get_label_for_offset� ArgResolver.get_label_for_offset��s���������"�"�6�4�0�0r����c������������������^��^��U�R�������������������c��S�OU�R�������������������R������������������nS�nSn[��������U5������nTGbr��TnU[��������;���a��[ ��������UTU�R ������������������5������u��pVXV4$�U[��������;���a���U[��������:X��a*��[��������TS-��U5������u��pVTS-��(�������a��U(�������a��U�S3nXV4$�U[��������:X��a*��[��������TS-��U5������u��pVTS-��(�������a��U(�������a��U�S3nXV4$�U[��������:X��a*��[��������TS-��U5������u��pVTS-��(�������a��U(�������a��U�S3nXV4$�[��������TU5������u��pV�XV4$�U[��������;���d ��U[��������;���a,��U�R������������������UTU5������nU�R������������������U5������nSU�3nXV4$�U[��������[ ��������["��������4;���aF��TS- ��n TS-��n [��������X�R$������������������5������u��p�[��������X�R$������������������5������u��p�US -���U-���nX�4nXV4$�U[&��������;���d ��U[(��������;���a��[��������TU�R$������������������5������u��pVXV4$�U[*��������;���a!��[,��������TS - �����nUnTS-��(�������a��SU�S 3nXV4$�U[.��������:X��a��S�[0��������[2��������[4��������4T���nST���nXV4$�U[6��������:X��a+��S R9������������������U4S�j[;��������[<��������5�������5�������5������nXV4$�U[>��������:X��a��[@��������T���u��p�XV4$�U[B��������:X��a��[D��������T���nXV4$�U[F��������:X��a ��[H��������T���nXV4$�)Nr��rH���r}���z + NULLz + NULL|selfrG���zto L����r����r����r���zbool(r&��)r��r\���r(���asciic��������������3����J���>#� ���U��H��u��pTS�U-��-��(�������d��M��Uv�� �M��� �g7f)r}���Nr����)�.0r�����sr����s��� �r5���� <genexpr>�1ArgResolver.get_argval_argrepr.<locals>.<genexpr>T��s'����������$5�2P�$�!�'*�a��d�|��%&�A�2P�s����#� #)%r�����__getitem__r�����hasconst�_get_const_infor�����hasnamer!����_get_name_infor&���r'����hasjump�hasexcrH��rK��r*���r+���r,���rC���haslocal�hasfree� hascompare�cmp_opr���r\���r(��rO��r���r����r�����FUNCTION_ATTR_FLAGSr"���r���r(���r���r)���r ���)r����r����r����r�����get_namer����r����r����r1���arg1�arg2�val1�argrepr1�val2�argrepr2�_s��� ` r5����get_argval_argrepr�ArgResolver.get_argval_argrepr!��s�������:�:�-�4�4�:�:�3I�3I��������|���?� ��F��x��"1�$��T�^�^�"L���^����]�����;�&�&4�S�!�V�X�&F�O�F��a��W�%,�I�W�"5��T����S��Y�&�&4�S�!�V�X�&F�O�F��a��W�%,�I�\�":��L����K��_�,�&4�S�!�V�X�&F�O�F��a��W�%,�I�\�":��D����A�'5�S�(�&C�O�F�G�@����?����D�F�N��2�2�2�s�F�C���/�/��7�� ���,��6����5��-�/C�EZ�[�[��a�x���R�x��!/��6M�6M�!N���!/��6M�6M�!N���"�T�/�H�4�����(����'���!�T�W�_�"0��d�6M�6M�"N���$����#���#���q��)�� ����8� %�g�Y�a�0�G��������&���T�5�1�#�6��6�s�;��������/�/��)�)��$5�)�<O�2P��$5��5������ ���"�$�S�\� �� ���� ��)�)�,�S�1��������)�)�,�S�1����r����)r����rL���r����rC��)NNNN) rc���r����r����r����r��rH��rK��ri��r����r����r����r5���r_���r_�����s������+� �1�;r����r_���)� first_liner:���r;���c���������� �������0����[��������U�5������n[��������[��������U5������5������nUb��XR������������������- ��nOSnUR������������������n[��������UR������������������UR������������������UR������������������[��������U5������S9n[��������[��������XC5������UUUR������������������5�������UUS9$�)a���Iterator for the opcodes in methods, functions or code Generates a series of Instruction named tuples giving the details of each operations in the supplied code. If *first_line* is not None, it indicates the line number that should be reported for the first source line in the disassembled code. Otherwise, the source line information (if any) is taken directly from the disassembled code object. r���rB���� linestartsr���co_positions� original_coderM���) r�����dictr����co_firstlinenorF���r_���r����r�����_varname_from_opargrZ����_get_instructions_bytesr����ro��) rd���rk��r:���r;���r����rn��r��rp��rM���s ��� r5���r���r���^��s�������� �!� �B��n�R�(�)�J��� �#4�#4�4�����J�J�M�����%'�[�[�24�2H�2H�*:�=�*I�K�L��#�?�2�#@�.8�/:�02���0A�1>�0<�>��>r����c������������������ �����[���������nUb��X!���nU$�)z�Helper to get the value of the const in a hasconst op. Returns the dereferenced constant if this is possible. Otherwise (if it is a LOAD_CONST and co_consts is not provided) returns the dis.UNKNOWN sentinel. ��UNKNOWN)r����r����r����r����s��� r5����_get_const_valuerx��|��s��������F�������Mr����c������������������L�����[��������XU5������nU[��������La��[��������U5������OSnX44$�)z�Helper to get optional details about const references Returns the dereferenced constant and its repr if the value can be calculated. Otherwise returns the sentinel value dis.UNKNOWN for the value and an empty string for its repr. r��)rx��rw��r(��)r����r����r����r����r����s��� r5���rW��rW�����s*��������b�y� 1�F�$�G�3�d�6�l��G��?�r����c������������������0�����Ub��U"�U�40�UD6nX34$�[���������S4$�)z�Helper to get optional details about named references Returns the dereferenced name as both value and repr if the name list is defined. Otherwise returns the sentinel value dis.UNKNOWN for the value and an empty string for its repr. r��rv��)� name_indexra��� extrainfor����s��� r5���rY��rY�����s+����������*�2� �2���~����{�r����c�����������������������[��������U�5������nUS-��nUS-��(�������a#��US-��n[��������U�5������nX!S-��-��nUS-��(�������a��M#��U$�)N�?���r��������)�next)�iterator�b�vals��� r5���� _parse_varintr������sJ�������X��A� �b�&�C� �B�$��� ����N����t�����B�$�$���Jr����c����������� �������,����[��������U�R������������������5������n/�n��[��������U5������S-��n[��������U5������S-��nX4-���n[��������U5������S-��n[��������U5������nUS- ��n[��������US-��5������n UR ������������������[��������X5XhU 5������5������ �Mj��!�[���������a�� �Us�$�f�=�f)NrH���r}���)�iter�co_exceptiontabler����boolr����r����� StopIteration) r����r����entriesr<���lengthr=��r�����dlr9���r6��s ��� r5����_parse_exception_tabler������s��������D�*�*�+�H��G���!�(�+�A�-�E�"�8�,�Q�.�F��.�C�"�8�,�Q�.�F��x�(�B��!�G�E���A��J�E��N�N�/��F�5�Q�R�����������s����A+B��B�Bc�����������������������[���������U����S;���$�)N)r#����JUMP_BACKWARD_NO_INTERRUPTr����)r����s��� r5���r����r�������s�������"�:��8��8��8r����c��������������#�������#� ���U=(�������d�� �U�nU=(�������d�� �[��������S5������nSnSnSn[��������U5�������GH,��u��p�p�Ub��X�;���nU(�������a��X���nUb��Xr-���nOSn[��������[��������US5������6�n [ ��������U5������nX ���nU(�������a��UR������������������X�U 5������u��nnO U[ ��������U5������nn[��������[��������U���5������n[��������U5�������H��n[��������US5������ �M��� �U(�������aO��/�n[��������[��������U������R������������������5��������H*��u��nnX S-���U S-���SU-��-����nUR������������������UUU45������ �M,��� �OSnU(�������a��UR������������������U 5������OSn[��������[��������U���X�UUX�XhUU U5������v�� �GM/��� �g7f)z�Iterate over the instructions in a bytecode string. Generates a sequence of Instruction namedtuples giving the details of each opcode. r����FNrH���)r����_unpack_opargsr����r���r����ri��r(��r����r����r����r���r����rR���r����rK��r���)r����rn��r��ro��rp��rM���r�����local_line_numberr����r����r����r����r����r����r����r����r����r����rh��r����r4���r��r��r����s��� r5���rt��rt�����s{��������"�)�T�M��+�4��8�L��K����K�)7� �)F�%��b��!� �.�K��$.�$6�!� �,�/�=��"���t�L�"�5�6� ���|�� �\���*�=�=�b�v�N�O�F�G�!�4��9�G�F� ��T�!2�3���v��A���r�"������J�+�F�4�L�9�?�?�A� ��d��Q�J��� �Q��X�(=�>���!�!�4��t�"4�5��B���J�=I��1�1�&�9�t���+�b�/�2�F�G� ����J�8�� 8�A�*G�s����E#E%c���������� �����������[��������[��������U�5������5������n[��������U�5������n[��������U�R������������������US9nS[��������[ ��������[��������U5������5������5������-���n [��������U[��������U5������U(�������a4��[��������[ ��������[��������[��������U�R������������������5������S- ��S5������5������5������OSU US9n [��������U�R������������������U�R������������������U�R������������������US9n[��������[��������X5������XXpR!������������������5�������U�R������������������X�S9 �g ) zDisassemble a code object.)r:��rG���rH���rI���r���r��rB��)r:��ro��rp��rM���rN���N)rq��r���r���rZ���rF���r[���r\���r]����_get_lineno_widthr^���r_���r����r����rs��r`���r����ro��)r����r6��r8���r:���r;���r<���rn��r:��rL���rK���rN���rM���s��� r5���r���r������s���������n�R�(�)�J�.�r�2��!�"�*�*�@Q�R�J��c�#�c�*�o�.�/�/�K��t�'8��'D�S_�s�3�s�3�r�z�z�?�Q�3F��/M�+N�'O�ef�&1�&1� 3�I� �����%'�[�[�24�2H�2H�*4�6�L����r�4�e�):���IZ�%'�Z�Z�l�ar����c���������� �������������[��������XX4US9 �Ub��US:���aR��Ub��US- ��nU�R�������������������H9��n[��������US5������(�������d��M��[��������US9 �[��������SU<�S3US9 �[ ��������XaX#XES9 �M;��� �g�g�) Nr>���r���r}���rF���rE���zDisassembly of r#��r7���)r���r����rP���rU���rW���)r����r8���r9���r:���r;���r<���rd���s��� r5���rW���rW�����sn��������;�Xd�e��}��� ����A�I�E����A��q�)�$�$��4� ��a�1��=�&���%�� ���"r����r����c�����������������������[��������[��������U�5������5������n[��������U5������nU�H;��u��pEn �nUR������������������U5������ �UR������������������U5������ �UR������������������U5������ �M=��� �[��������U5������n[ ��������[��������U5������5�������VV s0�s�H ��u��p�X�S-���_M��� �n nn U�H<��nX�R ���������������������Ul��������X�R���������������������Ul��������X�R���������������������Ul ��������M>��� �U $�s �sn nf�)Nr}���)�setr����addrQ���r����r<��r7��r=��r8��r����r9��)rp��r:���jump_targets�labelsr<��r=��r����rh��r����r����rL����es��� r5���rZ���rZ�����s��������z�-�0�1�L� �� �F�$5� ��F�A�q�� � �5��� � �3��� � �6���%6���F�^�F�1:�6�&�>�1J�K�1J�+�1�&�A�#�+�1J�J�K� ��"�7�7�+�� � ���'���#�H�H�-����������Ls����Cz --c����������������������U�c��g[��������[��������S�U�R������������������5�������5������SS9nUS:X��a��g[��������S[��������[ ��������U5������5������5������nU[��������[ ��������5������:��a#��S�U�R������������������5�������;���a��[��������[ ��������5������nU$�)Nr������)�default����)r^����filter�valuesr[���r\���r'��)rn��� maxlinenor��s��� r5���r���r���+��sq����������F�4��!2�!2�!4�5�r�B�I��B����q�#�c�)�n�-�.�L��c�*�o�%�$�*�2C�2C�2E�*E��:����r����)r��r:��ro��rp��rM���rN���c���������� �������2�����[��������XUUUUS9n [��������X�X�S9 �g�)Nrm��)r6��)rt���print_instructions) r����r6��rn��r��r:��ro��rp��rM���rN����instrss ��� r5���r`���r`���8��s)�������%�T�7B�8D�9F�8D� F�F���v�)�Ir����c����������� ������������U��Hf��nUR�������������������Us=:*��=(�������a8�� �UR�������������������S[��������[��������[��������UR������������������5���������5������-��-���:*��Os �nUR������������������XE5������ �Mh��� �UR ������������������U5������ �g�rF��)r����r����r����r����r����r��r>��)r���r:��rN���r6��r���is_current_instrs��� r5���r���r���I��sm�������� �<�<�5��W��W��|�|�a�/�+�h�u�|�|�>T�2U�"V�V�V�W���#�#�E�<� ����#�#�$5�6r����c������������������0�����[��������[��������U�S5������40�UD6 �g)z<Compile the source string, then disassemble the code object.z<dis>N)rW���r6���)r3����kwargss��� r5���ra���ra���R��s�������<���8�C�F�Cr����r����rH���r}���c��������������#����|��#� ���SnSnSn[��������S[��������U�5������S5�������H���nU(�������a��US-��nM��X���n[��������U5������n[��������[��������U���5������nU[ ��������;���a2��XS-������U-��nU[��������:X��a��US-��OSnU[��������:���a��US[��������-��-��nOS�nSnU[��������:X��a ��US- ��nXDXW4v�� �M���XBS-��- ��nXHXW4v�� �SnM���� �g�7f)Nr���rH���r}���r~���)r����r[���r����r����r�����hasarg�EXTENDED_ARG� _INT_OVERFLOW) r�����extended_arg�extended_args_offsetr����r����r����r����r����r����s ��� r5���r���r���^��s����������L��� �F� �1�c�$�i�� #����a�K�F�� �W����|�� ��T�!2�3���6�>���s�)�l�*�C�)-��)=�C�1�H�1�L���}�,���M� 1�1����C��L��<�� �A�%� ���/�!��A�5�5�L��B�,�,�#$� �3�$�s����B:B<c�����������������������/�n[��������U�5�������H4��u��p#pEUc��M��[��������XEU5������nUc��M��Xa;��d��M#��UR������������������U5������ �M6��� �U$�)zXDetect all offsets in a byte code which are jump targets. Return the list of offsets. )r���r����r����)r����r���r����rh��r����r����r����s��� r5���r���r���}��sO��������F�,�T�2���2��?�$�R�f�5�E��}���"�� � �e�$� �3���Mr����c��������������#����^���#� ���SnU�R������������������5��������H��u��p#nXALd��M��UnX$4v�� �M��� �g7f)z�Find the offsets in a byte code which are start of lines in the source. Generate pairs (offset, lineno) lineno will be an integer or None the offset does not have a source line. FN)�co_lines)r�����lastliner<��r=���lines��� r5���r���r������s9����������H� �M�M�O���D����H��+���,���s����-�-c����������� ���#�������#� ���[���������S���nU�R������������������nU�R������������������n[��������U�R������������������5�������VVVs/�s�H��u�� �pEnU[ ��������:w��d��M��XV4PM��� �nnnn[ ��������U5�������Hq��u��nu��pYXQ:X��d��M��US:���d��M��XxS- �����n XxS- �����nU S���[��������;���d��M4��US���[��������;���d��MC��[��������US���US���U5������n[��������U S���U S���U5������n X9���X�4v�� �Ms��� �gs �snnnf�7f)z�Find import statements in the code Generate triplets (name, level, fromlist) where name is the imported module and level, fromlist are the corresponding args to __import__. �IMPORT_NAMErH���r}���r���N) �opmapr����r����r���rF���r���r����rV��rx��)r����r����constsr����rh��r����r�����opargsr����r�����from_op�level_op�level�fromlists��� r5���� _find_importsr������s����������� �&�K� �\�\�F��K�K�E�-;�B�J�J�-G��)�-G�M�A�q�c��<�'���r�i�-G�F��)�#�F�+���;�B� ���a���q�S�k�G���c�{�H��� �h�&�8�A�;�(�+B�(��!��h�q�k�6�J��+�G�A�J��� �F�K���|�U�5�5��,��)�s.����;C&�C�C�C&�8C&��C&�C&�,:C&c��������������#�������#� ���[���������S���[���������S���1nU�R������������������n[��������U�R������������������5�������H��u�� �p4nXA;���d��M��X%���v�� �M��� �g7f)zTFind names of variables which are written in the code Generate sequence of strings � STORE_NAME�STORE_GLOBALN)r���r����r���rF���)r����� STORE_OPSr����rh��r����r����s��� r5����_find_store_namesr������sO��������� �l�� �n���I� � �K�K�E�'�� � �3� ��1�#� �?��*���4�s����>A�Ac��������������������`�����\�rS�rSrSrSSSSSS.S�jrS�rS�r\SSS .S �j5�������r S�r S�rS rg)r���i���z�The bytecode operations of a piece of code Instantiate this with a function, method, other compiled object, string of code, or a code object (as returned by compile()). Iterating over this yields the bytecode operations as Instruction instances. NF)rk���current_offsetr:���r;���r<���c����������������� ����[��������U5������=U�l��������nUc��UR������������������U�l��������SU�l��������OX l��������X'R������������������- ��U�l��������[��������[ ��������U5������5������U�l��������Xl��������X0l ��������[��������U5������U�l��������X@l��������XPl ��������X`l��������g�r����)r�����codeobjrr��rk���_line_offsetrq��r����_linestarts�_original_objectr���r���r:��r:���r;���r<���)r����rd���rk��r���r:���r;���r<���r����s��� r5���r���Bytecode.__init__���s�������,�Q�/�/���r��� �/�/�D�O� !�D��(�O� *�->�->� >�D����r� 2�3��� !��,��!7��!;���&�� � �(�r����c����������� �������6����U�R�������������������nUR������������������n[��������X R������������������5������n[ ��������UR ������������������UR������������������UR������������������US9n[��������[��������XR������������������5������U�R������������������U�R������������������UR������������������5�������UUS9$�)NrB��rm��)r���rF���rZ���r:��r_���r����r����rs��rt��r����r;���r���r���ro��)r����r����rp��rL���rM���s��� r5����__iter__�Bytecode.__iter__���s������� �\�\��� � � �%�m�5K�5K�L� �"�R�\�\�)+���68�6L�6L�.8�:���'��r�=�=�'I�26�2B�2B�37�3D�3D�46�O�O�4E�5B�4@�B�� Br����c������������������b�����SR������������������U�R������������������R������������������U�R������������������5������$�)Nz{}({!r}))�format� __class__rc���r���r����s��� r5���r�����Bytecode.__repr__���s*������� � ����!8�!8�!%�!6�!6�8�� 8r����)r:���r;���c����������������������UR�������������������(�������a��UR�������������������nUR�������������������(�������a��M��U�"�UR������������������R������������������UR������������������X#S9$�)z.Construct a Bytecode from the given traceback )r���r:���r;���)rn���ro���rp���rq���)�clsrr���r:���r;���s��� r5����from_traceback�Bytecode.from_traceback���sA��������j�j����B���j�j�j���K�K���r�{�{�� �� r����c������������������,�����[��������U�R������������������5������$�)z3Return formatted information about the code object.)r����r���r����s��� r5����info� Bytecode.info���s������ ����.�.r����c����������� �������B����U�R�������������������nU�R������������������b ��U�R������������������nOSn[��������R������������������"�5��������n[ ��������XR ������������������5������nU�R������������������(�������a*��[��������[��������[��������[��������U5������S- ��S5������5������5������OSn[��������UR������������������U�R������������������5������nS[��������[��������[��������U5������5������5������-���n[��������U[��������U�R������������������5������UUU�R ������������������U�R"������������������S9n[%��������UR&������������������UR(������������������UR*������������������US9n [-��������UU�R������������������U�R ������������������UU�R������������������UR/������������������5�������UR������������������U US 9 �UR1������������������5�������sSSS5������ �$�!�,�(�������d��f �� � �g=�f) z3Return a formatted view of the bytecode operations.Nr���rH���rI���r���rG���)r8���r��rJ���rK���r��r:���rB��)rn��r��r6��r:��ro��rp��rM���rN���)r���r���r��r��r����r;���r<���r[���r\���r^���rZ���rF���r:��r]���r���r���r���r:���r_���r����r����rs��r`���ro��r��) r����r����r����r ��r����rJ���rL���rK���rN���rM���s ��� r5���r����Bytecode.dis���sH����� �\�\�����*��(�(�F��F� �[�[�]�f�"�2�}�}�5�D�AE�AR�AR�3�s�3�s�4�y�1�}�d�#;�<�=�XY�L��*�"�*�*�d�6L�6L�M�J��c�#�c�*�o�"6�7�7�K�!�v�/@��AQ�AQ�/R�/;�.9�.2�.?�.?�.2�.>�.>�@�I��'����-/�[�[�:<�:P�:P�2<�>�L�� �t�*.�*:�*:�+/�+<�+<�%+�15�1G�1G�,.�O�O�,=�-/�Z�Z�,8�)2� 4���?�?�$�7��]�]�s����EF� F) r���r���r���r;���r���r���r:��rk��r:���r<���) rc���r����r����r����r��r��r���r�����classmethodr���r���r���r����r����r����r5���r���r������sI��������)-�T�u�_d�sx��)� B�8���/4�u�� ��� �/�"%r����r���c����������������������SS�K�nUR������������������5�������nUR������������������SSSSS9 �UR������������������SSSS S9 �UR������������������S SSS 9 �UR������������������U�S9n�U�R������������������S:X��a+��Sn[ ��������R������������������R������������������R������������������5�������nO;U�R������������������n[��������U�R������������������S5�������nUR������������������5�������nS�S�S�5������ �[��������WUS5������n[��������X`R������������������U�R������������������S9 �g�!�,�(�������d��f �� � �N:=�f)Nr���z-Cz --show-caches� store_truezshow inline caches)�action�helpz-Oz--show-offsetszshow instruction offsets�infile�?�-)�nargsr���)�argsz<stdin>�rbr0���)r:���r<���)�argparse�ArgumentParser�add_argument� parse_argsr���ri����stdin�buffer�read�openr1���r���r:���r<���)r���r����parserr4���r3���r���r����s��� r5����mainr�����s�������� � $� $� &�F� ����o�l�1����3� ����.�|�7����9� �����S��9����$��'�D��{�{�c�������!�!�&�&�(���{�{�� �$�+�+�t� $���[�[�]�F��%��6�4��(�D���*�*��9J�9J�K��%� $�s����6C;�; D �__main__r����)Nr���NNN)r���)r����)r���N)sr��ri����types�collectionsr��r����r����_opcodes_allr���r���r���r���r ���r ���r����_opcoder���� MethodType�FunctionType�CodeTyper����staticmethodrb���rT���r���r���r���r`��r���r���r ���r!���r"���r#���r$���r%���r&���r'���r(���r)���r*���r+���r,���r-����listr����r����rq��r����rR���r4���r����r����r6���r���r���r����r����r����rw��r����r����r����r ���r����r���� namedtupler����r����r����r����r����r����r����r����r����r����r����r����r����r����r*��r,��r����r����r���r]���r_���r���rx��rW��rY��r���r���r����rt��r���rW���rZ���r'��r���r`���r���ra���r���� _INT_BITSr���r���r���r���r���r���r���r���rc���)�base�family�specializeds���000r5����<module>r������s������6�� ������ ��� �� �� ��!�:�<H�I�������� 2� 2�E�N�N��<��/� ���o�&� ��7�8���J����'�(�� �<� � ��^�$���M�"���+�� ��o�&� ������V�}���+�� ��)�*���+�,����+�,����1�2����3�4����5�6��� �g����6�l�� �%�[� �"�(�(�*�H�D�"���K��O��J�t�� �+��+;�*@�*@�*B��*B�,�$�V\�{���V\�K�*B���)�4*��D�e�e��4*�lC�4�U�U�QV��C�"� ����������������� ��*��&�.B��.2��@���$�� �"�"�����V�a�Z� � ���%�%�� �� �!��&�B��������:��������S��������T��������Q��������Q��������,�� ������!��$_������� �#l������� �e��������!s��������"k��������&�1�1�2L�"�$��� �3�� ��� ���0��$E!�,��E!�Pa^��a^�HQ��Q�f�'+��u��>�<� ���� 8��PT�=A�38�la�d���"�a�(�(,�4�U�UZ�in��� ��� � �J�&'�2�$(��$(�D�J�"7�D�� ��� � ��i�!�m�$� �%�>� �6�, � Z%��Z%�zL�(��z���F����ks����M