extern some variables + cleanup (#86)

This commit is contained in:
Romain Malmain 2024-09-12 19:49:02 +02:00 committed by GitHub
parent ee43af7f80
commit f58a6859f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View File

@ -16,6 +16,9 @@ struct libafl_mapinfo {
bool is_valid;
};
extern void (*libafl_dump_core_hook)(int host_sig);
extern int libafl_force_dfl;
void libafl_dump_core_exec(int signal);
void libafl_qemu_handle_crash(int host_sig, siginfo_t* info, void* puc);

View File

@ -736,11 +736,6 @@ void die_with_signal(int host_sig)
_exit(EXIT_FAILURE);
}
//// --- Begin LibAFL code ---
//// --- End LibAFL code ---
static G_NORETURN
void dump_core_and_abort(CPUArchState *env, int target_sig)
{