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/libgomp/testsuite/libgomp.c++/   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:     target-18.C (3.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
extern "C" void abort ();

__attribute__((noinline, noclone)) void
foo (int *&p, int *&q, int *&r, int n, int m)
{
  int i, err, *s = r;
  int sep = 1;
  #pragma omp target map(to:sep)
  sep = 0;
  #pragma omp target data map(to:p[0:8])
  {
    /* For zero length array sections, p points to the start of
       already mapped range, q to the end of it (with nothing mapped
       after it), and r does not point to an mapped range.  */
    #pragma omp target map(alloc:p[:0]) map(to:q[:0]) map(from:r[:0]) private(i) map(from:err) firstprivate (s)
    {
      err = 0;
      for (i = 0; i < 8; i++)
    if (p[i] != i + 1)
      err = 1;
      if (sep)
    {
      if (q != (int *) 0 || r != (int *) 0)
        err = 1;
    }
      else if (p + 8 != q || r != s)
    err = 1;
    }
    if (err)
      abort ();
    /* Implicit mapping of pointers behaves the same way.  */
    #pragma omp target private(i) map(from:err) firstprivate (s)
    {
      err = 0;
      for (i = 0; i < 8; i++)
    if (p[i] != i + 1)
      err = 1;
      if (sep)
    {
      if (q != (int *) 0 || r != (int *) 0)
        err = 1;
    }
      else if (p + 8 != q || r != s)
    err = 1;
    }
    if (err)
      abort ();
    /* And zero-length array sections, though not known at compile
       time, behave the same.  */
    #pragma omp target map(p[:n]) map(tofrom:q[:n]) map(alloc:r[:n]) private(i) map(from:err) firstprivate (s)
    {
      err = 0;
      for (i = 0; i < 8; i++)
    if (p[i] != i + 1)
      err = 1;
      if (sep)
    {
      if (q != (int *) 0 || r != (int *) 0)
        err = 1;
    }
      else if (p + 8 != q || r != s)
    err = 1;
    }
    if (err)
      abort ();
    /* Non-zero length array sections, though not known at compile,
       behave differently.  */
    #pragma omp target map(p[:m]) map(tofrom:q[:m]) map(to:r[:m]) private(i) map(from:err)
    {
      err = 0;
      for (i = 0; i < 8; i++)
    if (p[i] != i + 1)
      err = 1;
      if (q[0] != 9 || r[0] != 10)
    err = 1;
    }
    if (err)
      abort ();
    #pragma omp target data map(to:q[0:1])
    {
      /* For zero length array sections, p points to the start of
     already mapped range, q points to the start of another one,
     and r to the end of the second one.  */
      #pragma omp target map(to:p[:0]) map(from:q[:0]) map(tofrom:r[:0]) private(i) map(from:err)
      {
    err = 0;
    for (i = 0; i < 8; i++)
      if (p[i] != i + 1)
        err = 1;
    if (q[0] != 9)
      err = 1;
    else if (sep)
      {
        if (r != (int *) 0)
          err = 1;
      }
    else if (r != q + 1)
      err = 1;
      }
      if (err)
    abort ();
      /* Implicit mapping of pointers behaves the same way.  */
      #pragma omp target private(i) map(from:err)
      {
    err = 0;
    for (i = 0; i < 8; i++)
      if (p[i] != i + 1)
        err = 1;
    if (q[0] != 9)
      err = 1;
    else if (sep)
      {
        if (r != (int *) 0)
          err = 1;
      }
    else if (r != q + 1)
      err = 1;
      }
      if (err)
    abort ();
      /* And zero-length array sections, though not known at compile
     time, behave the same.  */
      #pragma omp target map(p[:n]) map(alloc:q[:n]) map(from:r[:n]) private(i) map(from:err)
      {
    err = 0;
    for (i = 0; i < 8; i++)
      if (p[i] != i + 1)
        err = 1;
    if (q[0] != 9)
      err = 1;
    else if (sep)
      {
        if (r != (int *) 0)
          err = 1;
      }
    else if (r != q + 1)
      err = 1;
      }
      if (err)
    abort ();
      /* Non-zero length array sections, though not known at compile,
     behave differently.  */
      #pragma omp target map(p[:m]) map(alloc:q[:m]) map(tofrom:r[:m]) private(i) map(from:err)
      {
    err = 0;
    for (i = 0; i < 8; i++)
      if (p[i] != i + 1)
        err = 1;
    if (q[0] != 9 || r[0] != 10)
      err = 1;
      }
      if (err)
    abort ();
    }
  }
}

int
main ()
{
  int a[32], i;
  for (i = 0; i < 32; i++)
    a[i] = i;
  int *p = a + 1, *q = a + 9, *r = a + 10;
  foo (p, q, r, 0, 1);
  return 0;
}

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.006 ]--