
Tried to minimize actual code modifcations but we got - several comments/printf messages edited to meet line limits - occasionally switch some lines to put declarations or printfs in blocks - couple more places marked TODO or FIXME to avoid non-trivial changes - fixed PAGE_SIZE define in helpers.h to avoid redeclaration warning - remove several chunks of dead or commented code Co-authored-by: Steffen Schulz <steffen.schulz@intel.com>
24 lines
662 B
C
24 lines
662 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(char* msg);
|
|
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);
|