Dr. Memory
drmemory_framework.h File Reference

Shared header for Dr. Memory Framework. More...

#include "dr_api.h"

Enumerations

enum  drmf_status_t {
  DRMF_SUCCESS ,
  DRMF_ERROR ,
  DRMF_ERROR_INCOMPATIBLE_VERSION ,
  DRMF_ERROR_INVALID_PARAMETER ,
  DRMF_ERROR_INVALID_SIZE ,
  DRMF_ERROR_NOT_IMPLEMENTED ,
  DRMF_ERROR_FEATURE_NOT_AVAILABLE ,
  DRMF_ERROR_NOMEM ,
  DRMF_ERROR_DETAILS_UNKNOWN ,
  DRMF_ERROR_NOT_FOUND ,
  DRMF_ERROR_INVALID_CALL ,
  DRMF_ERROR_NOT_ENOUGH_REGS ,
  DRMF_ERROR_ACCESS_DENIED ,
  DRMF_WARNING_ALREADY_INITIALIZED ,
  DRMF_ERROR_NOT_INITIALIZED ,
  DRMF_ERROR_INVALID_ADDRESS ,
  DRMF_WARNING_UNSUPPORTED_KERNEL
}
 

Detailed Description

Shared header for Dr. Memory Framework.

Enumeration Type Documentation

◆ drmf_status_t

Status codes for the Dr. Memory Framework

Enumerator
DRMF_SUCCESS 

Operation succeeded.

DRMF_ERROR 

Operation failed.

DRMF_ERROR_INCOMPATIBLE_VERSION 

Operation failed: incompatible version

DRMF_ERROR_INVALID_PARAMETER 

Operation failed: invalid parameter

DRMF_ERROR_INVALID_SIZE 

Operation failed: invalid size

DRMF_ERROR_NOT_IMPLEMENTED 

Operation failed: not yet implemented

DRMF_ERROR_FEATURE_NOT_AVAILABLE 

Operation failed: not available

DRMF_ERROR_NOMEM 

Operation failed: not enough memory

DRMF_ERROR_DETAILS_UNKNOWN 

Operation failed: answer not yet known

DRMF_ERROR_NOT_FOUND 

Operation failed: query not found

DRMF_ERROR_INVALID_CALL 

Operation failed: pre-req for call not met

DRMF_ERROR_NOT_ENOUGH_REGS 

Operation failed: not enough registers for use

DRMF_ERROR_ACCESS_DENIED 

Operation failed: access denied

DRMF_WARNING_ALREADY_INITIALIZED 

Operation aborted: already initialized

DRMF_ERROR_NOT_INITIALIZED 

Operation failed: not initialized

DRMF_ERROR_INVALID_ADDRESS 

Operation failed: invalid address

DRMF_WARNING_UNSUPPORTED_KERNEL 

Continuing not advised: unsupported kernel