3
/*ä^  ã               @   s¤   d Z ddlmZ ddlmZ ejZddlmZ G dd„ deƒZ	e
dkr ddlmZ ed	kr”dd
lZejƒ jZe	ƒ jeƒ\ZZx"eD ]Zeeƒ q‚W nede ƒ d
S )zí
Python 3.2 bytecode decompiler scanner.

Does some additional massaging of xdis-disassembled instructions to
make things easier for decompilation.

This sets up opcodes Python's 3.2 and calls a generalized
scanner routine for Python 3.
é    )Úprint_function)Ú	opcode_32)ÚScanner3c               @   s   e Zd Zddd„ZdS )Ú	Scanner32NFc             C   s   t j| d||ƒ d S )Ngš™™™™™	@)r   Ú__init__)ÚselfZshow_asmZis_pypy© r   úZ/home/psgendb/BIRCHDEV/python/lib/python3.6/site-packages/uncompyle6/scanners/scanner32.pyr      s    zScanner32.__init__)NF)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r	   r      s   
r   Ú__main__)ÚPYTHON_VERSIONgš™™™™™	@Nz'Need to be Python 3.2 to demo; I am %s.)Ú__doc__Ú
__future__r   Zxdis.opcodesr   ZopcZJUMP_OPSZuncompyle6.scanners.scanner3r   r   r
   Ú
uncompyle6r   ÚinspectÚcurrentframeÚf_codeÚcoZingestÚtokensZ	customizeÚtÚprintr   r   r   r	   Ú<module>
   s    

