Skip to content

File mutator_defs.h

File List > defs > mutator_defs > mutator_defs.h

Go to the documentation of this file

#ifndef MUTATOR_DEFS_H
#define MUTATOR_DEFS_H

/******************************************************************************/
/****************************** Includes **************************************/
/******************************************************************************/
#include "tang_defs.h"
#include "stdlib.h"

/******************************************************************************/
/****************************** Macro *****************************************/
/******************************************************************************/

/******************************************************************************/
/****************************** Defines ***************************************/
/******************************************************************************/

/****************************** Encode Status *********************************/

#define MUT_DEFS_CONFIG_SUCCESS    (0u)

#define MUT_DEFS_CONFIG_FAIL       (1u)

/****************************** Decode Status *********************************/

#define MUT_DEFS_MUTATE_SUCCESS    (0u)

#define MUT_DEFS_MUTATE_FAIL       (1u)

/****************************** Flag Builder Macro ****************************/

#define MUT_STATUS_BLDR(FLAG, HIGH_BITS)    ((FLAG) | (HIGH_BITS))

#endif /* end MUTATOR_DEFS_H */