403Webshell
Server IP : 43.141.49.119  /  Your IP : 113.219.202.141
Web Server : Apache
System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64
User : www ( 1000)
PHP Version : 8.1.27
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/gdb/python/gdb/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/gdb/python/gdb/__pycache__/unwinder.cpython-311.pyc
�

��e&��6�dZddlZGd�de��Zdd�ZdS)z.Unwinder class and register_unwinder function.�Nc��eZdZdZd�Zd�ZdS)�UnwinderaBase class (or a template) for frame unwinders written in Python.

    An unwinder has a single method __call__ and the attributes
    described below.

    Attributes:
        name: The name of the unwinder.
        enabled: A boolean indicating whether the unwinder is enabled.
    c�"�||_d|_dS)z\Constructor.

        Args:
            name: An identifying name for the unwinder.
        TN)�name�enabled)�selfrs  �%/usr/share/gdb/python/gdb/unwinder.py�__init__zUnwinder.__init__ s����	������c� �td���)z�GDB calls this method to unwind a frame.

        Arguments:
            pending_frame: gdb.PendingFrame instance.

        Returns:
            gdb.UnwindInfo instance.
        zUnwinder __call__.)�NotImplementedError)r�
pending_frames  r	�__call__zUnwinder.__call__)s��"�"6�7�7�7rN)�__name__�
__module__�__qualname__�__doc__r
r�rr	rrs<�����������	8�	8�	8�	8�	8rrFc�V�|�8tjd��rtjd|jz��t}n}t	|tj��st	|tj��r:tjd��r%tjd|j�d|j�d���ntd���d}|j	D]9}|j|jkr"|r	|j	|=ntd	|jz���|d
z
}�:|j	�d|��tj��dS)a~Register unwinder in given locus.

    The unwinder is prepended to the locus's unwinders list. Unwinder
    name should be unique.

    Arguments:
        locus: Either an objfile, progspace, or None (in which case
               the unwinder is registered globally).
        unwinder: An object of a gdb.Unwinder subclass
        replace: If True, replaces existing unwinder with the same name.
                 Otherwise, raises exception if unwinder with the same
                 name already exists.

    Returns:
        Nothing.

    Raises:
        RuntimeError: Unwinder name is not unique
        TypeError: Bad locus type
    N�verbosez#Registering global %s unwinder ...
zRegistering z unwinder for z ...
z4locus should be gdb.Objfile or gdb.Progspace or NonerzUnwinder %s already exists.�)
�gdb�	parameter�writer�
isinstance�Objfile�	Progspace�filename�	TypeError�frame_unwinders�RuntimeError�insert�invalidate_cached_frames)�locus�unwinder�replace�i�needles     r	�register_unwinderr)5s>��*
�}��=��#�#�	N��I�<�x�}�L�M�M�M����	�E�3�;�	'�	'�P�:�e�S�]�+K�+K�P��=��#�#�	��I�I�:B�-�-�-�����X�
�
�
���N�O�O�O�	�A��'�����;�(�-�'�'��
R��)�!�,�,�"�#@�8�=�#P�Q�Q�Q�	�Q����	�� � ��H�-�-�-�� �"�"�"�"�"r)F)rr�objectrr)rrr	�<module>r+s_�� 5�4�
�
�
�
�8�8�8�8�8�v�8�8�8�@*#�*#�*#�*#�*#�*#r

Youez - 2016 - github.com/yon3zu
LinuXploit