Skip to content

Commit d7c8c58

Browse files
committed
Add qemu pid into crash log
1 parent 6539e31 commit d7c8c58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nyx/hypercall/hypercall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ void handle_hypercall_kafl_core_dump(struct kvm_run *run,
814814
assert(hypercall_enabled);
815815
char crashPath[256] = {0};
816816
int32_t pid = (int32_t)getpid();
817-
sprintf(crashPath, "/tmp/kAFL_crash_call_stack.log");
817+
sprintf(crashPath, "/tmp/kAFL_crash_call_stack_%d",pid);
818818

819819
char *crash_dump_buffer = (char*)malloc(256);
820820
memset(crash_dump_buffer, 0, 256);

0 commit comments

Comments
 (0)