!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/scripts/pba/phc-read-only/src/codegen/   drwxrwxr-x
Free 83.21 GB of 96.73 GB (86.02%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     MICG_checker.h (1.5 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*
 * phc -- the open source php compiler
 * see doc/license/readme.license for licensing information
 *
 * Check the MICG - types and otherwise.
 */

#ifndef PHC_MICG_CHECKER
#define PHC_MICG_CHECKER

#include "MICG.h"
#include "MICG_visitor.h"

#include "lib/String.h"
#include "lib/Map.h"

class MICG_checker : public MICG::Visitor, public GC_obj
{
    string macro_name;

    // param_name -> type_name
    Map <string, string> symtable;

public:
    // TODO: check that if there are multiple macros of the same name, they are
    // consistent in using the 'list' signature.

    void pre_macro (MICG::Macro* in)
    {
        macro_name = *in->signature->macro_name->value;
    }

    void pre_formal_parameter (MICG::Formal_parameter* in)
    {
        string type_name = *in->type_name->value;
        string param_name = *in->param_name->value;
        if (symtable.has (param_name))
            phc_internal_error ("More than 1 parameter named %s in %s",
            in, param_name.c_str(), macro_name.c_str());

        symtable[param_name] = type_name;
    }

    void pre_lookup (MICG::Lookup* lookup)
    {
        // TODO: Check the type is Token or Node
    }

    void pre_param_name (MICG::PARAM_NAME* in)
    {
        string param_name = *in->value;

        if (!symtable.has (param_name))
            phc_internal_error ("%d:%d No param named %s in %s",
                in, in->get_line_number(), in->get_column_number (),
                param_name.c_str (), macro_name.c_str ());
    }

    void pre_interpolation (MICG::Interpolation* in)
    {
        // Check the type is a string or Token
    }

    void pre_equals (MICG::Equals* in)
    {
    }
};


#endif // PHC_MICG_CHECKER

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0051 ]--