Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /proc/17567/root/usr/share/gdb/python/gdb/command/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/17567/root/usr/share/gdb/python/gdb/command/type_printers.pyc
�
�� Rc@s�ddlZddlZdejfd��YZdejfd��YZdefd��YZdefd	��YZe�e�e�dS(
i����NtInfoTypePrintercBs)eZdZd�Zd�Zd�ZRS(sUGDB command to list all registered type-printers.

    Usage: info type-printers
    cCs tt|�jdtj�dS(Nsinfo type-printers(tsuperRt__init__tgdbtCOMMAND_DATA(tself((s2/usr/share/gdb/python/gdb/command/type_printers.pyRscCs]ttj|�dd��}x8|D]0}|jr=d}nd}d|j|fGHq%WdS(sPrint a list of type printers.tkeycSs|jS(N(tname(tx((s2/usr/share/gdb/python/gdb/command/type_printers.pyt<lambda>%sts [disabled]s  %s%sN(tsortedtcopytenabledR(Rt
type_printerstsorted_type_printerstprinterR
((s2/usr/share/gdb/python/gdb/command/type_printers.pytlist_type_printers s
		cCs�d}xHtj�D]:}|jrd||jfGH|j|j�d}qqWtj�jr�d|GH|jtj�j�d}ntjr�d|GH|jtj�ndS(s&GDB calls this to perform the command.R
s%sType printers for %s:s
s"%sType printers for program space:s%sGlobal type printers:N(RtobjfilesRtfilenameRtcurrent_progspace(Rtargtfrom_ttytseptobjfile((s2/usr/share/gdb/python/gdb/command/type_printers.pytinvoke-s	
				(t__name__t
__module__t__doc__RRR(((s2/usr/share/gdb/python/gdb/command/type_printers.pyRs		
t_EnableOrDisableCommandcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCs)tt|�j|tj�||_dS(N(RRRRRtsetting(RRR((s2/usr/share/gdb/python/gdb/command/type_printers.pyR>scCs?t}x2|D]*}||jkr
|j|_t}q
q
W|S(N(tFalseRRR
tTrue(RRtprinterstresulttp((s2/usr/share/gdb/python/gdb/command/type_printers.pytset_someBs

cCs�x�|j�D]�}t}x2tj�D]$}|j||j�r&t}q&q&W|j|tj�j�rrt}n|j|tj�r�t}n|s
d|GHq
q
WdS(s&GDB calls this to perform the command.sNo type printer named '%s'N(tsplitRRRR$RR R(RRRRtokR((s2/usr/share/gdb/python/gdb/command/type_printers.pyRJs
		cCs:x3|D]+}|jj|�r|j|j�qqWdS(N(Rt
startswithtappend(RR"twordR!R#((s2/usr/share/gdb/python/gdb/command/type_printers.pytadd_someXs
cCsig}x*tj�D]}|j|||j�qW|j||tj�j�|j||tj�|S(N(RRR*RR(RttextR)R"R((s2/usr/share/gdb/python/gdb/command/type_printers.pytcomplete]s(RRRR$RR*R,(((s2/usr/share/gdb/python/gdb/command/type_printers.pyR=s
				tEnableTypePrintercBseZdZd�ZRS(s�GDB command to enable the specified type printer.

    Usage: enable type-printer NAME

    NAME is the name of the type-printer.
    cCstt|�jtd�dS(Nsenable type-printer(RR-RR (R((s2/usr/share/gdb/python/gdb/command/type_printers.pyRms(RRRR(((s2/usr/share/gdb/python/gdb/command/type_printers.pyR-estDisableTypePrintercBseZdZd�ZRS(s�GDB command to disable the specified type-printer.

    Usage: disable type-printer NAME

    NAME is the name of the type-printer.
    cCstt|�jtd�dS(Nsdisable type-printer(RR.RR(R((s2/usr/share/gdb/python/gdb/command/type_printers.pyRxs(RRRR(((s2/usr/share/gdb/python/gdb/command/type_printers.pyR.ps(RRtCommandRRR-R.(((s2/usr/share/gdb/python/gdb/command/type_printers.pyt<module>s'(

haha - 2025