These are chat archives for BinaryAnalysisPlatform/qira
I encounter a very strange bug in qira.
I use Ubuntu 15.10.
then I install qira and execute fetchlib.sh.
Everything works fine.
After I install gcc-multilib.
a.out is 32bits elf.
file a.out a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b87061a2df07fc96d9556d289e26556605f7a838, not stripped
I execute command
And error appear, only one line error message.
/home/apple/a.out: ��: ̀Í�: D$($: Error 18446744073549524638
I try to trace the code.
I found qemu is run with QEMU_LD_PREFIX.
It has no relation with the system's library.
I don't think gcc-multilib will affect the qemu exection.
I see middleware/qira_program.py
and uncomment this
print "***",' '.join(eargs)
use this line output to directly run the qemu on terminal and it works!!!
But I use qira call the qemu with QEMU_LD_PREFIX environment variable, it failed.
I am wondering.
Need some help plz.