404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.136.19.41: ~ $
3

g�wUW�@sBdddgZdZddlmZmZddlmZdd
d�Zddd�Zd
S)Zc_lexer�c_parserZc_astz2.14�)�Popen�PIPE�)�CParser�cpp�cCs�|g}t|t�r||7}n|dkr,||g7}||g7}yt|tdd�}|j�d}Wn2tk
r�}ztd	d|��WYdd}~XnX|S)
ae Preprocess a file using cpp.

        filename:
            Name of the file you want to preprocess.

        cpp_path:
        cpp_args:
            Refer to the documentation of parse_file for the meaning of these
            arguments.

        When successful, returns the preprocessed file's contents.
        Errors from cpp will be printed out.
    rT)�stdoutZuniversal_newlinesrzUnable to invoke 'cpp'.  z(Make sure its path was passed correctly
zOriginal error: %sNzAUnable to invoke 'cpp'.  Make sure its path was passed correctly
)�
isinstance�listrrZcommunicate�OSError�RuntimeError)�filename�cpp_path�cpp_args�	path_list�pipe�text�e�r�/usr/lib/python3.6/__init__.py�preprocess_files 



rFNc
CsJ|rt|||�}nt|d��}|j�}WdQRX|dkr>t�}|j||�S)a� Parse a C file using pycparser.

        filename:
            Name of the file you want to parse.

        use_cpp:
            Set to True if you want to execute the C pre-processor
            on the file prior to parsing it.

        cpp_path:
            If use_cpp is True, this is the path to 'cpp' on your
            system. If no path is provided, it attempts to just
            execute 'cpp', so it must be in your PATH.

        cpp_args:
            If use_cpp is True, set this to the command line arguments strings
            to cpp. Be careful with quotes - it's best to pass a raw string
            (r'') here. For example:
            r'-I../utils/fake_libc_include'
            If several arguments are required, pass a list of strings.

        parser:
            Optional parser object to be used instead of the default CParser

        When successful, an AST is returned. ParseError can be
        thrown if the file doesn't parse successfully.

        Errors from cpp will be printed out.
    ZrUN)r�open�readr�parse)rZuse_cpprr�parserr�frrr�
parse_file6sr)rr)FrrN)	�__all__�__version__�
subprocessrrrrrrrrrr�<module>
s

%

Filemanager

Name Type Size Permission Actions
__init__.cpython-36.opt-1.pyc File 2.48 KB 0644
__init__.cpython-36.pyc File 2.48 KB 0644
_ast_gen.cpython-36.opt-1.pyc File 8.46 KB 0644
_ast_gen.cpython-36.pyc File 8.46 KB 0644
_build_tables.cpython-36.opt-1.pyc File 467 B 0644
_build_tables.cpython-36.pyc File 467 B 0644
ast_transforms.cpython-36.opt-1.pyc File 2.39 KB 0644
ast_transforms.cpython-36.pyc File 2.43 KB 0644
c_ast.cpython-36.opt-1.pyc File 29.03 KB 0644
c_ast.cpython-36.pyc File 29.03 KB 0644
c_generator.cpython-36.opt-1.pyc File 14.54 KB 0644
c_generator.cpython-36.pyc File 14.54 KB 0644
c_lexer.cpython-36.opt-1.pyc File 11.95 KB 0644
c_lexer.cpython-36.pyc File 11.95 KB 0644
c_parser.cpython-36.opt-1.pyc File 54.32 KB 0644
c_parser.cpython-36.pyc File 54.46 KB 0644
lextab.cpython-36.opt-1.pyc File 5.58 KB 0644
lextab.cpython-36.pyc File 5.58 KB 0644
plyparser.cpython-36.opt-1.pyc File 2 KB 0644
plyparser.cpython-36.pyc File 2 KB 0644
yacctab.cpython-36.opt-1.pyc File 103.49 KB 0644
yacctab.cpython-36.pyc File 103.49 KB 0644