GIF89a=( õ' 7IAXKgNgYvYx\%wh…hŽth%ˆs%—x¨}9®Œ©€&©‰%¶†(¹–.¹5·œD¹&Çš)ÇŸ5ǘ;Í£*È¡&Õ²)ׯ7×µ<Ñ»4ï°3ø‘HÖ§KͯT÷¨Yÿšqÿ»qÿÔFØ !ù ' !ÿ NETSCAPE2.0 , =( þÀ“pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§gª«ªE¯°¨¬ª±²Œ¹º¹E¾­”´ÂB¶¯ §Åȸ»ÑD¾¿Á•ÄÅ®° ÝH¾ÒLÀÆDÙ«D¶BÝïðÀ¾DÑÑÔTÌÍíH òGö¨A RÎڐ |¥ ٭&ºìE8œ¹kGÔAÞpx­a¶­ã R2XB®åE8I€Õ6Xî:vT)äžþÀq¦è³¥ì仕F~%xñ  4#ZÔ‰O|-4Bs‘X:= QÉ œš lºÒyXJŠGȦ|s hÏíK–3l7·B|¥$'7Jީܪ‰‡àá”Dæn=Pƒ ¤Òëí‰`䌨ljóá¯Éüv>á–Á¼5 ½.69ûϸd«­ºÀûnlv©‹ªîf{¬ÜãPbŸ  l5‘ޝpß ´ ˜3aÅùäI«O’ý·‘áÞ‡˜¾Æ‚ÙÏiÇÿ‹Àƒ #öó)pâš Þ½ ‘Ý{ó)vmÞü%D~ 6f s}ŃƒDØW Eþ`‡þ À…L8xá†ç˜{)x`X/> Ì}mø‚–RØ‘*|`D=‚Ø_ ^ð5 !_…'aä“OÚ—7âcð`D”Cx`ÝÂ¥ä‹éY¹—F¼¤¥Š?¡Õ™ n@`} lď’ÄÉ@4>ñd œ à‘vÒxNÃ×™@žd=ˆgsžG±æ ´²æud &p8Qñ)ˆ«lXD©øÜéAžHìySun jª×k*D¤LH] †¦§C™Jä–´Xb~ʪwStŽ6K,°£qÁœ:9ت:¨þªl¨@¡`‚ûÚ ».Û¬¯t‹ÆSÉ[:°=Š‹„‘Nåû”Ìî{¿ÂA ‡Rà›ÀÙ6úë°Ÿð0Ä_ ½;ÃϱîÉì^ÇÛÇ#Ëë¼ôº!±Ä˜íUîÅÇ;0L1óÁµö«p% AÀºU̬ݵ¼á%霼€‡¯Á~`ÏG¯»À× ­²± =4ªnpð3¾¤³¯­ü¾¦îuÙuµÙ®|%2ÊIÿür¦#0·ÔJ``8È@S@5ê¢ ö×Þ^`8EÜ]ý.뜃Âç 7 ú ȉÞj œ½Dç zý¸iþœÑÙûÄë!ˆÞÀl§Ïw‹*DçI€nEX¯¬¼ &A¬Go¼QföõFç°¯;é¦÷îŽêJ°îúôF5¡ÌQ|îúöXªæ»TÁÏyñêï]ê² o óÎC=öõ›ÒÓPB@ D×½œä(>èCÂxŽ`±«Ÿ–JЀ»Û á¤±p+eE0`ëŽ`A Ú/NE€Ø†À9‚@¤à H½7”à‡%B‰`Àl*ƒó‘–‡8 2ñ%¸ —€:Ù1Á‰E¸àux%nP1ð!‘ðC)¾P81lÑɸF#ˆ€{´âé°ÈB„0>±û °b¡Š´±O‚3È–Ù()yRpbµ¨E.Z‘D8ÊH@% òŒx+%Ù˜Æcü »¸˜fõ¬b·d`Fê™8èXH"ÉÈ-±|1Ô6iI, 2““¬$+](A*jÐ QTÂo‰.ÛU슬Œã„Ž`¯SN¡–¶Äåyše¯ª’­¬‚´b¦Éož œ)åyâ@Ì®3 ÎtT̉°&Ø+žLÀf"Ø-|žçÔ>‡Ðv¦Ðžì\‚ Q1)Ž@Žh#aP72”ˆ™¨$‚ !ù " , =( …7IAXG]KgNgYvYxR"k\%w]'}hŽth%ˆg+ˆs%—r.—m3šx3˜x¨}9®€&©€+¨‡7§‰%¶†(¹–.¹œD¹&ǘ;Í•&ײ)×»4ïÌ6ò§KÍ þ@‘pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g «¬ E ±± ¨­¶°ººE Á´”·®C¬²§Ç¶Œ»ÓDÃÕƷ¯Ê±H½ºM×ÁGÚ¬D¶BËÁ½î½DÓôTÏÛßîG»ôõC×CÌ l&âž:'òtU³6ɹ#·Ø)€'Ü.6±&ëÍÈ» K(8p0N?!æ2"ÛˆNIJX>R¼ÐO‚M '¡¨2¸*Ÿþ>#n↠å@‚<[:¡Iïf’ ¤TÚ˘CdbÜÙ“[«ŽEú5MBo¤×@€`@„€Êt W-3 ¶Ÿ¡BíêäjIÝ…Eò9[T…$íêﯧ„…•s»Óȳ¹€ÅÚdc®UUρ#±Ùïldj?´í¼²`\ŽÁðÞu|3'ÖŒ]ë6 ¶S#²‡˜FKLÈ *N E´‘áäŠ$˜›eÄYD„ºq«.è촁ƒs \-ÔjA 9²õ÷å- üúM[Âx(ís÷ì®x€|í¡Ù’p¦‚ ŽkÛTÇDpE@WÜ ²Ç]kŠ1¨ þ€·Yb ÓÁ‰l°*n0 ç™—žzBdОu¾7ĉBl€â‰-ºx~|UåU‰  h*Hœ|e"#"?vpÄiŠe6^ˆ„+qâŠm8 #VÇá ‘å–ÄV„œ|Аè•m"сœn|@›U¶ÆÎž—Špb¥G¨ED”€±Úê2FÌIç? >Éxå Œ± ¡¤„%‘žjŸ‘ꄯ<Ìaà9ijÐ2˜D¦È&›†Z`‚å]wþ¼Â:ç6àB¤7eFJ|õÒ§Õ,¨äàFÇ®cS·Ê¶+B°,‘Þ˜ºNûãØ>PADÌHD¹æž«ÄÀnÌ¥}­#Ë’ë QÀÉSÌÂÇ2ÌXÀ{æk²lQÁ2«ÊðÀ¯w|2Í h‹ÄÂG€,m¾¶ë3ÐÙ6-´ÅE¬L°ÆIij*K½ÀÇqï`DwVÍQXœÚÔpeœ±¬Ñ q˜§Tœ½µƒ°Œìu Â<¶aØ*At¯lmEØ ü ôÛN[P1ÔÛ¦­±$ÜÆ@`ùåDpy¶yXvCAyåB`ŽD¶ 0QwG#¯ æš[^Äþ $ÀÓÝǦ{„L™[±úKÄgÌ;ï£S~¹ìGX.ôgoT.»åˆ°ùŸûù¡?1zö¦Ÿž:ÅgÁ|ìL¹ „®£œŠ‚à0œ]PÁ^p F<"•ç?!,ñ‡N4—…PÄ Á„ö¨Û:Tè@hÀ‹%táÿ:ø-žI<`þ‹p I….)^ 40D#p@ƒj4–؀:²‰1Øâr˜¼F2oW¼#Z†;$Q q” ‘ ÂK¦ñNl#29 !’F@¥Bh·ᏀL!—XFóLH‘Kh¤.«hE&JòG¨¥<™WN!€ÑÙÚˆY„@†>Œž19J" 2,/ &.GXB%ÌRÈ9B6¹W]’î×ÔW¥’IÎ$ ñ‹ÓŒE8YÆ ¼³™ñA5“à®Q.aŸB€&Ø©³ JÁ—! ¦t)K%tœ-¦JF bòNMxLôþ)ÐR¸Ð™‘ èÝ6‘O!THÌ„HÛ ‰ !ù ) , =( …AXKgNgYvYxR"k\%wh…hŽh%ˆg+ˆs%—r.—x3˜x¨}9®€&©€+¨Œ,©‡7§‰%¶†(¹–.¹5·&Çš)ǘ;Í•&×£*Ȳ)ׯ7×»4ï°3øÌ6ò‘HÖ§KÍ»Hó¯T÷¨Yÿ»qÿÇhÿ þÀ”pH,È¤rÉl:ŸÐ¨tJ­Z¯Ø¬vËíz¿à°xL.›Ïè´zÍn»ßð¸|N¯Ûïø¼~Ïïûÿ€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§g ª« E$±²¨ª­ · °²½$E$ÂÕ««D· Í ¿¦Ç¶¸ÌŒ¾³CÃÅÆ E ééH½MÛÂGâªD­ çBêêϾD²ÒaÀà€Š1r­ðÓ¤ ÔožzU!L˜C'¾yW½UGtäÇïÙllê0×àÂuGþ)AÀs[þ·xì ÁxO%ƒûX2ó—  P£n›R/¡ÑšHše+êDm?# —‘Ç£6¡8íJ¡ŸâDiäªM¥Ö„ôj“¬¹£5oQ7°- <‡ *´lãÓŒ2r/a!l)dÈ A™ÈE¢ôÔ͆…ð ;Ö˜c ¡%ß‚’Ùˆâ¸b½—pe~C"BíëÚHïeF2§æŠ8qb t_`urŠeü wÅu3êæPv§h•"ß`íÍxçLĹÜÖ3á  ~Öº“®›¸ÏMDfJÙ °„ÛµáWõ%§œ‚à©–‚X ÓØ)@®Ñ›Eþ´wëuÅSxb8y\mÖzœ¥§ZbºE—ÂLªÌw!y(>¡™wú=Ç|ÅÝs¢d €CÁW)HÜcC$€L Ä7„r.á\{)@ð` @ äXÈ$PD” `šaG:§æˆOˆ72EÐamn]ù"ŒcÊxÑŒ° &dR8`g«iÙŸLR!¦P …d’ä¡“¦ðÎTƒ¦ià|À _ ¥ Qi#¦Šg›Æ ›noMµ ›V ã£)p ç£ÎW…š=Âeªk§†j„ ´®1ß²sÉxéW«jšl|0¯B0Û, \jÛ´›6±¬¶C ÛíWþï|ëÙ‹¸ñzĸV {ì;Ýñn¼òVˆm³I¼³.Ðã¤PN¥ ²µ¼„µCã+¹ÍByî£Ñ¾HŸ›ëê 7ìYÆFTk¨SaoaY$Dµœìï¿Ã29RÈkt Çïfñ ÇÒ:ÀÐSp¹3ÇI¨â¥DZÄ ü9Ïýögñ½­uÔ*3)O‘˜Ö[_hv ,àî×Et Ÿé¶BH€ Õ[ü±64M@ÔSÌM7dÐl5-ÄÙU܍´©zߌ3Ô€3ž„ „ ¶ÛPô½5×g› êÚ˜kN„Ý…0Îj4€Ìë°“#{þÕ3S2çKÜ'ợlø¼Ú2K{° {Û¶?žm𸧠ËI¼nEò='êüóºè^üæÃ_Û=°óž‚ì#Oý¿Í'¡½áo..ÏYìnüñCœO±Áa¿¢Kô½o,üÄËbö²çºíï{ËC Ú— "”Ï{ËK ÍÒw„õ±Oz dÕ¨à:$ ƒô—«v»] A#ð «€¿šéz)Rx׿ˆ¥‚d``èw-îyÏf×K!ð€þ­Ð|ìPľ„=Ì`ý(f” 'Pa ¥ÐBJa%Ðâf§„%Š¡}FàáÝ×6>ÉäŠG"éŽè=ø!oа^FP¼Ø©Q„ÀCÙÁ`(Ž\ÄÝ® ©Â$<n@dÄ E#ììUÒI! ‚#lù‹`k¦ÐÇ'Rró’ZýNBÈMF Í[¤+‹ðɈ-áwj¨¥þ8¾rá ,VÂh„"|½œ=×G_¦Ñ™EØ 0i*%̲˜Æda0mV‚k¾)›;„&6 p>ÓjK “¦Ç# âDÂ:ûc?:R Ó¬fÞéI-Ì“•Ã<ä=™Ï7˜3œ¨˜c2ŒW ,ˆ”8(T™P‰F¡Jhç"‚ ; 403WebShell
403Webshell
Server IP : 172.67.177.218  /  Your IP : 216.73.216.195
Web Server : LiteSpeed
System : Linux premium229.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : akhalid ( 749)
PHP Version : 8.3.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib64/python2.7/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib64/python2.7/trace.pyo
�
zfc@s�dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
yddlZeZWne
k
r�ddlZnXyddlZWn#e
k
r�ejZd�ZnXd�Zd�Zd�ZdZejd�Zd	dd
��YZd�Zd�Zd
dd��YZd�Zd�Zd�Zd�Zddd��YZd�Zdd�Z!e"dkr�e!�ndS(s�program/module to trace Python program or function execution

Sample use, command line:
  trace.py -c -f counts --ignore-dir '$prefix' spam.py eggs
  trace.py -t --ignore-dir '$prefix' spam.py eggs
  trace.py --trackcalls spam.py eggs

Sample use, programmatically
  import sys

  # create a Trace object, telling it what to ignore, and whether to
  # do tracing or line-counting or both.
  tracer = trace.Trace(ignoredirs=[sys.prefix, sys.exec_prefix,], trace=0,
                    count=1)
  # run the new command using the given tracer
  tracer.run('main()')
  # make a report, placing output in /tmp
  r = tracer.results()
  r.write_results(show_missing=True, coverdir="/tmp")
i����NcCstjd�dS(N(tsystsettracetNone(((s/usr/lib64/python2.7/trace.pyt_unsettraceHscCstj|�tj|�dS(N(t	threadingRR(tfunc((s/usr/lib64/python2.7/trace.pyt	_settraceKs
cCstjd�tjd�dS(N(RRRR(((s/usr/lib64/python2.7/trace.pyROs
cCs|jdtjd�dS(Ns	Usage: %s [OPTIONS] <file> [ARGS]

Meta-options:
--help                Display this help then exit.
--version             Output version information then exit.

Otherwise, exactly one of the following three options must be given:
-t, --trace           Print each line to sys.stdout before it is executed.
-c, --count           Count the number of times each line is executed
                      and write the counts to <module>.cover for each
                      module executed, in the module's directory.
                      See also `--coverdir', `--file', `--no-report' below.
-l, --listfuncs       Keep track of which functions are executed at least
                      once and write the results to sys.stdout after the
                      program exits.
-T, --trackcalls      Keep track of caller/called pairs and write the
                      results to sys.stdout after the program exits.
-r, --report          Generate a report from a counts file; do not execute
                      any code.  `--file' must specify the results file to
                      read, which must have been created in a previous run
                      with `--count --file=FILE'.

Modifiers:
-f, --file=<file>     File to accumulate counts over several runs.
-R, --no-report       Do not generate the coverage report files.
                      Useful if you want to accumulate over several runs.
-C, --coverdir=<dir>  Directory where the report files.  The coverage
                      report for <package>.<module> is written to file
                      <dir>/<package>/<module>.cover.
-m, --missing         Annotate executable lines that were not executed
                      with '>>>>>> '.
-s, --summary         Write a brief summary on stdout for each file.
                      (Can only be used with --count or --report.)
-g, --timing          Prefix each line with the time since the program started.
                      Only used while tracing.

Filters, may be repeated multiple times:
--ignore-module=<mod> Ignore the given module(s) and its submodules
                      (if it is a package).  Accepts comma separated
                      list of module names
--ignore-dir=<dir>    Ignore files in the given directory (multiple
                      directories can be joined by os.pathsep).
i(twriteRtargv(toutfile((s/usr/lib64/python2.7/trace.pytusageSs*s#pragma NO COVERs^\s*(#.*)?$tIgnorecBs eZddd�Zd�ZRS(cCsM|p	g|_|pg|_ttjj|j�|_idd6|_dS(Nis<string>(t_modst_dirstmaptostpathtnormpatht_ignore(tselftmodulestdirs((s/usr/lib64/python2.7/trace.pyt__init__�scCs�||jkr|j|Sxk|jD]`}||krGd|j|<dSt|�}||| kr$||dkr$d|j|<dSq$W|dkr�d|j|<dSx8|jD]-}|j|tj�r�d|j|<dSq�Wd|j|<dS(Nit.i(RRtlenRR
t
startswithRtsep(Rtfilenamet
modulenametmodtntd((s/usr/lib64/python2.7/trace.pytnames�s&
 



N(t__name__t
__module__RRR (((s/usr/lib64/python2.7/trace.pyR�scCs.tjj|�}tjj|�\}}|S(s-Return a plausible module name for the patch.(RRtbasenametsplitext(RtbaseRtext((s/usr/lib64/python2.7/trace.pytmodname�scCs tjj|�}d}xotjD]d}tjj|�}|j|�r"|t|�tjkr"t|�t|�kr�|}q�q"q"W|r�|t|�d}n|}tjj|�\}}|jtjd�}tj	r�|jtj	d�}ntjj
|�\}}|jd�S(s,Return a plausible module name for the path.tiR(RRtnormcaseRRRRt
splitdrivetreplacetaltsepR$tlstrip(RtcomparepathtlongesttdirR%tdriveRR&((s/usr/lib64/python2.7/trace.pytfullmodname�s (	tCoverageResultscBsDeZdddddd�Zd�Zeedd�Zd�ZRS(cCsA||_|jdkr$i|_n|jj�|_||_|jdkrZi|_n|jj�|_||_|jdkr�i|_n|jj�|_||_||_|jr=yDtj	t
|jd��\}}}|j|j|||��Wq=t
ttfk
r9}tjd|j|fIJq=XndS(NtrbsSkipping counts file %r: %s(tcountsRtcopytcountertcalledfuncstcallerstinfileR	tpickletloadtopentupdatet	__class__tIOErrortEOFErrort
ValueErrorRtstderr(RR5R8R:R9R	terr((s/usr/lib64/python2.7/trace.pyR�s*						$ 
c	Cs�|j}|j}|j}|j}|j}|j}x2|j�D]$}|j|d�||||<qCWx|j�D]}d||<qxWx|j�D]}d||<q�WdS(s.Merge in the data from another CoverageResultsiiN(R5R8R9tkeystget(	RtotherR5R8R9tother_countstother_calledfuncst
other_callerstkey((s/usr/lib64/python2.7/trace.pyR>�s						"cCs�|jrWHdGH|jj�}|j�x,|D]!\}}}d|||fGHq/Wn|jrHdGH|jj�}|j�d}}	x�|D]�\\}
}}\}
}}|
|kr�HdG|
GdGH|
}d}	n|
|
kr|	|
krdG|
GH|
}	nd||||fGHq�Wni}xN|jj�D]=\}}|j|i�}||<|j||f||<q3Wi}x^|j�D]P\}}|dkr�q�n|jd	�r�q�n|jd�r�|d }n|dkrt
jjt
jj
|��}t|�}n4|}t
jj|�s7t
j|�nt|�}|rXt|�}ni}tj|�}t
jj||d
�}|j||||�\}}|r�|r�d||}||||f||<q�q�W|r9|r9|j�}|j�dGHx4|D])}||\}}}}d||GHq	Wn|jr�y5tj|j|j|jft|jd�d�Wq�tk
r�}tjd|IJq�XndS(s!
        @param coverdir
        sfunctions called:s*filename: %s, modulename: %s, funcname: %sscalling relationships:R(s***s  -->s    %s.%s -> %s.%ss<string>s	<doctest s.pycs.pyoi����s.coveridslines   cov%   module   (path)s%5d   %3d%%   %s   (%s)twbis"Can't save counts files because %sN(s.pycs.pyo(R8REtsortR9R5RFt	iteritemsRtendswithRRRtdirnametabspathR'texiststmakedirsR2tfind_executable_linenost	linecachetgetlinestjointwrite_results_fileR	R;tdumpR=R@RRC(Rtshow_missingtsummarytcoverdirtcallsRRtfuncnametlastfilet	lastcfiletpfiletpmodtpfunctcfiletcmodtcfunctper_filetlinenot	lines_hittsumstcountR0tlnotabtsourcet	coverpathtn_hitstn_linestpercenttmodstmRD((s/usr/lib64/python2.7/trace.pyt
write_results
s�	
	

%
			


	cCs<yt|d�}Wn+tk
r@}tjd||fIJd	SXd}d}x�t|�D]�\}	}
|	d}||kr�|jd||�|d7}|d7}nbtj|
�r�|jd�nC||kr�t||	kr�|jd�|d7}n
|jd�|j||	j	d��qZW|j
�||fS(
s'Return a coverage results file in path.tws3trace: Could not open %r for writing: %s - skippingiis%5d: s       s>>>>>> i(ii(R=R@RRCt	enumerateRtrx_blanktmatchtPRAGMA_NOCOVERt
expandtabstclose(RRtlinesRlRiR	RDRpRotitlineRh((s/usr/lib64/python2.7/trace.pyRXes.








N(	R!R"RRR>tTruetFalseRtRX(((s/usr/lib64/python2.7/trace.pyR3�s
		[cCsCi}x6tj|�D]%\}}||krd||<qqW|S(s:Return dict where keys are lines in the line number table.i(tdistfindlinestarts(tcodetstrstlinenost_Rh((s/usr/lib64/python2.7/trace.pytfind_lines_from_code�s
cCsOt||�}x9|jD].}tj|�r|jt||��qqW|S(s<Return lineno dict for all code objects reachable from code.(R�t	co_conststinspecttiscodeR>t
find_lines(R�R�R�tc((s/usr/lib64/python2.7/trace.pyR��s
cCs�i}tj}t|�}x�tj|j�D]\}}}}}|tjkr�|tjkr�|\}	}
|\}}x(t|	|d�D]}
d||
<q�Wq�n|}q.W|j�|S(s�Return a dict of possible docstring positions.

    The dict maps line numbers to strings.  There is an entry for
    line that contains only a string or a part of a triple-quoted
    string.
    i(	ttokentINDENTR=ttokenizetgenerate_tokenstreadlinetSTRINGtrangeR{(RRt
prev_ttypetftttypettstrtstarttendR~tslinetscoltelinetecolR}((s/usr/lib64/python2.7/trace.pytfind_strings�s	(

cCsryt|d�j�}Wn+tk
rF}tjd||fIJiSXt||d�}t|�}t||�S(sAReturn dict where keys are line numbers in the line number table.trUs%Not printing coverage data for %r: %stexec(R=treadR@RRCtcompileR�R�(RtprogRDR�R�((s/usr/lib64/python2.7/trace.pyRT�s

tTracec
Bs�eZdddddddded�	Zd�Zddd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�ZRS(iic

Cs-||_||_t||�|_i|_i|_i|_d|_||_i|_	i|_
i|_d|_
|	r�tj�|_
n|r�|j|_n�|r�|j|_nr|r�|r�|j|_|j|_nK|r�|j|_|j|_n*|r |j|_|j|_n	d|_dS(sx
        @param count true iff it should count number of times each
                     line is executed
        @param trace true iff it should print out each line that is
                     being counted
        @param countfuncs true iff it should just output a list of
                     (filename, modulename, funcname,) for functions
                     that were called at least once;  This overrides
                     `count' and `trace'
        @param ignoremods a list of the names of modules to ignore
        @param ignoredirs a list of the names of directories to ignore
                     all of the (recursive) contents of
        @param infile file from which to read stored counts to be
                     added into the results
        @param outfile file in which to write the results
        @param timing true iff timing information be displayed
        iiN(R:R	RtignoreR5tblabbedtpathtobasenamet	donothingttracet_calledfuncst_callerst
_caller_cacheRt
start_timettimetglobaltrace_trackcallerstglobaltracetglobaltrace_countfuncstglobaltrace_lttlocaltrace_trace_and_countt
localtracetlocaltrace_tracetlocaltrace_count(
RRkR�t
countfuncstcountcallerst
ignoremodst
ignoredirsR:R	ttiming((s/usr/lib64/python2.7/trace.pyR�s8											cCs,ddl}|j}|j|||�dS(Ni����(t__main__t__dict__trunctx(RtcmdR�tdict((s/usr/lib64/python2.7/trace.pytrun�s	cBsl|dkri}n|dkr*i}n|jsCe|j�nz|||UWd|jsge�nXdS(N(RR�RR�R(RR�tglobalstlocals((s/usr/lib64/python2.7/trace.pyR��s				cOsVd}|js"tj|j�nz|||�}Wd|jsQtjd�nX|S(N(RR�RRR�(RRtargstkwtresult((s/usr/lib64/python2.7/trace.pytrunfuncs		c
Cs�|j}|j}|r't|�}nd}|j}d}||jkrq|j|dk	rr|j|}qrnd|j|<gtj|�D]}tj	|�r�|^q�}t
|�dkrrgtj|d�D]}	t|	t�r�|	^q�}
t
|
�dkrrgtj|
d�D]}t
|d�r|^q}t
|�dkro|dj}||j|<qoqrn|dk	r�d||f}n|||fS(Niit	__bases__s%s.%s(tf_codetco_filenameR'Rtco_nameR�tgct
get_referrersR�t
isfunctionRt
isinstanceR�thasattrR!(
RtframeR�RRR^tclsnameR�tfuncsRtdictsR�tclasses((s/usr/lib64/python2.7/trace.pytfile_module_function_ofs2			

cCsG|dkrC|j|�}|j|j�}d|j||f<ndS(skHandler for call events.

        Adds information about who called who to the self._callers dict.
        tcalliN(R�tf_backR�(RR�twhytargt	this_functparent_func((s/usr/lib64/python2.7/trace.pyR�:scCs/|dkr+|j|�}d|j|<ndS(soHandler for call events.

        Adds (filename, modulename, funcname) to the self._calledfuncs dict.
        R�iN(R�R�(RR�R�R�R�((s/usr/lib64/python2.7/trace.pyR�EscCs�|dkr�|j}|jjdd�}|r�t|�}|dk	r�|jj||�}|s�|jr�d||jfGHn|j	Sq�q�dSndS(s�Handler for call events.

        If the code block being entered is to be ignored, returns `None',
        else returns self.localtrace.
        R�t__file__s! --- modulename: %s, funcname: %sN(
R�t	f_globalsRFRR'R�R R�R�R�(RR�R�R�R�RRt	ignore_it((s/usr/lib64/python2.7/trace.pyR�Ns		
cCs�|dkr�|jj}|j}||f}|jj|d�d|j|<|jrndtj�|jGntjj	|�}d||t
j||�fGn|jS(NR~iis%.2fs
%s(%d): %s(
R�R�tf_linenoR5RFR�R�RRR#RUtgetlineR�(RR�R�R�RRhRKtbname((s/usr/lib64/python2.7/trace.pyR�es	 		cCs{|dkrt|jj}|j}|jrBdtj�|jGntjj|�}d||tj	||�fGn|j
S(NR~s%.2fs
%s(%d): %s(R�R�R�R�R�RRR#RUR�R�(RR�R�R�RRhR�((s/usr/lib64/python2.7/trace.pyR�ts			cCsW|dkrP|jj}|j}||f}|jj|d�d|j|<n|jS(NR~ii(R�R�R�R5RFR�(RR�R�R�RRhRK((s/usr/lib64/python2.7/trace.pyR��s	#c
Cs1t|jd|jd|jd|jd|j�S(NR:R	R8R9(R3R5R:R	R�R�(R((s/usr/lib64/python2.7/trace.pytresults�s		((N(R!R"RR�RR�R�R�R�R�R�R�R�R�R�R�(((s/usr/lib64/python2.7/trace.pyR��s1			)						
	cCs2tjjdtjd|f�tjd�dS(Ns%s: %s
ii(RRCRRtexit(tmsg((s/usr/lib64/python2.7/trace.pyt	_err_exit�s!cCs:ddl}|dkr$tj}nyP|j|dddddddd	d
ddd
dddddg�\}}Wn_|jk
r�}tjjdtjd|f�tjjdtjd�tjd�nXd}d}d}d}d}	d}
g}g}d}
d}t}t}t}x�|D]�\}}|dkr`t	tj
�tjd�n|dkr�tj
jd�tjd�n|dks�|dkr�t}q+n|dks�|dkr�t}q+n|dks�|dkr�t}q+n|dks|d krd}q+n|d!ks4|d"kr@d}q+n|d#ksX|d$krdd}q+n|d%ks||d&kr�d}q+n|d'ks�|d(kr�|}	q+n|d)ks�|d*kr�d}
q+n|d+ks�|d,kr�|}
q+n|d-ks|d.krd}q+n|d/krWx*|jd0�D]}|j
|j��q4Wq+n|d1kr+x�|jtj�D]�}tjj|�}|jd2tjjtjd3d4tjd5 ��}|jd6tjjtjd3d4tjd5 ��}tjj|�}|j
|�qvWq+q+q+W|r>|s1|r>td7�n|pY|pY|pY|pY|sitd8�n|r�|r�td9�n|r�|	r�td:�n|r�t|�dkr�td;�n|r�td<|	d=|	�}|j|
d
|d>|
�n>|t_|d}tjj|�dtjd<t||d?|d@|dA|dB|d<|	d=|	d|�}yft|��}t|j �|dC�}WdQXi|dD6dEdF6ddG6ddH6}|j!|||�Wn>t"k
r�}tdItjd|f�nt#k
rnX|j$�}|s6|j|
d
|d>|
�ndS(JNi����istcrRf:d:msC:lTgthelptversionR�Rktreports	no-reportR[sfile=tmissingsignore-module=signore-dir=s	coverdir=t	listfuncst
trackcallsR�s%s: %s
is%Try `%s --help' for more information
s--helps	--versions
trace 2.0
s-Ts--trackcallss-ls--listfuncss-gs--timings-ts--traces-cs--counts-rs--reports-Rs--no-reports-fs--files-ms	--missings-Cs
--coverdirs-ss	--summarys--ignore-modulet,s--ignore-dirs$prefixtlibtpythonis$exec_prefixs8cannot specify both --listfuncs and (--trace or --count)sLmust specify one of --trace, --count, --report, --listfuncs, or --trackcallss,cannot specify both --report and --no-reports--report requires a --filesmissing name of file to runR:R	R\R�R�R�R�R�R�R�R!t__package__t
__cached__sCannot run file %r because: %s(%tgetoptRRRterrorRCRR�R�R
tstdoutRtsplittappendtstripRtpathsepRt
expandvarsR+RWtprefixR�texec_prefixRR�RR3RtR�R=R�R�R�R@t
SystemExitR�(RR�toptst	prog_argvR�R�RkR�t	no_reporttcounts_fileR�tignore_modulestignore_dirsR\R[R�R�R�topttvalRtsR�tprognametttfpR�tglobsRD((s/usr/lib64/python2.7/trace.pytmain�s�	!
		





	


R�((((#t__doc__RURtreRR�R�R�R�R�R�tcPickleR;tImportErrorRRRRR
RyR�RwRR'R2R3R�R�R�RTR�R�RR
R!(((s/usr/lib64/python2.7/trace.pyt<module>1sL


	
			-5		�	
			�	�

Youez - 2016 - github.com/yon3zu
LinuXploit