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 :  /proc/thread-self/root/lib/python3.14/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/lib/python3.14/__pycache__/bdb.cpython-314.pyc
+
��3j���2�Rt^RIt^RIt^RIt^RIt^RIt^RIHt^RIH	t	H
t
Ht.ROt]	]
,],t
!RR]4t]P P"t!RR	4t!R
R4tRt!RR4tR
tRt!RR]4tRtRtRtR#)zDebugger basicsN)�contextmanager)�CO_GENERATOR�CO_COROUTINE�CO_ASYNC_GENERATOR�BdbQuit�Bdb�
Breakpointc��]tRt^tRtRtR#)rz Exception to give up completely.�N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r
��/usr/lib/python3.14/bdb.pyrrs��*rc��a�]tRt^to]P
R]PR]PR]PR]PR]PR]PR]PR]PR]PR]PR/t]P
]P,]P,]P,]P,t]P]P,]P,]P,]P,tRtR	tR
tRtRtR
tRtRtRtRtRtRtRtRRlt Rt!Rt"Vt#R#)�_MonitoringTracer�call�line�jump�return�unwind�	exception�opcodec��\PPVnRVnRVnRVnRVnRVnR#)�	bdbtracerNF)	�sys�
monitoring�DEBUGGER_ID�_tool_id�_name�
_tracefunc�_disable_current_event�_tracing_thread�_enabled��selfs&r�__init__�_MonitoringTracer.__init__(s8�����2�2��
� ��
����&+��#�#�����
rc�l�Wn\P!4Vn\P
P
VP4pVf6\P
PVPVP4MEW P8Xd+\P
PVP4M\R4h\P
Pp^pVPP4FgwrVVP\!WR24V4p\P
P#VPWW4WSP$8wgK_WE,pKi	VP'4\P
P)VPVP*4RVnR#)Nz-Another debugger is using the monitoring tool�	_callbackT)r#�	threading�current_threadr%rr�get_toolr!�use_tool_idr"�
clear_tool_id�
ValueError�events�EVENT_CALLBACK_MAP�items�callback_wrapper�getattr�register_callback�INSTRUCTION�update_local_events�
set_events�
GLOBAL_EVENTSr&)r(�	tracefunc�	curr_tool�E�
all_events�event�cb_name�callbacks&&      r�start_trace�_MonitoringTracer.start_trace0s)��#��(�7�7�9����N�N�+�+�D�M�M�:�	����N�N�&�&�t�}�}�d�j�j�A�
�*�*�
$��N�N�(�(����7��L�M�M��N�N�!�!���
�"�5�5�;�;�=�N�E��,�,�W�T�Y�i�;P�-Q�SX�Y�H��N�N�,�,�T�]�]�E�L��
�
�%��#�
�	>�
	
� � �"����!�!�$�-�-��1C�1C�D���
rc�<�RVnRVn\PP	VP
4pWP8wdR#\PPVP
4\PPVP
4R#)FN)	r&r%rrr/r!r"r1�free_tool_id)r(r>s& r�
stop_trace�_MonitoringTracer.stop_traceEsb����
�#����N�N�+�+�D�M�M�:�	��
�
�"�����$�$�T�]�]�3����#�#�D�M�M�2rc��RVnR#)TN)r$r's&r�disable_current_event�'_MonitoringTracer.disable_current_eventNs
��&*��#rc��\PPVP4VP8Xd!\PP4R#R#�N)rrr/r!r"�restart_eventsr's&rrO� _MonitoringTracer.restart_eventsQs7���>�>�"�"�4�=�=�1�T�Z�Z�?��N�N�)�)�+�@rc�Laaa�^RIpVPS4VVV3Rl4pV#)�Nc�<�SP\P!48wdR#\P!4P
pS!V.VO5!pSP'd#VP'dSP4SP'dVS\P\P\P39d"\PPRSn	#VRSn	# \ d7SP#4R\P!4P
nhi;i RSn	i;i)NF)r%r-r.r�	_getframe�f_backr&�f_tracer:r$r?�PY_THROW�	PY_UNWIND�RAISEr�DISABLE�
BaseExceptionrH)�args�frame�retrA�funcr(s*  ���r�wrapper�3_MonitoringTracer.callback_wrapper.<locals>.wrapperXs�����#�#�y�'?�'?�'A�A��
4��
�
��.�.���5�(�4�(���=�=�=�U�]�]�]��,�,�.��/�/�/��a�j�j�!�+�+�q�w�w�%G�G��>�>�1�1�/4��+�
�/4��+��!�
����!�15��
�
��&�&�.��
��
/4��+�s,�AC6�6!C6�A
C6�-C6�6AD7�7D:�:	E)�	functools�wraps)r(r_rArbr`sfff  rr6�"_MonitoringTracer.callback_wrapperUs(����	����	�	4�
�	4�,�rc���VPVRR4pVeQWAnVP'd7\PPVPW P4R#R#R#)rN)r#rVr&rr�set_local_eventsr!�LOCAL_EVENTS)r(r]�coder\�local_tracefuncs&&&* r�
call_callback�_MonitoringTracer.call_callbackqsP���/�/�%���>���&�+�M��}�}�}����/�/��
�
�t�EV�EV�W��'rc�T�VP'dVPVRV4R#R#�rN�rV)r(r]rh�offset�retvals&&&&&r�return_callback�!_MonitoringTracer.return_callbackxs ���=�=�=��M�M�%��6�2�rc�T�VP'dVPVRR4R#R#rmrn�r(r]rhr\s&&&*r�unwind_callback�!_MonitoringTracer.unwind_callback|s ���=�=�=��M�M�%��4�0�rc�|�VP'd*VP'dVPVRR4R#R#R#�rN)rV�
f_trace_linesrts&&&*r�
line_callback�_MonitoringTracer.line_callback�s-���=�=�=�U�0�0�0��M�M�%���.�1�=rc�@�WC8�d\PP#VPW#4pVPW$4pWV8wd\PP#VP'd*VP
'dVP	VRR4R#R#R#rx)rrrZ�_get_linenorVry)r(r]rh�inst_offset�dest_offset�inst_lineno�dest_linenos&&&&&  r�
jump_callback�_MonitoringTracer.jump_callback�sy���$��>�>�)�)�)��&�&�t�9���&�&�t�9���%��>�>�)�)�)��=�=�=�U�0�0�0��M�M�%���.�1�=rc�t�VP'd�VP'dj\VPR4'dNVPpV'd:VPPPR4VJdR#VPpKAVPVR\V4WDP34R#R#)�tb_framer(Nr)rV�
__traceback__�hasattrr��f_locals�get�tb_next�type)r(r]rhro�exc�tbs&&&&& r�exception_callback�$_MonitoringTracer.exception_callback�s����=�=�=�� � � �W�S�->�->�
�%K�%K��&�&����{�{�+�+�/�/��7�4�?�����B��M�M�%��t�C�y�#�?P�?P�.Q�R�rc�|�VP'd*VP'dVPVRR4R#R#R#)rN)rV�f_trace_opcodes)r(r]rhros&&&&r�opcode_callback�!_MonitoringTracer.opcode_callback�s-���=�=�=�U�2�2�2��M�M�%��4�0�3�=rNc���\PPVP4VP8wdR#Vf \P
!4PpVe�VPevVP'd#VP\P,pMVPp\PPVPVPV4VPpK�R#rN)rrr/r!r"rTrUrVr�rgr?r9rf�f_code)r(r]r3s&& rr:�%_MonitoringTracer.update_local_events�s����>�>�"�"�4�=�=�1�T�Z�Z�?���=��M�M�O�*�*�E����}�}�(��(�(�(�!�.�.����>�F�!�.�.�F����/�/��
�
�u�|�|�V�T��L�L�E� rc�^�^RIpRpVPV4FwrVW%8dVu#TpK	V#)rRN)�dis�findlinestarts)r(rhror��last_lineno�start�linenos&&&    rr}�_MonitoringTracer._get_lineno�s9����� �/�/��5�M�E��~�"�"� �K�6��r)r$r&r"r!r#r%rN)$rrr
rr?�PY_START�	PY_RESUMErW�LINE�JUMP�	PY_RETURN�PY_YIELDrXrY�STOP_ITERATIONr9r4r<rgr)rDrHrKrOr6rjrqrurzr�r�r�r:r}r�__classdictcell__��
__classdict__s@rrrs!����	�
�
�F�	���V�	�
�
�F�	����	����	���X�	�
�
�H�	���X�	����	���+�	�
�
�x����J�J����,�q�z�z�9�A�K�K�G�!�'�'�Q�M��6�6�A�F�F�?�Q�[�[�0�1�:�:�=��@P�@P�P�L���*3�+�,��8X�3�1�/�/�S�1�!��rrc�a�]tRt^�toRtR;RltRtRtRtRt	]
R4tR	tR
t
RtRtR
tRtRtRtRtRtRtRtRtRtRtRtRtRtR<RltRtR=Rlt Rt!Rt"R t#R!t$R=R"lt%R#t&R$t'R%t(R>R&lt)R't*R(t+R)t,R*t-R+t.R,t/R-t0R.t1R/t2R0t3R1t4R2t5R?R3lt6R4t7R5t8R@R6lt9R@R7lt:R8t;R9t<R:t=Vt>R#)Ara�Generic Python debugger base class.

This class takes care of details of the trace facility;
a derived class should implement user interaction.
The standard debugger class (pdb.Pdb) is an example.

The optional skip argument must be an iterable of glob-style
module name patterns.  The debugger will not step into frames
that originate in a module that matches one of these patterns.
Whether a frame is considered to originate in a certain module
is determined by the __name__ in the frame globals.
Nc�t�V'd\V4MRVn/Vn/Vn/VnRVnRVnRVnRVnRVn	\P!4VnW n
VR8Xd\4VnMVR8Xd	RVnM\!RVR24hVP#4R#)NFr�settracezInvalid backend '�')�set�skip�breaks�fncache�frame_trace_lines_opcodes�frame_returning�
trace_opcodes�
enterframe�cmdframe�	cmdlineno�weakref�WeakKeyDictionary�code_linenos�backendr�monitoring_tracerr2�_load_breaks)r(r�r�s&&&rr)�Bdb.__init__�s���!%�C��I�4��	�������)+��&�#���"��������
����#�5�5�7������l�"�%6�%8�D�"�
�
�
"�%)�D�"��0��	��;�<�<����rc��VRV^R,R,8XdV#VPPV4pV'gM\PP	V4p\PPV4pW PV&V#)z�Return canonical form of filename.

For real filenames, the canonical form is a case-normalized (on
case insensitive filesystems) absolute path.  'Filenames' with
angle brackets, such as "<stdin>", generated in interactive
mode, are returned unchanged.
�<�>���)r�r��os�path�abspath�normcase)r(�filename�canonics&& rr��Bdb.canonic�so���s�X�a��^�+�c�1�1��O��,�,�"�"�8�,����g�g�o�o�h�/�G��g�g�&�&�w�/�G�%,�L�L��"��rc��VP'd(VPPVP4R#\P!VP4R#rN)r�rD�trace_dispatchrr�r's&rrD�Bdb.start_trace�s:���!�!�!��"�"�.�.�t�/B�/B�C��L�L��,�,�-rc��VP'dVPP4R#\P!R4R#rN)r�rHrr�r's&rrH�Bdb.stop_trace�s,���!�!�!��"�"�-�-�/��L�L��rc�`�^RIpVP4RVnVPRR4R#)z5Set values of attributes as ready to start debugging.N)�	linecache�
checkcache�botframe�
_set_stopinfo)r(r�s& r�reset�	Bdb.reset�s(���������
����4��&rc#�0"�WnRx�RVnR#5irN)r��r(r]s&&r�set_enterframe�Bdb.set_enterframe�s�����
����s�c���VPV4;_uu_4VP'dRRR4R#VR8XdVPV4uuRRR4#VR8XdVPW4uuRRR4#VR8XdVP	W4uuRRR4#VR8XdVPW4uuRRR4#VR8XdVPuuRRR4#VR8XdVPuuRRR4#VR8XdVPuuRRR4#VR	8XdVPW4uuRRR4#\R
\V44VPuuRRR4# +'giR#;i)a�Dispatch a trace function for debugged frames based on the event.

This function is installed as the trace function for debugged
frames. Its return value is the new trace function, which is
usually itself. The default implementation decides how to
dispatch a frame, depending on the type of event (passed in as a
string) that is about to be executed.

The event can be one of the following:
    line: A new line of code is going to be executed.
    call: A function is about to be called or another code block
          is entered.
    return: A function or other code block is about to return.
    exception: An exception has occurred.
    c_call: A C function is about to be called.
    c_return: A C function has returned.
    c_exception: A C function has raised an exception.

For the Python events, specialized functions (see the dispatch_*()
methods) are called.  For the C events, no action is taken.

The arg parameter depends on the previous event.
Nrrrr�c_call�c_exception�c_returnrz*bdb.Bdb.dispatch: unknown debugging event:)
r��quitting�
dispatch_line�
dispatch_call�dispatch_return�dispatch_exceptionr��dispatch_opcode�print�repr)r(r]rA�args&&&&rr��Bdb.trace_dispatchsA��2�
 �
 ��
'�
'��}�}�}��(�
'�����)�)�%�0�	(�
'�
����)�)�%�5�
(�
'��� ��+�+�E�7�(�
'���#��.�.�u�:�(�
'��� ��*�*�(�
'��
�%��*�*�(�
'��
�"��*�*�!(�
'�"�� ��+�+�E�7�%(�
'�&
�>��U��L��&�&�)(�
'�
'�
'�s@�E$�E$�E$�<E$�E$�E$�E$�:E$�E$�9 E$�$E5	c���VPV4'gVPV4'dsVPV8XdVPVP8XgGVPV4VP
4VP'd\hVP#VPVPPVP4'gVP4VP#)z�Invoke user function and return trace function for line event.

If the debugger stops on the current line, invoke
self.user_line(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
)�	stop_here�
break_herer�r��f_lineno�	user_linerOr�r�	get_breakr��co_filenamerKr�r�s&&rr��Bdb.dispatch_line0s���
�N�N�5�!�!�T�_�_�U�%;�%;��M�M�U�"�t�~�~����'G��N�N�5�!����!��}�}�}�G�m�}��"�"�"������� 8� 8�%�.�.�I�I��&�&�(��"�"�"rc���VPfVPVnVP#VPV4'g*VP	V4'gVP4R#VP'd4VPP\,'d
VP#VPW4VP4VP'd\hVP#)z�Invoke user function and return trace function for call event.

If the debugger stops on this function call, invoke
self.user_call(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
N)r�rUr�r��break_anywhererK�	stopframer��co_flags�GENERATOR_AND_COROUTINE_FLAGS�	user_callrOr�r�r(r]r�s&&&rr��Bdb.dispatch_callDs����=�=� �!�L�L�D�M��&�&�&����u�%�%��)<�)<�U�)C�)C�
�&�&�(���>�>�>�e�l�l�3�3�6S�S�S��&�&�&����u�"������=�=�=��-��"�"�"rc�d�VPV4'gWP8Xd�VP'dEVPP\
,'dVP
V4VP#WnVPW4VP4RVnVP'd\hVPVJd$VPR8wdVPRR4VPR8wdVP
V4VP# RTni;i)z�Invoke user function and return trace function for return event.

If the debugger stops on this function return, invoke
self.user_return(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
Nr�)r��returnframer�r�r�r��_set_caller_tracefuncr�r��user_returnrOr�r�
stoplinenor�r�s&&&rr��Bdb.dispatch_return`s����>�>�%� � �E�-=�-=�$=��~�~�~�%�,�,�"7�"7�:W�"W�"W��*�*�5�1��*�*�*�
,�',�$�� � ��,��#�#�%�'+��$��}�}�}�G�m��~�~��&�4�?�?�b�+@��"�"�4��.����"�$��*�*�5�1��"�"�"��(,��$�s�?'D&�&	D/c��VPV4'd�VPP\,'dV^,\JdV^,e:VPW4VP
4VP'd\hVP#VP'd�WPJd�VPPP\,'dRV^,\\39d:VPW4VP
4VP'd\hVP#)z�Invoke user function and return trace function for exception event.

If the debugger stops on this exception, invoke
self.user_exception(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.
)r�r�r�r��
StopIteration�user_exceptionrOr�rr��
GeneratorExitr�r�s&&&rr��Bdb.dispatch_exceptions����>�>�%� � ��L�L�)�)�,I�I�I��A��-�/�C��F�N��#�#�E�/��#�#�%��=�=�=��-��"�"�"��n�n�n��n�n�!<��N�N�)�)�2�2�5R�R�R���F�}�m�<�<�����+����!��}�}�}�G�m��"�"�"rc��VPV4VP4VP'd\hVP#)a�Invoke user function and return trace function for opcode event.
If the debugger stops on the current opcode, invoke
self.user_opcode(). Raise BdbQuit if self.quitting is set.
Return self.trace_dispatch to continue tracing in this scope.

Opcode event will always trigger the user callback. For now the only
opcode event is from an inline set_trace() and we want to stop there
unconditionally.
)�user_opcoderOr�rr�r�s&&&rr��Bdb.dispatch_opcode�s7��	
����������=�=�=��-��"�"�"rc�v�VfR#VPF"p\P!W4'gK!R#	R#)z4Return True if module_name matches any skip pattern.FT)r��fnmatch)r(�module_name�patterns&& r�is_skipped_module�Bdb.is_skipped_module�s0������y�y�G����{�4�4��!�rc�,�VP'd3VPVPPR44'dR#WPJd-VP
R8XdR#VPVP
8�#VP'gR#R#)z>Return True if frame is below the starting frame in the stack.rFTr�)r�r�	f_globalsr�r�r�r�r�s&&rr��
Bdb.stop_here�sk���9�9�9��%�%�e�o�o�&9�&9�*�&E�F�F���N�N�"����"�$���>�>�T�_�_�4�4��~�~�~��rc���VPVPP4pW P9dR#VPpW0PV,9d0VPP
pW0PV,9dR#\
W#V4wrEV'dRVPVnV'd7VP'd%VP\VP44R#R#)z�Return True if there is an effective breakpoint for this line.

Check for line or function breakpoint and if in effect.
Delete temporary breakpoints if effective() says to.
FT)r�r�r�r�r��co_firstlineno�	effective�number�	currentbp�	temporary�do_clear�str)r(r]r�r��bp�flags&&    rr��Bdb.break_here�s����<�<���� 8� 8�9���;�;�&���������X�.�.��\�\�0�0�F��[�[��2�2���x��7�
��
��Y�Y�D�N�������
�
�c�"�)�)�n�-��rc��\R4h)z\Remove temporary breakpoint.

Must implement in derived classes or get NotImplementedError.
z)subclass of bdb must implement do_clear())�NotImplementedError)r(r�s&&rr�Bdb.do_clear�s��
"�"M�N�Nrc���VPVPP4pW P9dR#VPV,FpVP	W14'gKR#	R#)z=Return True if there is any breakpoint in that frame
        FT)r�r�r�r��_lineno_in_frame)r(r]r�r�s&&  rr��Bdb.break_anywhere�sX���<�<���� 8� 8�9���;�;�&���k�k�(�+�+�F��$�$�V�3�3��,�rc���VPpWP8dR#W0P9d.\RVP	444VPV&WPV,9#)zFReturn True if the line number is in the frame's code object.
        Fc3�,"�TF
wrVx�K	R#5irNr
)�.0�_r�s&  r�	<genexpr>�'Bdb._lineno_in_frame.<locals>.<genexpr>�s���)U�_�\�Q��&�_�s�)r�rr�r��co_lines)r(r�r]rhs&&& rr�Bdb._lineno_in_frame�s]���|�|���'�'�'���(�(�(�&)�)U�T�]�]�_�)U�&U�D���d�#��*�*�4�0�0�0rc��R#)z&Called if we might stop in a function.Nr
)r(r]�
argument_lists&&&rr��
Bdb.user_call���rc��R#)z'Called when we stop or break at a line.Nr
r�s&&rr��
Bdb.user_liner)rc��R#)z&Called when a return trap is set here.Nr
)r(r]�return_values&&&rr��Bdb.user_return	r)rc��R#)z$Called when we stop on an exception.Nr
)r(r]�exc_infos&&&rr��Bdb.user_exception
r)rc��R#)z.Called when we are about to execute an opcode.Nr
r�s&&rr�Bdb.user_opcoder)rc��WP8wdkWnVPpVe%WnW PJdMVPpK(VP
'dVP
P
4R#R#R#rN)r�r�r�r�rUr�r:)r(r�r]s&& r�_set_trace_opcodes�Bdb._set_trace_opcodessg���.�.�.�!.���O�O�E��#�(5�%��M�M�)�������%�%�%��&�&�:�:�<�&�/rc�r�WnW nRVnW0nWPnW`nVP
V4R#)z�Set the attributes for stopping.

If stoplineno is greater than or equal to 0, then stop at line
greater than or equal to the stopline.  If stoplineno is -1, then
don't stop at all.
FN)r�r�r�r�r�r�r5)r(r�r�r�rr�r�s&&&&&&&rr��Bdb._set_stopinfo!s7��#��&����
�%��!�
�"������'rc��VPpV'd9VP'g%W PJdVPVnR#R#R#R#rN)rUrVr�r�)r(�
current_frame�caller_frames&& rr��Bdb._set_caller_tracefunc5s?��%�+�+���� 4� 4� 4��]�]�9Z�#'�#6�#6�L� �:[� 4�<rc�X�VfVP^,pVPWV4R#)zpStop when the line with the lineno greater than the current one is
reached or when returning from current frame.N)r�r�)r(r]r�s&&&r�	set_until�
Bdb.set_untilBs'���>��^�^�a�'�F����5��0rc
�n�VPRRVP\VPRR4R7R#)zStop after one line of code.Nr��r�r�)r�r�r7r's&r�set_step�Bdb.set_stepJs2��	
���4�����%,�T�_�_�j�$�%O�	�	Qrc�.�VPRRRR7R#)z!Stop before the next instruction.NT)r)r�r's&r�
set_stepinstr�Bdb.set_stepinstrPs�����4��d��3rc�B�VPVRWPR7R#)z2Stop on the next line in or below the given frame.NrA)r�r�r�s&&r�set_next�Bdb.set_nextTs�����5�$��.�.��Qrc��VPP\,'dVPWR4R#VPVPV4R#)z)Stop when returning from the given frame.Nr�)r�r�r�r�rUr�s&&r�
set_return�Bdb.set_returnXs<���<�<� � �#@�@�@����u�R�0����u�|�|�U�3rc��VP4Vf \P!4PpVP	4VPV4;_uu_4V'dRVPVnWnVPVP3VPV&RVn	VPpKYVP4RVn
RRR4VP4R# +'giL";i)z^Start debugging from frame.

If frame is not specified, debugging starts from caller's frame.
NT)rHrrTrUr�r�r�rVr�ryr�r�rEr�rDr�s&&r�	set_trace�
Bdb.set_trace_s���
	
�����=��M�M�O�*�*�E��
�
��
�
 �
 ��
'�
'�� $� 3� 3��
� %�
�9>�9L�9L�e�Nc�Nc�8d��.�.�u�5�&*��#�������� �"�D�O�(�	
����(�
'�s�C(�&A(C(�(C8	c���VPVPRR4VP'g�VP4\P
!4PpV'd WPJdV=VPpK'VPP4Fwpwr#W#uVn
VnK	VPR8XdVPP4/VnR#R#)zpStop only at breakpoints or when finished.

If there are no breakpoints, set the system trace function to None.
Nrr�)r�r�r�rHrrTrUrVr�r5ryr�r�r�r:)r(r]�trace_linesr�s&   r�set_continue�Bdb.set_continuets���	
���4�=�=�$��3��{�{�{��O�O���M�M�O�*�*�E��E���6��M�����7;�7U�7U�7[�7[�7]�3��3��=H�:��#�U�%:�8^��|�|�|�+��&�&�:�:�<�-/�D�*�rc�d�VPVnRVnRVnVP	4R#)zeSet quitting attribute to True.

Raises BdbQuit exception in the next call to a dispatch_*() method.
NT)r�r�r�r�rHr's&r�set_quit�Bdb.set_quit�s(��
����������
����rc�p�VPPV.4pW#9dVPV4R#R#)z/Add breakpoint to breaks, if not already there.N)r��
setdefault�append)r(r�r��
bp_linenoss&&& r�_add_to_breaks�Bdb._add_to_breaks�s1���[�[�+�+�H�b�9�
��#����f�%�$rc�F�VPV4p^RIpVPW4pV'gRW3,#VPW4\	WW4V4pVP
p	V	'd7VP
V	4'dVPV	nV	Pp	K>R#)z�Set a new breakpoint for filename:lineno.

If lineno doesn't exist for the filename, return an error message.
The filename should be in canonical form.
NzLine %s:%d does not exist)
r�r��getliner[rr�r�r�rVrU)
r(r�r�r�cond�funcnamer�rrr]s
&&&&&&    r�	set_break�
Bdb.set_break�s����<�<��)���� � ��2���.�(�1C�C�C����H�-�
��)�8�
D��������"�"�5�)�)� $� 3� 3��
��L�L�E�rc�v�\PP4FwrVPW4K	R#)a'Apply all breakpoints (set in other instances) to this one.

Populates this instance's breaks list from the Breakpoint class's
list, which can have breakpoints set by another Bdb instance. This
is necessary for interactive sessions to keep the breakpoints
active across multiple calls to run().
N)r�bplist�keysr[�r(r�r�s&  rr��Bdb._load_breaks�s.��#-�"3�"3�"8�"8�":��X�����1�#;rc���W3\P9d#VPV,PV4VPV,'gVPVR#R#)z�Prune breakpoints for filename:lineno.

A list of breakpoints is maintained in the Bdb instance and in
the Breakpoint class.  If a breakpoint in the Bdb instance no
longer exists in the Breakpoint class, then it's removed from the
Bdb instance.
N)rrdr��removerfs&&&r�
_prune_breaks�Bdb._prune_breaks�sL��
��Z�%6�%6�6��K�K��!�(�(��0��{�{�8�$�$����H�%�%rc�*�VPV4pWP9d
RV,#W PV,9dRW3,#\PW3,R,FpVP	4K	VPW4R#)z^Delete breakpoints for filename:lineno.

If no breakpoints were set, return an error message.
�There are no breakpoints in %szThere is no breakpoint at %s:%d:NNNN)r�r�rrd�deleteMerj)r(r�r�rs&&& r�clear_break�Bdb.clear_break�s���
�<�<��)���;�;�&�3�h�>�>����X�.�.�4��7I�I�I��#�#�H�$4�5�a�8�8�B��K�K�M�9����8�,�rc���VPV4pTP4TP	TP
TP4R# \dp\T4uRp?#Rp?ii;i)zhDelete a breakpoint by its index in Breakpoint.bpbynumber.

If arg is invalid, return an error message.
N)�get_bpbynumberr2rrnrj�filer)r(r�r�errs&&  r�clear_bpbynumber�Bdb.clear_bpbynumber�sX��
	��$�$�S�)�B�	���
����2�7�7�B�G�G�,���	�	��s�8�O��	�s�A�A+�
A&� A+�&A+c�
�VPV4pWP9d
RV,#VPV,F4p\PW3,pVFpVP	4K	K6	VPVR#)zPDelete all breakpoints in filename.

If none were set, return an error message.
rmN)r�r�rrdrn)r(r�r�blistrs&&   r�clear_all_file_breaks�Bdb.clear_all_file_breaks�ss��
�<�<��)���;�;�&�3�h�>�>��K�K��)�)�D��%�%�h�n�5�E������
��*�
�K�K��!�rc��VP'gR#\PFpV'gK
VP4K	/VnR#)zMDelete all existing breakpoints.

If none were set, return an error message.
zThere are no breakpointsN)r�r�
bpbynumberrn)r(rs& r�clear_all_breaks�Bdb.clear_all_breaks�s:��
�{�{�{�-��'�'�B��r����
�(����rc�(�V'g\R4h\V4p\PT,pTf\RT,4hT# \d\RT,4Rhi;i \d\RT,4Rhi;i)z�Return a breakpoint by its index in Breakpoint.bybpnumber.

For invalid arg values or if the breakpoint doesn't exist,
raise a ValueError.
zBreakpoint number expectedz Non-numeric breakpoint number %sNz!Breakpoint number %d out of rangezBreakpoint %d already deleted)r2�intrr|�
IndexError)r(r�rrs&&  rrr�Bdb.get_bpbynumber	s�����9�:�:�	Q���X�F�	U��&�&�v�.�B��:��<�v�E�F�F��	���	Q��?�#�E�F�D�P�	Q���	U��@�6�I�J�PT�T�	U�s�A�A2�A/�2Bc�z�VPV4pWP9;'dW PV,9#)z9Return True if there is a breakpoint for filename:lineno.�r�r�rfs&&&rr��
Bdb.get_breaks8���<�<��)���;�;�&�,�,��k�k�(�+�+�	,rc���VPV4pWP9;'d>W PV,9;'d!\PW3,;'g.#)z^Return all breakpoints for filename:lineno.

If no breakpoints are set, return an empty list.
)r�r�rrdrfs&&&r�
get_breaks�Bdb.get_breaks#sb��
�<�<��)���;�;�&�0�0��k�k�(�+�+�0�0����h�.�/�6�6�35�	6rc�n�VPV4pWP9dVPV,#.#)zbReturn all lines with breakpoints for filename.

If no breakpoints are set, return an empty list.
r�)r(r�s&&r�get_file_breaks�Bdb.get_file_breaks-s0��
�<�<��)���{�{�"��;�;�x�(�(��Irc��VP#)z$Return all breakpoints that are set.)r�r's&r�get_all_breaks�Bdb.get_all_breaks8s���{�{�rc���.pV'dVPVJd
VPpVe;VPWP34WPJdMVP
pK>VP
4\^\V4^,
4pVe6VPVPVP34VPpK9Vf\^\V4^,
4pW43#)z�Return a list of (frame, lineno) in a stack trace and a size.

List starts with original calling frame, if there is one.
Size may be number of frames above or below f.
)
r�r�rYr�r�rU�reverse�max�len�	tb_lineno)r(�f�t�stack�is&&&  r�	get_stack�
Bdb.get_stack?s���������q���	�	�A��m��L�L�!�Z�Z��)��M�M�!�����A�
�
�
����3�u�:��>�"���m��L�L�!�*�*�a�k�k�2�3��	�	�A��9��A�s�5�z�A�~�&�A��x�rc�>�^RIp^RIpVwrVVPVPP4pV:RV:R2pVPP
'dW�PP
,
pM	VR,
pVR,
pRVP9d4VPR,p	VR,
pW�PV	4,
pVeDVPWvVP4p
V
'dW�V
P4,,
pV#W�R2,
pV#)	aReturn a string with information about a stack entry.

The stack entry frame_lineno is a (frame, lineno) tuple.  The
return string contains the canonical filename, the function name
or '<lambda>', the input arguments, the return value, and the
line of code (if it exists).

N�(�)z<lambda>z()�
__return__z->zWarning: lineno is None)r��reprlibr�r�r��co_namer�r�r^r�strip)r(�frame_lineno�lprefixr�r�r]r�r��s�rvrs&&&        r�format_stack_entry�Bdb.format_stack_entryVs���	"�$�
���<�<���� 8� 8�9�� �&�)���<�<����
���%�%�%�A�
��O�A�	�T�	���5�>�>�)�����-�B�
��I�A�
���b�!�!�A����$�$�X�u���G�D���t�z�z�|�+�+����
�9�3�4�4�A��rc�`�VPR8XdVPP4R#R#)zDisable the current event.rN)r�r�rKr's&rrK�Bdb.disable_current_eventts%���<�<�<�'��"�"�8�8�:�(rc�`�VPR8XdVPP4R#R#)zRestart all events.rN)r�r�rOr's&rrO�Bdb.restart_eventsys%���<�<�<�'��"�"�1�1�3�(rc�b�Vf^RIpVPpVfTpVP4\V\4'd\VRR4pVP
4\WV4RVn	VP4R# \dL&i;i RTn	TP4i;i)ztDebug a statement executed via the exec() function.

globals defaults to __main__.dict; locals defaults to globals.
Nz<string>�execT)�__main__�__dict__r��
isinstancer�compilerDr�rr�rH)r(�cmd�globals�localsr�s&&&& r�run�Bdb.run�s���
�?���'�'�G��>��F��
�
���c�3����#�z�6�2�C�����	���v�&�!�D�M��O�O���	�	��	��!�D�M��O�O��s$�B�B�B�B�B�B.c�L�Vf^RIpVPpVfTpVP4VP4\	WV4RVnVP
4# \dMi;iRTnTP
4R# RTnTP
4i;i)zvDebug an expression executed via the eval() function.

globals defaults to __main__.dict; locals defaults to globals.
NT)r�r�r�rD�evalr�rHr)r(�exprr�r�r�s&&&& r�runeval�Bdb.runeval�s���
�?���'�'�G��>��F��
�
������	���v�.�!�D�M��O�O���	�	��	��� �D�M��O�O���!�D�M��O�O��s#�A�A-�*B
�,A-�-B
�
B#c�*�VPWV4R#)z.For backwards-compatibility.  Defers to run().N)r�)r(r�r�r�s&&&&r�runctx�
Bdb.runctx�s��	
����v�&rc���VP4VP4RpV!V/VBpRVnVP	4V# \dL&i;i RTnTP	4i;i)zGDebug a single function call.

Return the result of the function call.
NT)r�rDrr�rH)r(r_r\�kwds�ress""*, r�runcall�Bdb.runcall�sr��
	
�
�
��������	���%��%�C�!�D�M��O�O���
���	��	��!�D�M��O�O��s#�A�A�A�A�A�A/)r�r�r�r�r�r�rr�r�r�r�r�r�r�r�r�r�r�)Nr�)rRFNNrN�FNN)z: �NN)?rrr
rrr)r�rDrHr�rr�r�r�r�r�r�r�rr�r�rr�rr�r�r�r�rr5r�r�r>rBrErHrKrNrRrUr[rar�rjroruryr}rrr�r�r�r�r�r�rKrOr�r�r�r�rr�r�s@rrr�s5������*�".��'�����
-'�^#�(#�8#�>#�:
#�&�
��6O�	�1�
�
�
�
�
�
=�(�(7�1�Q�4�R�4��*0�(�"&��0	2�&��"�
���(,�6�	���.�<;�
4��,�('��rc�6�\4P4R#)z<Start debugging with a Bdb instance from the caller's frame.N)rrNr
rrrNrN�s���E�O�O�rc�ta�]tRtRtoRt^t/tR.tR
Rlt]	R4t
RtRtRt
RR	ltR
tRtRtVtR#)ri�adBreakpoint class.

Implements temporary breakpoints, ignore counts, disabling and
(re)-enabling, and conditionals.

Breakpoints are indexed by number through bpbynumber and by
the (file, line) tuple using bplist.  The former points to a
single instance of class Breakpoint.  The latter points to a
list of such instances since there may be more than one
breakpoint per line.

When creating a breakpoint, its associated filename should be
in canonical form.  If funcname is defined, a breakpoint hit will be
counted when the first line of that function is executed.  A
conditional breakpoint always counts a hit.
Nc��WPnRVnWnW nW0nW@nRVn^Vn^Vn\PVn\;P^,
un
VPPV4W3VP9d&VPW3,PV4R#V.VPW3&R#)NT)r`�func_first_executable_linersrrr_�enabled�ignore�hitsr�nextrr|rYrd)r(rsrrr_r`s&&&&&&rr)�Breakpoint.__init__�s��� �
�*.��'��	��	�"���	���������	� �o�o������1��������t�$��<�4�;�;�&��K�K��
�#�*�*�4�0�'+�f�D�K�K��
�#rc�J�^\n/\nR.\nR#)�N)rr�rdr|r
rr�clearBreakpoints�Breakpoint.clearBreakpoints�s���
���
��!%��
�rc��VPVP3pRVPVP&VPV,PV4VPV,'gVPVR#R#)z�Delete the breakpoint from the list associated to a file:line.

If it is the last breakpoint in that position, it also deletes
the entry for the file:line.
N)rsrr|rrdri)r(�indexs& rrn�Breakpoint.deleteMe�s_�����D�I�I�&��'+�������$����E��!�!�$�'��{�{�5�!�!����E�"�"rc��RVnR#)zMark the breakpoint as enabled.TN�r�r's&r�enable�Breakpoint.enable
s	����rc��RVnR#)z Mark the breakpoint as disabled.FNr�r's&r�disable�Breakpoint.disables	����rc�d�Vf\Pp\VP4VR7R#)z}Print the output of bpformat().

The optional out argument directs where the output is sent
and defaults to standard output.
N)rs)r�stdoutr��bpformat)r(�outs&&r�bpprint�Breakpoint.bpprints"���;��*�*�C�
�d�m�m�o�C�(rc��VP'dRpMRpVP'dVR,pM	VR,pRVPVVPVP3,pVP
'dVRVP
:2,
pVP'dVRVP3,,
pVP'd3VP^8�dRpMR	pVR
VPV3,,
pV#)z�Return a string with information about the breakpoint.

The information includes the breakpoint number, temporary
status, file:line position, break condition, number of times to
ignore, and number of times hit.

zdel  zkeep zyes  zno   z%-4dbreakpoint   %s at %s:%dz
	stop only if z
	ignore next %d hitsr��z"
	breakpoint already hit %d time%s)rr�rrsrr_r�r�)r(�dispr^�sss&   rr��Breakpoint.bpformats����>�>�>��D��D��<�<�<��'�>�D��'�>�D�,����T�04�	�	�4�9�9�0F�F���9�9�9��D�I�I�7�7�C��;�;�;��,����~�=�=�C��9�9�9��y�y�1�}������9�T�Y�Y��O�K�K�C��
rc�Z�RVP:RVP:RVP:2#)z1Return a condensed description of the breakpoint.zbreakpoint z at �:)rrsrr's&r�__str__�Breakpoint.__str__=s��+/�;�;��	�	�4�9�9�M�Mr)
r_r�rsr�r`r�r�rrrr�rN)rrr
rrr�rdr|r)�staticmethodr�rnr�r�r�r�r�rr�r�s@rrr�s[�����(
�D�
�F���J�-�(�'��'�
#���)��<N�Nrc�6�VP'g VPVP8wdR#R#VPPVP8wdR#VP
'gVPVnVP
VP8wdR#R#)aBReturn True if break should happen here.

Whether a break should happen depends on the way that b (the breakpoint)
was set.  If it was set via line number, check if b.line is the same as
the one in the frame.  If it was set via function name, check if this is
the right function and if it is on the first executable line.
FT)r`rr�r�r�r�)�br]s&&r�
checkfuncnamer�Dsr��
�:�:�:��6�6�U�^�^�#���
�|�|���q�z�z�)��
�'�'�'�',�~�~��$��#�#�u�~�~�5��rc�6�\PW3,pVF�pVP'gK\WB4'gK*V;P^,
unVP
'g3VP^8�dV;P^,unK�VR3u#\VP
VPVP4pV'd3VP^8�dV;P^,unK�VR3u#K�	R# TR3uu#;i)aReturn (active breakpoint, delete temporary flag) or (None, None) as
breakpoint to act upon.

The "active breakpoint" is the first entry in bplist[line, file] (which
must exist) that is enabled, for which checkfuncname is True, and that
has neither a False condition nor a positive ignore count.  The flag,
meaning that a temporary breakpoint should be deleted, is False only
when the condiion cannot be evaluated (in which case, ignore count is
ignored).

If no such entry exists, then (None, None) is returned.
TFr�)
rrdr�r�r�r_r�r�rr�)rsrr]�	possiblesr��vals&&&   rrrds����!�!�$�*�-�I�
���y�y�y���Q�&�&��	���!����v�v�v��x�x�!�|����A�
����4�y� �

"��1�6�6�5�?�?�E�N�N�C����x�x�!�|����A�
��!"�4�y�(��+�D���
"��5�z�!�s�#AD�D�Dc�8a�]tRtRtoRtRtRtRtRtVt	R#)�Tdbi�c�^�VPPpV'gRp\RW24R#)�???z+++ callN)r�r�r�)r(r]r\�names&&& rr��
Tdb.user_call�s"���|�|�#�#���E�T�
�j�$�%rc	�2�^RIpVPPpV'gRpVPVPP4pVPWAPVP4p\RWAPVRVP44R#)rRNr�z+++r�)
r�r�r�r�r�r^r�rr�r�)r(r]r�r��fnrs&&    rr��
Tdb.user_line�sg����|�|�#�#���E�T�
�\�\�%�,�,�2�2�
3��� � ��^�^�U�_�_�E��
�e�R����s�D�J�J�L�Arc��\RV4R#)z
+++ returnN�r�)r(r]rps&&&rr��Tdb.user_return�s��
�l�F�#rc�>�\RV4VP4R#)z
+++ exceptionN)r�rR)r(r]�	exc_stuffs&&&rr��Tdb.user_exception�s��
�o�y�)����rr
N)
rrr
rr�r�r�r�rr�r�s@rr�r��s����&�B�$��rr�c�\�\RVR4\V^
,4p\RV4R#)zfoo(r�zbar returnedN)r��bar)�n�xs& r�foor�s%��	�&�!�S���A�b�D�	�A�	�.�!�rc�.�\RVR4V^,#)zbar(r�r�)�as&rrr�s��	�&�!�S���Q�3�Jrc�<�\4pVPR4R#)zimport bdb; bdb.foo(10)N)r�r�)r�s r�testr	�s����A��E�E�
#�$r)rrr)rrrr-r�r��
contextlibr�inspectrrr�__all__r��	Exceptionrrr3r?rrrNrr�rr�rrr	r
rr�<module>rs�����
��	��%�B�B�
*�� ,�|� ;�>P� P��+�i�+��N�N����[�[�|N�N�b�
uN�uN�t�@0�j�#��$�
�%r

Youez - 2016 - github.com/yon3zu
LinuXploit