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-30.c (1.77 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* PR middle-end/93200 - spurious -Wstringop-overflow due to assignment
   vectorization to multiple members
   { dg-do compile }
   { dg-options "-O3 -Wall" } */

typedef __INT8_TYPE__  int8_t;
typedef __INT16_TYPE__ int16_t;
typedef __INT32_TYPE__ int32_t;
typedef __INT64_TYPE__ int64_t;

struct A { char b, c; };
struct B1A { int8_t i8; struct A a; };
struct B2A { int16_t i16; struct A a; };
struct B3A { int16_t i16; int8_t i8; struct A a; };
struct B4A { int64_t i64; struct A a; };

void ba1 (struct B1A *p)
{
  p->a.b = 0; p->a.c = 1;
}

void b2a (struct B2A *p)
{
  /* This results in:
     vector(2) char *vectp.14_6 = &p_2(D)->a.b;
     MEM <vector(2) char> [(char *)vectp.14_6] = { 4, 5 };  */

  p->a.b = 4;       // { dg-bogus "-Wstringop-overflow" }
  p->a.c = 5;
}

void b3a (struct B3A *p)
{
  p->a.b = 4; p->a.c = 5;
}

void b4a (struct B4A *p)
{
  /* This results in:
     vector(2) char *vectp.22_6 = &p_2(D)->a.b;
     MEM <vector(2) char> [(char *)vectp.22_6] = { 6, 7 };  */

  p->a.b = 6;       // { dg-bogus "-Wstringop-overflow" }
  p->a.c = 7;
}


struct Aa { char a[2], b[2]; };
struct B1Aa { int8_t i8; struct Aa a; };
struct B2Aa { int16_t i16; struct Aa a; };
struct B3Aa { int16_t i16; int8_t i8; struct Aa a; };
struct B4Aa { int64_t i64; struct Aa a; };

void b1aa (struct B1Aa *p)
{
  p->a.a[0] = 0; p->a.a[1] = 1;
  p->a.b[0] = 0; p->a.b[1] = 1;
}

void b2aa (struct B2Aa *p)
{
  p->a.a[0] = 2; p->a.a[1] = 3;
  p->a.b[0] = 2; p->a.b[1] = 3;
}

void b3aa (struct B3Aa *p)
{
  p->a.a[0] = 4; p->a.a[1] = 5;
  p->a.b[0] = 4; p->a.b[1] = 5;
}

void b4aa (struct B4Aa *p)
{
  /* This results in:
     vector(4) char *vectp.36_8 = &p_2(D)->a.a[0];
     MEM <vector(4) char> [(char *)vectp.36_8] = { 6, 7, 6, 7 };  */

  p->a.a[0] = 6; p->a.a[1] = 7;
  p->a.b[0] = 6; p->a.b[1] = 7;
}

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