OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Classes | Macros | Typedefs | Functions | Variables
mem_dbg.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "cryptlib.h"
#include <openssl/crypto.h>
#include <openssl/buffer.h>
#include <openssl/bio.h>
#include <openssl/lhash.h>

Go to the source code of this file.

Classes

struct  mem_leak_st
 

Macros

#define BUF_REMAIN   (sizeof buf - (size_t)(bufp - buf))
 

Typedefs

typedef struct mem_leak_st MEM_LEAK
 
typedef CRYPTO_MEM_LEAK_CBPCRYPTO_MEM_LEAK_CB
 

Functions

 DECLARE_LHASH_OF (MEM)
 
 DECLARE_LHASH_OF (APP_INFO)
 
int CRYPTO_mem_ctrl (int mode)
 
int CRYPTO_is_mem_check_on (void)
 
void CRYPTO_dbg_set_options (long bits)
 
long CRYPTO_dbg_get_options (void)
 
int CRYPTO_push_info_ (const char *info, const char *file, int line)
 
int CRYPTO_pop_info (void)
 
int CRYPTO_remove_all_info (void)
 
void CRYPTO_dbg_malloc (void *addr, int num, const char *file, int line, int before_p)
 
void CRYPTO_dbg_free (void *addr, int before_p)
 
void CRYPTO_dbg_realloc (void *addr1, void *addr2, int num, const char *file, int line, int before_p)
 
void CRYPTO_mem_leaks_fp (FILE *fp)
 

Variables

 APP_INFO
 
 MEM
 

Macro Definition Documentation

#define BUF_REMAIN   (sizeof buf - (size_t)(bufp - buf))

Typedef Documentation

typedef struct mem_leak_st MEM_LEAK

Definition at line 858 of file mem_dbg.c.

Function Documentation

void CRYPTO_dbg_free ( void addr,
int  before_p 
)

Definition at line 569 of file mem_dbg.c.

long CRYPTO_dbg_get_options ( void  )

Definition at line 310 of file mem_dbg.c.

void CRYPTO_dbg_malloc ( void addr,
int  num,
const char *  file,
int  line,
int  before_p 
)

Definition at line 481 of file mem_dbg.c.

void CRYPTO_dbg_realloc ( void addr1,
void addr2,
int  num,
const char *  file,
int  line,
int  before_p 
)

Definition at line 605 of file mem_dbg.c.

void CRYPTO_dbg_set_options ( long  bits)

Definition at line 305 of file mem_dbg.c.

int CRYPTO_is_mem_check_on ( void  )

Definition at line 286 of file mem_dbg.c.

int CRYPTO_mem_ctrl ( int  mode)

Definition at line 216 of file mem_dbg.c.

void CRYPTO_mem_leaks_fp ( FILE *  fp)

Definition at line 826 of file mem_dbg.c.

int CRYPTO_pop_info ( void  )

Definition at line 448 of file mem_dbg.c.

int CRYPTO_push_info_ ( const char *  info,
const char *  file,
int  line 
)

Definition at line 397 of file mem_dbg.c.

int CRYPTO_remove_all_info ( void  )

Definition at line 463 of file mem_dbg.c.

DECLARE_LHASH_OF ( MEM  )
DECLARE_LHASH_OF ( APP_INFO  )

Variable Documentation

APP_INFO

Definition at line 159 of file mem_dbg.c.

MEM

Definition at line 182 of file mem_dbg.c.