b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 104.21.65.202 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 /
Filename/usr/lib64/python2.6/dis.pyc
Size6.22 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 05:31
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc @sèdZddkZddkZddkTddklZddddgeZ[eieieiei e
fZ dd �Z
dd
�Zdd �Zddddd �ZeZd
�Zd�Zd�Zedjo e�ndS(s0Disassembler of Python byte code into mnemonics.iÿÿÿÿN(t*(t__all__tdist disassembletdistbtdiscocCs]|djo t�dSt|�tijo
|i}nt|d�o
|i}nt|d�o
|i}nt|d�o�|i i
�}|i �x·|D]Y\}}t |t
�o=d|GHyt|�Wntj
o}dG|GHnXHq¦q¦WnSt|d�ot|�n5t |t�ot|�ntdt|�i�dS( snDisassemble classes, methods, functions, or code.

With no argument, disassemble the last traceback.

Ntim_funct func_codet__dict__sDisassembly of %s:sSorry:tco_codes(don't know how to disassemble %s objects(tNoneRttypettypest InstanceTypet __class__thasattrRRRtitemstsortt
isinstancet
_have_codeRt TypeErrorRtstrtdisassemble_stringt__name__(txRtnametx1tmsg((s/usr/lib64/python2.6/dis.pyRs8




  
cCsr|djoKy
ti}Wntj
otd�nXx|io
|i}q<Wnt|ii|i �dS(s2Disassemble a traceback (default: last traceback).s no last traceback to disassembleN(
R
tsystlast_tracebacktAttributeErrort RuntimeErrorttb_nextRttb_frametf_codettb_lasti(ttb((s/usr/lib64/python2.6/dis.pyR2s


c Cs}|i}t|�}tt|��}t|�}d}d}d}x1||jo#||} t| �}
||jo"|djoHnd||GndG||jodGndG||jodGndGt|�id�Gt |
i
d�G|d }|
t joht||�t||d �d
|} d}|d }|
t jo| d }nt| �id
�G|
t
jodt|i| �dGqs|
tjod|i| dGqs|
tjodt|| �dGqs|
tjod|i| dGqs|
tjodt| dGqs|
tjo5|djo|i|i}nd|| dGqsnHqHWdS(sDisassemble a code object.is%3ds s-->s>>s iiiiilit(t)s(to N(R t
findlabelstdicttfindlinestartstlenR
tordtreprtrjusttopnametljustt
HAVE_ARGUMENTt EXTENDED_ARGthasconstt co_conststhasnametco_namesthasjrelthaslocalt co_varnamest
hascomparetcmp_opthasfreet co_cellvarst co_freevars( tcotlastitcodetlabelst
linestartstntit extended_argtfreetctoptoparg((s/usr/lib64/python2.6/dis.pyR<s^   

 





*








c Csòt|�}t|�}d}xÍ||jo¿||}t|�} ||jodGndG||jodGndGt|�id�Gt| id�G|d}| tjo7t||�t||d�d }
|d
}t|
�id �G| tjo-|od t||
�d
Gqäd|
Gqè| t jo-|dj od ||
d
Gqäd|
Gqè| t jodt||
�d
Gqè| t jo'|od ||
d
Gqäd|
Gqè| t
jod t|
d
GqènHq!WdS(Nis-->s s>>s iiiiiiR%R&s(%d)s(to (R'R*R+R,R-R.R/R0R2R4R
R6R7R9R:( R@R?tvarnamestnamest constantsRARCRDRGRHRI((s/usr/lib64/python2.6/dis.pyRmsJ  

 



&

 

 

 
cCsùg}t|�}d}xÚ||joÌ||}t|�}|d}|tjo�t||�t||d�d}|d}d}|tjo||}n|tjo
|}n|djo"||jo|i|�qìqðqqW|S(s`Detect all offsets in a byte code which are jump targets.

Return the list of offsets.

iiiiiÿÿÿÿ(R*R+R0R6thasjabstappend(R@RARCRDRGRHRItlabel((s/usr/lib64/python2.6/dis.pyR'�s( 

 

&





c csg}|iddd�D]}|t|�q~}g}|iddd�D]}|t|�qR~}d}|i}d}x^t||�D]M\} }
| o0||jo||fV|}n|| 7}n||
7}q�W||jo||fVndS(s�Find the offsets in a byte code which are start of lines in the source.

Generate pairs (offset, lineno) as described in Python/compile.c.

iNii(t co_lnotabR+R
tco_firstlinenotzip( R@t_[1]RGtbyte_incrementst_[2]tline_incrementst
lastlinenotlinenotaddrt byte_incrt line_incr((s/usr/lib64/python2.6/dis.pyR)±s77  
 

cCsætido_tido!tiid�tid�ntid}| p
|djo
d}qsnd}|djo
ti}n
t|�}|i�}|dj o|i �nd}t
||d�}t |�dS(s*Simple test program to disassemble a file.iisusage: python dis.py [-|file]
t-s<stdin>texecN( RtargvtstderrtwritetexitR
tstdintopentreadtclosetcompileR(tfntftsourceR@((s/usr/lib64/python2.6/dis.pyt_testÇs"


  
t__main__(t__doc__RR topcodeRt _opcodes_allt
MethodTypet FunctionTypetCodeTypet ClassTypeR RR
RRRRRR'R)RjR(((s/usr/lib64/python2.6/dis.pyt<module>s&  
 #
1  '