<div><div dir="auto">Hi Giuseppe, </div><div dir="auto"><br></div><div dir="auto">You can run PANDA under gdb to debug plugin code. It will be easier if you compile with the -O0 -g flags set in CFLAGS. In PANDA 2.0 you can just pass the --enable-debug argument to build.sh, whereas for PANDA 1.0 I believe you need to actually edit the build script. </div><div dir="auto"><br></div><div dir="auto">Of course, some judiciously placed “printf”</div><div dir="auto">statements can be very helpful too!</div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto">Brendan </div><br><div class="gmail_quote"><div>On Thu, Mar 1, 2018 at 5:12 PM Giuseppe Laurenza &lt;<a href="mailto:laurenza@diag.uniroma1.it">laurenza@diag.uniroma1.it</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear panda user,<br>
I am trying to implement the cfi plugin. Due to the fact that the original project was developed on DECAF and TEMU I had some problem for the “conversion” of data-structure and it will be helpful to find a way to debug the execution of the plugin in order to better observe which data are missing during the execution in panda.<br>
Which is the best way to do this?<br>
Thanks in advance<br>
_______________________________________________<br>
panda-users mailing list<br>
<a href="mailto:panda-users@mit.edu" target="_blank">panda-users@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/panda-users" rel="noreferrer" target="_blank">http://mailman.mit.edu/mailman/listinfo/panda-users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Brendan Dolan-Gavitt<br>Assistant Professor, Department of Computer Science and Engineering<br>NYU Tandon School of Engineering</div>