"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libhfcommon/util.h" between
honggfuzz-2.4.tar.gz and honggfuzz-2.5.tar.gz

About: honggfuzz is a security oriented, feedback-driven, evolutionary, easy-to-use fuzzer with powerful analysis options.

util.h  (honggfuzz-2.4):util.h  (honggfuzz-2.5)
skipping to change at line 165 skipping to change at line 165
#define HF_MIN(x, y) ((x < y) ? x : y) #define HF_MIN(x, y) ((x < y) ? x : y)
#define HF_CAP(v, x, y) HF_MAX(x, HF_MIN(y, v)) #define HF_CAP(v, x, y) HF_MAX(x, HF_MIN(y, v))
#define util_Log2(v) ((sizeof(unsigned int) * 8) - __builtin_clz((unsigned in t)v) - 1) #define util_Log2(v) ((sizeof(unsigned int) * 8) - __builtin_clz((unsigned in t)v) - 1)
typedef enum { typedef enum {
LHFC_ADDR_NOTFOUND = 0, LHFC_ADDR_NOTFOUND = 0,
LHFC_ADDR_RO = 1, LHFC_ADDR_RO = 1,
LHFC_ADDR_RW = 2, LHFC_ADDR_RW = 2,
} lhfc_addr_t; } lhfc_addr_t;
extern void util_ParentDeathSigIfAvail(int signo);
extern bool util_PinThreadToCPUs(uint32_t startcpu, uint32_t cpucnt);
extern void* util_Malloc(size_t sz); extern void* util_Malloc(size_t sz);
extern void* util_Calloc(size_t sz); extern void* util_Calloc(size_t sz);
extern void* util_AllocCopy(const uint8_t* ptr, size_t sz); extern void* util_AllocCopy(const uint8_t* ptr, size_t sz);
extern void* util_MMap(size_t sz); extern void* util_MMap(size_t sz);
extern void* util_Realloc(void* ptr, size_t sz); extern void* util_Realloc(void* ptr, size_t sz);
extern uint64_t util_rndGet(uint64_t min, uint64_t max); extern uint64_t util_rndGet(uint64_t min, uint64_t max);
extern void util_rndBuf(uint8_t* buf, size_t sz); extern void util_rndBuf(uint8_t* buf, size_t sz);
extern void util_rndBufPrintable(uint8_t* buf, size_t sz); extern void util_rndBufPrintable(uint8_t* buf, size_t sz);
extern uint64_t util_rnd64(void); extern uint64_t util_rnd64(void);
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)