KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21572/root/usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21572/root/usr/lib64/python2.4/dis.pyc
mò
‚=5Dc@s»dZdkZdkZdkTdklZddddgeZ[dd„Zdd	„Zd
d„Z	d
dddd„Z
e	Zd
„Zd„Z
d„ZedjoeƒndS(s0Disassembler of Python byte code into mnemonics.N(t*(s__all__tdistdisassembletdistbtdiscocCs{|djotƒdSnt|ƒtijo
|i}nt|dƒo
|i}nt|dƒo
|i	}nt|dƒoœ|i
iƒ}|iƒxÒ|D]t\}}t|ƒtitititifjo=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(txtNoneRttypettypestInstanceTypet	__class__thasattrRRRtitemstsorttnametx1t
MethodTypetFunctionTypetCodeTypet	ClassTypeRt	TypeErrortmsgRt
isinstancetstrtdisassemble_stringt__name__(R	RRRR((t/usr/lib64/python2.4/dis.pyRs6




+	
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(ttbR
tsystlast_tracebacktAttributeErrortRuntimeErrorttb_nextRttb_frametf_codettb_lasti(R((RR2s


iÿÿÿÿcCs}|i}t|ƒ}tt|ƒƒ}t|ƒ}
d}	d}d}x1|	|
jo#||	}t|ƒ}|	|jo"|	djoHnd||	GndG|	|jodGndG|	|jodGndGt|	ƒidƒGt|idƒG|	d	}	|tjoht||	ƒt||	d	ƒd
|}d}|	d}	|tjo|d}nt|ƒid
ƒG|tjodt|i|ƒdGqs|tjod|i|dGqs|tjodt|	|ƒdGqs|tjod|i|dGqs|t jodt!|dGqs|t"jo5|djo|i#|i$}nd||dGqsnHqHWdS(sDisassemble a code object.is%3ds   s-->s>>s  iiiiilit(t)s(to N(%tcoRtcodet
findlabelstlabelstdicttfindlinestartst
linestartstlentntitextended_argR
tfreetctordtoptlastitreprtrjusttopnametljustt
HAVE_ARGUMENTtopargtEXTENDED_ARGthasconstt	co_conststhasnametco_namesthasjrelthaslocaltco_varnamest
hascomparetcmp_opthasfreetco_cellvarstco_freevars(R*R9R4R+R-R0R6R?R5R3R2R8((RR<s`	







*








cCsòt|ƒ}t|ƒ}	d}xÍ||	jo¿||}t|ƒ}
||jodGndG||jodGndGt
|ƒidƒGt|
i
dƒG|d}|
tjo7t||ƒt||dƒd	}|d
}t
|ƒidƒG|
tjo-|odt
||ƒd
Gqäd|Gqè|
tjo-|dj	od||d
Gqäd|Gqè|
tjodt
||ƒd
Gqè|
tjo'|od||d
Gqäd|Gqè|
tjodt|d
GqènHq!WdS(Nis-->s   s>>s  iiiiiiR(R)s(%d)s(to (R,R+R-R1R2R3R6R7R8R9R:R;R<R=R>R?RAt	constantsRCtnamesR
RERFtvarnamesRHRI(R+R9RORNRMR-R?R6R3R2R8((RRmsJ





&






cCsùg}t|ƒ}d}xÚ||joÌ||}t|ƒ}|d}|tjo›t||ƒt||dƒd}|d}d}|tjo||}n|tjo
|}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ÿÿÿÿN(R-R1R+R2R3R6R7R8R>R?tlabelREthasjabstappend(R+R6R3R-R2R?RPR8((RR,—s*



&





c
csg}|iddd…D]}|t|ƒq~}g}|iddd…D]}|t|ƒqR~}d}|i	}d}x]t||ƒD]L\}	}|	o/||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_[1]R+t	co_lnotabR6R7tbyte_incrementstline_incrementsR
t
lastlinenotco_firstlinenotlinenotaddrtzipt	byte_incrt	line_incr(
R+R6RZRSRVR]RYRURWR\((RR/±s 77	



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(R targvtstderrtwritetexittfnR
tstdintftopentreadtsourcetclosetcompileR+R(R+RfRiRd((Rt_testÇs$



t__main__(t__doc__R Rtopcodet__all__t_opcodes_allR
RRRRRR,R/RlR(RpRR,RRR RqR/RRlRR((Rt?s 		
&
1(			


Anon7 - 2021