decaf-project / DECAF

DECAF (short for Dynamic Executable Code Analysis Framework) is a binary analysis platform based on QEMU. This is also the home of the DroidScope dynamic Android malware analysis platform. DroidScope is now an extension to DECAF.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The version of QEMU in DECAF matters?

yinfeidi opened this issue · comments

I want to use qemu in DECAF while using the firmadyne to run mips firmware, but the network doesn't work like this:
Please press Enter to activate this console. [ 54.832000] ------------[ cut here ]------------
[ 54.832000] WARNING: at net/sched/sch_generic.c:255 dev_watchdog+0x160/0x2c4()
[ 54.832000] NETDEV WATCHDOG: eth0 (pcnet32): transmit queue 0 timed out
[ 54.832000] Modules linked in:
[ 54.832000] Call Trace:
[ 54.832000] [<8056b7fc>] dump_stack+0x8/0x34
[ 54.832000] [<80124180>] warn_slowpath_common+0x78/0xa4
[ 54.832000] [<80124234>] warn_slowpath_fmt+0x2c/0x38
[ 54.832000] [<8044a5e4>] dev_watchdog+0x160/0x2c4
[ 54.832000] [<801302a4>] run_timer_softirq+0x188/0x254
[ 54.832000] [<80129f68>] __do_softirq+0xcc/0x190
[ 54.832000] [<8012a1c8>] do_softirq+0x5c/0x94
[ 54.832000] [<8012a414>] irq_exit+0x4c/0xbc
[ 54.832000] [<80101a44>] ret_from_irq+0x0/0x4
[ 54.832000] [<80101c80>] r4k_wait+0x20/0x40
[ 54.832000] [<801037a4>] cpu_idle+0x30/0x60
[ 54.832000] [<80706908>] start_kernel+0x3bc/0x3dc
[ 54.832000]
[ 54.832000] ---[ end trace 1e517aac3df85c47 ]---
[ 54.832000] pcnet32: eth0: transmit timed out, status 07fb, resetting
^C
Please press Enter to activate this console.

And I checked the version of QEMU used in DECAF is 1.0 while the QEMU downloading by apt-get is 2.11.1.
So I want to ask how can we update the version of QEMU used in DECAF

How to update the version of QEMU in DECAF

I appreciate this project, while I can't compile the DECAF_qemu_2.10 plugins once adding "--target-list=mipsel-softmmu,mips-softmmu,arm-softmmu --disable-werror", but I encounter some bugs when compile the whole project like this:
" cannot convert ‘unsigned int*’ to ‘gva_t* "