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.
GNU General Public License v3.0
807 stars 168 forks source link

trace_ reader build error #84

Closed blingcho closed 4 years ago

blingcho commented 4 years ago

Hi!

now i am trying to build trace_reader(tracecap is done) but i have some trouble with building DECAF plugin.

I can build tracecap plugin and extract binary instruction from decaf. And next, i try to build trace_reader but there is an error

libdasm.o: In function `get_operand_string':
/DECAF/decaf/plugins/tracecap/trace_reader/libdasm.c:602: undefined reference to `MODE_CHECK_OPERAND'
/DECAF/decaf/plugins/tracecap/trace_reader/libdasm.c:676: undefined reference to `MODE_CHECK_ADDR'
libdasm.o: In function `get_mnemonic_string':
/DECAF/decaf/plugins/tracecap/trace_reader/libdasm.c:1068: undefined reference to `MODE_CHECK_OPERAND'
/DECAF/decaf/plugins/tracecap/trace_reader/libdasm.c:1088: undefined reference to `MODE_CHECK_OPERAND'

Have i missed something?

blingcho commented 4 years ago

sorry. After delete all inline command, it's done well. thanks