403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.141
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:/Python313/Lib/test/test_gdb/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/test/test_gdb/__pycache__/test_backtrace.cpython-313.opt-2.pyc
�

��i&��`�SSKrSSKrSSKJr SSKJr SSKJrJrJ	r	J
r
 Sr"SS\5rg)	�N)�support)�python_is_optimized�)�setup_module�
DebuggerTests�CET_PROTECTION�
SAMPLE_SCRIPTc��[5 g)N)r���1C:\Python313\\Lib\test\test_gdb\test_backtrace.py�setUpModuler	s���Nrc��\rSrSr\R
"\"5S5S5r\R
"\"5S5S5r\R
"\"5S5\	R"5\	R"S5S555r\R
"\"5S5S5r
\R
"\"5S5S5rS	rg
)�	PyBtTests�
z&Python was compiled with optimizationsc�R�UR[S/S9nURUS5 g)N�py-bt��script�cmds_after_breakpointaL^.*
Traceback \(most recent call first\):
  <built-in method id of module object .*>
  File ".*gdb_sample.py", line 10, in baz
    id\(42\)
  File ".*gdb_sample.py", line 7, in bar
    baz\(a, b, c\)
  File ".*gdb_sample.py", line 4, in foo
    bar\(a=a, b=b, c=c\)
  File ".*gdb_sample.py", line 12, in <module>
    foo\(1, 2, 3\)
��get_stack_tracer	�assertMultilineMatches��self�bts  r
�test_bt�PyBtTests.test_bts6���
!�
!��9@�	�"�C���#�#�B�%�	rc�R�UR[S/S9nURUS5 g)N�
py-bt-fullraD^.*
#[0-9]+ Frame 0x-?[0-9a-f]+, for file .*gdb_sample.py, line 7, in bar \(a=1, b=2, c=3\)
    baz\(a, b, c\)
#[0-9]+ Frame 0x-?[0-9a-f]+, for file .*gdb_sample.py, line 4, in foo \(a=1, b=2, c=3\)
    bar\(a=a, b=b, c=c\)
#[0-9]+ Frame 0x-?[0-9a-f]+, for file .*gdb_sample.py, line 12, in <module> \(\)
    foo\(1, 2, 3\)
rrs  r
�test_bt_full�PyBtTests.test_bt_full"s6���
!�
!��9E��"�H���#�#�B�%�	r�cpuc��SnURUS/S9nURSU5 URUS/S9nURSU5 g)NaN
from threading import Thread

class TestThread(Thread):
    # These threads would run forever, but we'll interrupt things with the
    # debugger
    def run(self):
        i = 0
        while 1:
             i += 1

t = {}
for i in range(4):
   t[i] = TestThread()
   t[i].start()

# Trigger a breakpoint on the main thread
id(42)

zthread apply all py-bt�rzWaiting for the GILzthread apply all py-bt-full�r�assertIn�r�cmd�
gdb_outputs   r
�test_threads�PyBtTests.test_threads2sg����*�)�)�#�AY�@Z�*�\�
��
�
�+�Z�8��)�)�#�A^�@_�*�a�
��
�
�+�Z�8rc��SnURU/SQS9nURSU5 URU/SQS9nURSU5 g)NzRfrom gc import collect
id(42)
def foo():
    collect()
def bar():
    foo()
bar()
)�break update_refs�continuerr%zGarbage-collecting)r.r/r r&r(s   r
�test_gc�PyBtTests.test_gcVsc�����)�)�#�@j�*�,�
�	
�
�
�*�J�7��)�)�#�@o�*�,�
�	
�
�
�*�J�7rc���[R"S5nSS/n[(aURS5 URS5 UR	UUS9nURUS5 g)Nz�
            class MyList(list):
                def __init__(self):
                    super(*[]).__init__()   # wrapper_call()

            id("first break point")
            l = MyList()
        zbreak wrapper_callr/�nextrr%z1<method-wrapper u?'__init__' of MyList object at )�textwrap�dedentr�appendr�assertRegex)rr)rr*s    r
�test_wrapper_call�PyBtTests.test_wrapper_callpsx���o�o��
��"6�z� B���>�
"�(�(��0��$�$�W�-��)�)�#�@U�*�W�
�����M�	OrrN)�__name__�
__module__�__qualname__�__firstlineno__�unittest�skipIfrrr!r�requires_gil_enabled�requires_resourcer+r0r8�__static_attributes__rrr
rr
s���
�_�_�(�*�=�?��?��$�_�_�(�*�=�?��?���_�_�(�*�=�?��!�!�#����u�%�9�&�$�?�9�@�_�_�(�*�=�?�
8�?�
8�*�_�_�(�*�=�?�O�?�Orr)
r4r>�testr�test.supportr�utilrrrr	rrrrr
�<module>rFs,�����,�L�L��zO�
�zOr

Youez - 2016 - github.com/yon3zu
LinuXploit