[panda-users] syscalls2 on_all_sys_return callback

Manolis Stamatogiannakis mstamat at gmail.com
Tue Jan 16 09:11:56 EST 2018


Hello,

I may be missing something, but it seems that the on_all_sys_return
callback is inconsistent to its definition.

The definition is:
typedef void (*on_all_sys_return_t)(CPUState *cpu, target_ulong pc,
target_ulong callno);

But it is run as:
PPP_RUN_CB(on_all_sys_return, cpu, pc, env->regs[R_EAX]);

I.e. the system call return value is supplied to the callback instead of
the system call number.

Any thoughts on this?

Thanks,
Manolis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20180116/a8c0de38/attachment.html


More information about the panda-users mailing list