<div dir="ltr">Clean build with latest changes. Thanks.<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 20, 2015 at 7:24 PM, Leek, Timothy - 0559 - MITLL <span dir="ltr">&lt;<a href="mailto:tleek@ll.mit.edu" target="_blank">tleek@ll.mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>Hi Brian. </div><div><br></div><div>Fixed for real this time I believe.  Pls test?  </div><div><br></div><span><div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt"><span style="font-weight:bold">From: </span> &lt;Leek&gt;, Timothy Leek &lt;<a href="mailto:tleek@ll.mit.edu" target="_blank">tleek@ll.mit.edu</a>&gt;<br><span style="font-weight:bold">Date: </span> Wednesday, May 20, 2015 at 10:08 AM<br><span style="font-weight:bold">To: </span> Brian Mitchell &lt;<a href="mailto:bem@panix.com" target="_blank">bem@panix.com</a>&gt;<div><div class="h5"><br><span style="font-weight:bold">Cc: </span> &quot;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&quot; &lt;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span> Re: [panda-users] build.sh error<br></div></div></div><div><div class="h5"><div><br></div><div><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>K.  I’ll push a fix.  Thx.</div><div><br></div><span><div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt"><span style="font-weight:bold">From: </span>Brian Mitchell &lt;<a href="mailto:bem@panix.com" target="_blank">bem@panix.com</a>&gt;<br><span style="font-weight:bold">Date: </span>Wednesday, May 20, 2015 at 9:54 AM<br><span style="font-weight:bold">To: </span>Timothy Leek &lt;<a href="mailto:tleek@ll.mit.edu" target="_blank">tleek@ll.mit.edu</a>&gt;<br><span style="font-weight:bold">Cc: </span>&quot;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&quot; &lt;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span>Re: [panda-users] build.sh error<br></div><div><br></div><div><div><div dir="ltr">Actually I may have spoken too soon, that does appear to have worked, the prior set of errors were my fault (forgot to make clean before I retried).
<div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 20, 2015 at 9:30 AM, Leek, Timothy - 0559 - MITLL
<span dir="ltr">&lt;<a href="mailto:tleek@ll.mit.edu" target="_blank">tleek@ll.mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>I think this is my bad.  Does it compile for you if you comment out this line from taint2.cpp? </div><div><br></div><div>#<span>define</span> <span>PANDA_LAVA</span></div><div><br></div><div><span>Let me know and I’ll check in a correction!</span></div><div><span><br></span></div><div><span>Cheers.</span></div><div><span><br></span></div><div><span>Tim</span></div><div><br></div><span><div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt"><span style="font-weight:bold">From: </span>Brian Mitchell &lt;<a href="mailto:bmitchel@gmail.com" target="_blank">bmitchel@gmail.com</a>&gt;<br><span style="font-weight:bold">Reply-To: </span>&quot;<a href="mailto:bmitchell@pobox.com" target="_blank">bmitchell@pobox.com</a>&quot; &lt;<a href="mailto:bmitchell@pobox.com" target="_blank">bmitchell@pobox.com</a>&gt;<br><span style="font-weight:bold">Date: </span>Wednesday, May 20, 2015 at 1:38 AM<br><span style="font-weight:bold">To: </span>&quot;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&quot; &lt;<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a>&gt;<br><span style="font-weight:bold">Subject: </span>[panda-users] build.sh error<br></div><div><div><div><br></div><div><div><div dir="ltr">I&#39;m a new user to panda, but I&#39;m encountering a problem building the latest version with the new taint2 hypercall includes. Here&#39;s the output from build.sh:
<div><br></div><div><div>Building API for plugin sample ... Done!</div><div>Building API for plugin taint ... Done!</div><div>Building API for plugin taint2 ... Done!</div><div>Building API for plugin callstack_instr ... Done!</div><div>Building API for plugin osi ... Done!</div><div>panda_plugins/dead_data/dead_data.proto</div><div>panda_plugins/taint2/taint2.proto</div><div>panda_plugins/callstack_instr/callstack_instr.proto</div><div>panda_plugins/tainted_branch/tainted_branch.proto</div><div>panda_plugins/asidstory/asidstory.proto</div><div>panda_plugins/file_taint/file_taint.proto</div><div>panda_plugins/win7proc/win7proc.proto</div><div>panda_plugins/ida_taint2/ida_taint2.proto</div><div>panda_plugins/tainted_instr/tainted_instr.proto</div><div>generating protobuf code with protoc-c</div><div>Found ../llvm -- LLVM SUPPORT IS ENABLED</div><div>--enable-llvm --with-llvm=/home/brian/panda/llvm/Release</div><div>Install prefix    /home/brian/panda/qemu/install</div><div>BIOS directory    /home/brian/panda/qemu/install/share/qemu</div><div>binary directory  /home/brian/panda/qemu/install/bin</div><div>library directory /home/brian/panda/qemu/install/lib</div><div>include directory /home/brian/panda/qemu/install/include</div><div>config directory  /home/brian/panda/qemu/install/etc</div><div>Manual directory  /home/brian/panda/qemu/install/share/man</div><div>ELF interp prefix /usr/gnemul/qemu-%M</div><div>Source path       /home/brian/panda/qemu</div><div>C compiler        gcc</div><div>C++ compiler      g++</div><div>Host C compiler   gcc</div><div>CFLAGS            -g </div><div>CXXFLAGS          -g </div><div>QEMU_CFLAGS       -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -I/usr/local/include  -fstack-protector-all -Wendif-labels
 -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -I/usr/include/libpng12   -I/usr/include/spice-server -I/usr/include/pixman-1
 -I/usr/include/spice-1    </div><div>QEMU_CXXFLAGS     -O2 </div><div>LDFLAGS           -Wl,--warn-common -m64 -g -L/usr/local/lib -L/usr/local/lib64 -L/usr/local/lib -lprotobuf-c -lprotobuf -lpthread  -rdynamic</div><div>make              make</div><div>install           install</div><div>python            python</div><div>smbd              /usr/sbin/smbd</div><div>host CPU          x86_64</div><div>host big endian   no</div><div>target list       x86_64-softmmu i386-softmmu arm-softmmu</div><div>tcg debug enabled no</div><div>Mon debug enabled no</div><div>gprof enabled     no</div><div>sparse enabled    no</div><div>strip binaries    yes</div><div>profiler          no</div><div>static build      no</div><div>-Werror enabled   no</div><div>SDL support       yes</div><div>curses support    yes</div><div>curl support      yes</div><div>check support     no</div><div>mingw32 support   no</div><div>Audio drivers     oss</div><div>Extra audio cards ac97 es1370 sb16 hda</div><div>Block whitelist   </div><div>Mixer emulation   no</div><div>VirtFS support    no</div><div>VNC support       yes</div><div>VNC TLS support   yes</div><div>VNC SASL support  yes</div><div>VNC JPEG support  yes</div><div>VNC PNG support   yes</div><div>VNC thread        no</div><div>xen support       no</div><div>brlapi support    yes</div><div>bluez  support    yes</div><div>Documentation     yes</div><div>NPTL support      yes</div><div>GUEST_BASE        yes</div><div>PIE               no</div><div>vde support       yes</div><div>Linux AIO support yes</div><div>ATTR/XATTR support yes</div><div>Install blobs     yes</div><div>LLVM support      yes</div><div>Android support   no</div><div>KVM support       yes</div><div>TCG interpreter   no</div><div>fdt support       yes</div><div>preadv support    yes</div><div>fdatasync         yes</div><div>madvise           yes</div><div>posix_madvise     yes</div><div>uuid support      yes</div><div>vhost-net support yes</div><div>Trace backend     nop</div><div>Trace output file trace-&lt;pid&gt;</div><div>spice support     yes</div><div>rbd support       no</div><div>xfsctl support    yes</div><div>nss used          no</div><div>usb net redir     yes</div><div>OpenGL support    yes</div><div>libiscsi support  no</div><div>build guest agent yes</div><div>  GEN   config-host.h</div><div>  GEN   trace.h</div><div>  GEN   trace.c</div><div>  GEN   config-target.h</div><div>  CC    x86_64-softmmu/panda/pandalog.pb-c.o</div><div>  CC    x86_64-softmmu/panda/pandalog.o</div><div>  LINK  x86_64-softmmu/qemu-system-x86_64</div><div>../slirp/misc.o: In function `memset&#39;:</div><div>/usr/include/x86_64-linux-gnu/bits/string3.h:82: warning: memset used with constant zero length parameter; this could be due to transposed parameters</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>make[2]: Nothing to be done for `all&#39;.</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/bitvector_label_set.o</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_32.o</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/shad_dir_64.o</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint_processor.o</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/taint.o</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/llvm_taint_lib.o</div><div>  PLUGIN  /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint.so</div><div>  CXX   /home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint2/taint2.o</div><div>taint2.cpp:114:61: fatal error: ../../../../lava/include/panda_hypercall_struct.h: No such file or directory</div><div>compilation terminated.</div><div>make[2]: *** [/home/brian/panda/qemu/x86_64-softmmu/panda_plugins/panda_taint2/taint2.o] Error 1</div><div>make[1]: *** [plugin-taint2] Error 2</div><div>make: *** [subdir-x86_64-softmmu] Error 2</div></div><div><br></div></div></div></div></div></div></span></div></blockquote></div><br></div></div></div></span></div></div></div></div></span></div>
</blockquote></div><br></div>