lazymio
                                            lazymio
                                        
                                    What’s your freebsd, ld, libc version? We need to reproduce this locally. ________________________________ From: dodaeche Sent: Saturday, February 27, 2021 6:43:57 PM To: qilingframework/qiling Cc: lazymio ; Comment Subject: Re:...
Hmmm, could you post your `ld` and `libc` of the rootfs you specify?
Pushed a fix 14504f1a, but the lib you provided may be wrong as the ouput on my machine is: ``` ld-elf.so.1: /lib/libc.so.7: invalid file format ``` Could you try again...
hmmm, at least we are getting the same error. I will investigate it tomorrow.
The implementation of freebsd syscall has some problems. Working on it.
This depends on when Unicorn updates its pc register (before or after calling users' cb), which behaves differently among archs.
> Got it, so there is no proper solution to fix this issue? Not sure, maybe we can force Unicorn to update the pc register at a fixed time, either...
How to reproduce?
Why `pc_addr + 3` instead of `pc_addr + 4`?
> > Why `pc_addr + 3` instead of `pc_addr + 4`? > > sorry, it is a handwriting error in this issue. Actually, it is 'pc_addr+4' in the code. Please...