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/powerpc/   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:     darwin-split-ld-stret.c (1.98 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Check for Darwin m64 that we do not try to pass & return by value for a
   struct exceeding the number of arg FPRs (the struct here straddles the 
   split-point).  */
/* { dg-do run { target { powerpc*-*-darwin* && lp64 } } } */

extern void abort (void);

/*#define DEBUG*/

#ifdef DEBUG
extern int printf (const char *, ...);
extern int printf$LDBL128 (const char *, ...);
#endif

typedef struct fourteen {
  long double a, b, c, d, e, f, g;
} fourteen_t ;

fourteen_t foo (fourteen_t, fourteen_t) __attribute__ ((noinline));

fourteen_t 
foo (fourteen_t aa, fourteen_t bb) 
{
  fourteen_t r;

  r.a = aa.a + bb.a;
  r.b = aa.b + bb.b;
  r.c = aa.c + bb.c;
  r.d = aa.d + bb.d;
  r.e = aa.e + bb.e;
  r.f = aa.f + bb.f;
  r.g = aa.g + bb.g;

#ifdef DEBUG
#ifdef __ppc64__
  printf
#else
  printf$LDBL128
#endif      
    ("%Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg %Lg: "
    "%Lg %Lg %Lg %Lg %Lg %Lg %Lg\n",
    aa.a, aa.b, aa.c, aa.d, aa.e, aa.f, aa.g,
    bb.a, bb.b, bb.c, bb.d, bb.e, bb.f, bb.g,
    r.a, r.b, r.c, r.d, r.e, r.f, r.g);
 printf ("aa.g %ll16x %ll16x\nbb.g %ll16x %ll16x\n",
        *(unsigned long long*)&aa.g,
        *(unsigned long long*)(((char *)&aa.g)+8),
        *(unsigned long long*)&bb.g,
        *(unsigned long long*)(((char *)&bb.g)+8));
 
#endif

  __asm__ (""); /* double make sure we don't get inlined */
  return r;
}

int
main (void)
{
  fourteen_t x = { 1.L, 2.L,  3.L,  4.L,  5.L,  6.L,-12.3456789123456789L };
  fourteen_t y = { 8.L, 9.L, 10.L, 11.L, 12.L, 13.L, 12.3456789123456789L };
  fourteen_t z ;
  long double zz;
  
  z = foo (x,y);
  zz = x.g + y.g;
#ifdef DEBUG
#ifdef __ppc64__
    printf
#else
    printf$LDBL128
#endif      
        ("  z: %Lg %Lg %Lg %Lg %Lg %Lg %Lg\n"
         "ret: %ll16x %ll16x\nzz : %ll16x %ll16x\n",
        z.a, z.b, z.c, z.d, z.e, z.f, z.g,
        *(unsigned long long*)&z.g,
        *(unsigned long long*)(((char *)&z.g)+8),
        *(unsigned long long*)&zz,
        *(unsigned long long*)(((char *)&zz)+8));
#endif

  /* Yes, we really do want to do an equality test here.  */
  if (z.g != zz)
    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.0057 ]--