Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/jit.dg/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     test-pr95314-rvalue-reuse.c (2.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <libgccjit.h>
#include "harness.h"

void create_code (gcc_jit_context *ctxt, void *user_data)
{
  gcc_jit_type *t_int =  gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
  gcc_jit_type *t_void = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
  gcc_jit_type *t_const_char_ptr
    = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_CONST_CHAR_PTR);
  gcc_jit_lvalue *global
    = gcc_jit_context_new_global (ctxt, NULL, GCC_JIT_GLOBAL_INTERNAL,
                  t_const_char_ptr, "pr95314_global");

  gcc_jit_rvalue *global_ref = gcc_jit_lvalue_get_address(global, NULL);

  gcc_jit_param *param_string
    = gcc_jit_context_new_param (ctxt, NULL, t_const_char_ptr, "string");
  gcc_jit_function *puts_func
    = gcc_jit_context_new_function (ctxt, NULL, GCC_JIT_FUNCTION_IMPORTED,
                    t_int, "puts", 1, &param_string, 0);

#define NUM_INNER_FNS 3
  gcc_jit_function *inner_fns[NUM_INNER_FNS];
  for (int i = 0; i < NUM_INNER_FNS; i++)
    {
      char fnname[128];
      sprintf (fnname, "pr95314_inner_%i", i);
      inner_fns[i]
    = gcc_jit_context_new_function (ctxt, NULL, GCC_JIT_FUNCTION_INTERNAL,
                    t_void, fnname, 0, NULL, 0);
      gcc_jit_block *block = gcc_jit_function_new_block (inner_fns[i], NULL);
      gcc_jit_rvalue *arg
    = gcc_jit_context_new_cast (ctxt, NULL, global_ref, t_const_char_ptr);
      gcc_jit_block_add_eval (block, NULL,
                  gcc_jit_context_new_call (ctxt, NULL, puts_func,
                            1, &arg));
      gcc_jit_block_end_with_void_return (block, NULL);
    }

  gcc_jit_function *outer_func
    = gcc_jit_context_new_function (ctxt, NULL, GCC_JIT_FUNCTION_EXPORTED,
                    t_void, "pr95314_outer", 0, NULL, 0);
  gcc_jit_block *block = gcc_jit_function_new_block (outer_func, NULL);
  for (int i = 0; i < NUM_INNER_FNS; i++)
    gcc_jit_block_add_eval (block, NULL,
                gcc_jit_context_new_call (ctxt, NULL, inner_fns[i],
                              0, NULL));
  gcc_jit_block_end_with_void_return (block, NULL);
}

void
verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
{
  CHECK_NON_NULL (result);
  (void)gcc_jit_result_get_code (result, "pr95314_outer");
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0054 ]--