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:     pr67089-4.c (4.59 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* PR target/67089 */
/* { dg-do run } */
/* { dg-options "-O2" } */

extern void abort (void);

int cnt, d;

__attribute__((noinline, noclone))
void foo (int x)
{
  asm volatile ("" : "+m" (d) : "g" (x) : "memory");
  cnt++;
}

#define T(n, type, op, cond) \
__attribute__((noinline, noclone))    \
type                    \
f##n (type x, type y)            \
{                    \
  type r = op;                \
  cond;                    \
  return r;                \
}

T (1, unsigned int, x + y, if (r > y) foo (0))
T (2, unsigned long, x + y, if (r <= y) foo (0))
T (3, unsigned short, x + y, if (y < r) foo (r))
T (4, unsigned long long, x + y, if (y >= r) foo (0))
T (5, unsigned int, x + y, if (r >= y) foo (0))
T (6, unsigned long, x + y, if (r < y) foo (0))
T (7, unsigned short, x + y, if (y <= r) foo (r))
T (8, unsigned long long, x + y, if (d || y > r) foo (0))
T (9, unsigned int, x + y, if (d || r > y) foo (0))
T (10, unsigned long, x + y, if (d || r <= y) foo (0))
T (11, unsigned char, x + y, if (d || y < r) foo (0))
T (12, unsigned long long, x + y, if (d || y >= r) foo (0))
T (13, unsigned int, x + y, if (d || r >= y) foo (0))
T (14, unsigned long, x + y, if (d || r < y) foo (0))
T (15, unsigned short, x + y, if (d || y <= r) foo (0))
T (16, unsigned long long, x + y, if (d || y > r) foo (0))

int
main ()
{
  if (f1 (-7U, 0) != -7U || cnt != 1) abort ();
  if (f1 (-7U, 6) != -1U || cnt != 2) abort ();
  if (f1 (-7U, 7) != 0U || cnt != 2) abort ();
  if (f1 (-7U, 8) != 1U || cnt != 2) abort ();
  if (f2 (-9UL, 0) != -9UL || cnt != 2) abort ();
  if (f2 (-9UL, 8) != -1UL || cnt != 2) abort ();
  if (f2 (-9UL, 9) != 0UL || cnt != 3) abort ();
  if (f2 (-9UL, 10) != 1UL || cnt != 4) abort ();
  if (f3 (-15, 0) != (unsigned short) -15 || cnt != 5) abort ();
  if (f3 (-15, 14) != (unsigned short) -1 || cnt != 6) abort ();
  if (f3 (-15, 15) != 0 || cnt != 6) abort ();
  if (f3 (-15, 16) != 1 || cnt != 6) abort ();
  if (f4 (-9132ULL, 0) != -9132ULL || cnt != 6) abort ();
  if (f4 (-9132ULL, 9131) != -1ULL || cnt != 6) abort ();
  if (f4 (-9132ULL, 9132) != 0 || cnt != 7) abort ();
  if (f4 (-9132ULL, 9133) != 1ULL || cnt != 8) abort ();
  if (f5 (-7U, 0) != -7U || cnt != 9) abort ();
  if (f5 (-7U, 6) != -1U || cnt != 10) abort ();
  if (f5 (-7U, 7) != 0U || cnt != 10) abort ();
  if (f5 (-7U, 8) != 1U || cnt != 10) abort ();
  if (f6 (-9UL, 0) != -9UL || cnt != 10) abort ();
  if (f6 (-9UL, 8) != -1UL || cnt != 10) abort ();
  if (f6 (-9UL, 9) != 0UL || cnt != 11) abort ();
  if (f6 (-9UL, 10) != 1UL || cnt != 12) abort ();
  if (f7 (-15, 0) != (unsigned short) -15 || cnt != 13) abort ();
  if (f7 (-15, 14) != (unsigned short) -1 || cnt != 14) abort ();
  if (f7 (-15, 15) != 0 || cnt != 14) abort ();
  if (f7 (-15, 16) != 1 || cnt != 14) abort ();
  if (f8 (-9132ULL, 0) != -9132ULL || cnt != 14) abort ();
  if (f8 (-9132ULL, 9131) != -1ULL || cnt != 14) abort ();
  if (f8 (-9132ULL, 9132) != 0 || cnt != 15) abort ();
  if (f8 (-9132ULL, 9133) != 1ULL || cnt != 16) abort ();
  cnt = 0;
  if (f9 (-7U, 0) != -7U || cnt != 1) abort ();
  if (f9 (-7U, 6) != -1U || cnt != 2) abort ();
  if (f9 (-7U, 7) != 0U || cnt != 2) abort ();
  if (f9 (-7U, 8) != 1U || cnt != 2) abort ();
  if (f10 (-9UL, 0) != -9UL || cnt != 2) abort ();
  if (f10 (-9UL, 8) != -1UL || cnt != 2) abort ();
  if (f10 (-9UL, 9) != 0UL || cnt != 3) abort ();
  if (f10 (-9UL, 10) != 1UL || cnt != 4) abort ();
  if (f11 (-15, 0) != (unsigned char) -15 || cnt != 5) abort ();
  if (f11 (-15, 14) != (unsigned char) -1 || cnt != 6) abort ();
  if (f11 (-15, 15) != 0 || cnt != 6) abort ();
  if (f11 (-15, 16) != 1 || cnt != 6) abort ();
  if (f12 (-9132ULL, 0) != -9132ULL || cnt != 6) abort ();
  if (f12 (-9132ULL, 9131) != -1ULL || cnt != 6) abort ();
  if (f12 (-9132ULL, 9132) != 0 || cnt != 7) abort ();
  if (f12 (-9132ULL, 9133) != 1ULL || cnt != 8) abort ();
  if (f13 (-7U, 0) != -7U || cnt != 9) abort ();
  if (f13 (-7U, 6) != -1U || cnt != 10) abort ();
  if (f13 (-7U, 7) != 0U || cnt != 10) abort ();
  if (f13 (-7U, 8) != 1U || cnt != 10) abort ();
  if (f14 (-9UL, 0) != -9UL || cnt != 10) abort ();
  if (f14 (-9UL, 8) != -1UL || cnt != 10) abort ();
  if (f14 (-9UL, 9) != 0UL || cnt != 11) abort ();
  if (f14 (-9UL, 10) != 1UL || cnt != 12) abort ();
  if (f15 (-15, 0) != (unsigned short) -15 || cnt != 13) abort ();
  if (f15 (-15, 14) != (unsigned short) -1 || cnt != 14) abort ();
  if (f15 (-15, 15) != 0 || cnt != 14) abort ();
  if (f15 (-15, 16) != 1 || cnt != 14) abort ();
  if (f16 (-9132ULL, 0) != -9132ULL || cnt != 14) abort ();
  if (f16 (-9132ULL, 9131) != -1ULL || cnt != 14) abort ();
  if (f16 (-9132ULL, 9132) != 0 || cnt != 15) abort ();
  if (f16 (-9132ULL, 9133) != 1ULL || cnt != 16) abort ();
  return 0;
}

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