
Let nyx_abort() take a format string and replace instances of fprintf/nyx_debug with subsequent nyx_abort / abort / assert.
24 lines
735 B
C
24 lines
735 B
C
#pragma once
|
|
|
|
uint64_t get_rip(CPUState *cpu);
|
|
|
|
typedef struct nyx_coverage_bitmap_copy_s {
|
|
void *coverage_bitmap;
|
|
void *ijon_bitmap_buffer;
|
|
} nyx_coverage_bitmap_copy_t;
|
|
|
|
void nyx_abort(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
|
bool is_called_in_fuzzing_mode(const char *hypercall);
|
|
|
|
nyx_coverage_bitmap_copy_t *new_coverage_bitmaps(void);
|
|
void coverage_bitmap_reset(void);
|
|
void coverage_bitmap_copy_to_buffer(nyx_coverage_bitmap_copy_t *buffer);
|
|
void coverage_bitmap_copy_from_buffer(nyx_coverage_bitmap_copy_t *buffer);
|
|
|
|
int get_capstone_mode(int word_width_in_bits);
|
|
|
|
bool apply_capabilities(CPUState *cpu);
|
|
|
|
bool folder_exits(const char *path);
|
|
bool file_exits(const char *path);
|