Fix syscall post hook
This commit is contained in:
parent
090feffaaa
commit
d7de683e7d
@ -13337,6 +13337,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
|||||||
|
|
||||||
//// --- Begin LibAFL code ---
|
//// --- Begin LibAFL code ---
|
||||||
|
|
||||||
|
after_syscall:
|
||||||
if (libafl_post_syscall_hook) {
|
if (libafl_post_syscall_hook) {
|
||||||
ret = (abi_ulong)libafl_post_syscall_hook((uint64_t)ret, num,
|
ret = (abi_ulong)libafl_post_syscall_hook((uint64_t)ret, num,
|
||||||
(uint64_t)arg1,
|
(uint64_t)arg1,
|
||||||
@ -13349,7 +13350,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
|
|||||||
(uint64_t)arg8);
|
(uint64_t)arg8);
|
||||||
}
|
}
|
||||||
|
|
||||||
after_syscall:
|
|
||||||
//// --- End LibAFL code ---
|
//// --- End LibAFL code ---
|
||||||
|
|
||||||
if (unlikely(qemu_loglevel_mask(LOG_STRACE))) {
|
if (unlikely(qemu_loglevel_mask(LOG_STRACE))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user