fix usage of nyx_debug_p() (add missing prefix)
This commit is contained in:
parent
e83025a145
commit
80f22f77d6
@ -607,7 +607,7 @@ static void handle_hypercall_kafl_kasan(struct kvm_run *run, CPUState *cpu, uint
|
|||||||
} else{
|
} else{
|
||||||
nyx_debug_p(CORE_PREFIX, "KASAN detected during initialization of stage 1 or stage 2 loader");
|
nyx_debug_p(CORE_PREFIX, "KASAN detected during initialization of stage 1 or stage 2 loader");
|
||||||
//hypercall_snd_char(KAFL_PROTO_KASAN);
|
//hypercall_snd_char(KAFL_PROTO_KASAN);
|
||||||
nyx_debug_p("Protocol - SEND: KAFL_PROTO_KASAN");
|
nyx_debug_p(CORE_PREFIX, "Protocol - SEND: KAFL_PROTO_KASAN");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -178,7 +178,7 @@ void handle_hypercall_kafl_nested_release(struct kvm_run *run, CPUState *cpu, ui
|
|||||||
|
|
||||||
return;
|
return;
|
||||||
//assert(false);
|
//assert(false);
|
||||||
nyx_debug_p("%s %d", __func__, init_state);
|
nyx_debug_p(CORE_PREFIX, "%s %d", __func__, init_state);
|
||||||
//sleep(10);
|
//sleep(10);
|
||||||
|
|
||||||
/* magic */
|
/* magic */
|
||||||
@ -193,7 +193,7 @@ void handle_hypercall_kafl_nested_release(struct kvm_run *run, CPUState *cpu, ui
|
|||||||
|
|
||||||
//synchronization_disable_pt(cpu);
|
//synchronization_disable_pt(cpu);
|
||||||
|
|
||||||
nyx_debug_p("Protocol - SEND: KAFL_PROTO_RELEASE");
|
nyx_debug_p(CORE_PREFIX, "Protocol - SEND: KAFL_PROTO_RELEASE");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@ -206,7 +206,7 @@ void handle_hypercall_kafl_nested_release(struct kvm_run *run, CPUState *cpu, ui
|
|||||||
//synchronization_disable_pt(cpu);
|
//synchronization_disable_pt(cpu);
|
||||||
|
|
||||||
|
|
||||||
nyx_debug_p("%s UNLOCKED", __func__);
|
nyx_debug_p(CORE_PREFIX, "%s UNLOCKED", __func__);
|
||||||
|
|
||||||
// printf("INTEL PT is disabled!\n");
|
// printf("INTEL PT is disabled!\n");
|
||||||
|
|
||||||
@ -217,7 +217,7 @@ void handle_hypercall_kafl_nested_release(struct kvm_run *run, CPUState *cpu, ui
|
|||||||
//fast_reload_restore(get_fast_reload_snapshot());
|
//fast_reload_restore(get_fast_reload_snapshot());
|
||||||
qemu_mutex_unlock_iothread();
|
qemu_mutex_unlock_iothread();
|
||||||
|
|
||||||
nyx_debug_p("%s UNLOCKED 2", __func__);
|
nyx_debug_p(CORE_PREFIX, "%s UNLOCKED 2", __func__);
|
||||||
|
|
||||||
|
|
||||||
//kvm_cpu_synchronize_state(cpu);
|
//kvm_cpu_synchronize_state(cpu);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user