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/tree-ssa/   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:     ssa-dom-thread-7.c (2.28 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-dom2-stats -fdump-tree-thread2-stats -fdump-tree-dom3-stats -fno-guess-branch-probability" } */

/* { dg-final { scan-tree-dump-not "Jumps threaded"  "dom2" } } */

/* We were previously checking for no threads in vrp-thread2, but now
   that we have merged the post and pre threaders, we get a dozen
   threads before VRP2.  */

/* aarch64 has the highest CASE_VALUES_THRESHOLD in GCC.  It's high enough
   to change decisions in switch expansion which in turn can expose new
   jump threading opportunities.  Skip the later tests on aarch64.  */
/* { dg-final { scan-tree-dump-not "Jumps threaded"  "dom3" { target { ! aarch64*-*-* } } } } */
/* { dg-final { scan-tree-dump "Jumps threaded: 7"  "thread2" { target { ! aarch64*-*-* } } } } */
/* { dg-final { scan-tree-dump "Jumps threaded: 18"  "thread2" { target { aarch64*-*-* } } } } */

enum STATE {
  S0=0,
  SI,
  S1,
  S2,
  S3,
  S4,
  S5,
  S6
};

int bar (enum STATE s);

enum STATE foo (unsigned char **y, unsigned *c)
{
  unsigned char *x = *y;
  unsigned char n;
  enum STATE s = S0;

  for( ; *x && s != SI; x++ )
    {
      n = *x;
      if (n == 'x')
    {
      x++;
      break;
    }
      switch(s)
    {
    case S0:
      if(bar(n))
        s = S3;
      else if( n == 'a' || n == 'b' )
        s = S1;
      else if( n == 'c' )
        s = S4;
      else
        {
          s = SI;
          c[SI]++;
        }
      c[S0]++;
      break;
    case S1:
      if(bar(n))
        {
          s = S3;
          c[S1]++;
        }
      else if( n == 'c' )
        {
          s = S4;
          c[S1]++;
        }
      else
        {
          s = SI;
          c[S1]++;
        }
      break;
    case S3:
      if( n == 'c' )
        {
          s = S4;
          c[S3]++;
        }
      else if(!bar(n))
        {
          s = SI;
          c[S3]++;
        }
      break;
    case S4:
      if( n == 'E' || n == 'e' )
        {
          s = S2;
          c[S4]++;
        }
      else if(!bar(n))
        {
          s = SI;
          c[S4]++;
        }
      break;
    case S2:
      if( n == 'a' || n == 'b' )
        {
          s = S5;
          c[S2]++;
        }
      else
        {
          s = SI;
          c[S2]++;
        }
      break;
    case S5:
      if(bar(n))
        {
          s = S6;
          c[S5]++;
        }
      else
        {
          s = SI;
          c[S5]++;
        }
      break;
    case S6:
      if(!bar(n))
        {
          s = SI;
          c[SI]++;
        }
      break;
    default:
      break;
    }
    }
  *y=x;
  return s;
}

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