<div dir="ltr">Yes, unfortunately. I believe this is because init_plugin is called before the QEMU machine has been set up, so the taint system can&#39;t create things like the shadow memory (since there&#39;s no RAM yet). I have a patch that adds a callback for after_machine_init, at which point it&#39;s safe to enable taint â€“ I will try to get this upstreamed shortly...<div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 10:44 AM, Manolis Stamatogiannakis <span dir="ltr">&lt;<a href="mailto:mstamat@gmail.com" target="_blank">mstamat@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I&#39;ve found that taint2_enable_taint() segfaults if called from within init_plugin().<div>Is this the expected behaviour?</div><span class="m_-8156247815707706872HOEnZb"><font color="#888888"><div><br></div><div>M.</div></font></span></div>
<br>______________________________<wbr>_________________<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<wbr>/listinfo/panda-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-8156247815707706872gmail_signature" data-smartmail="gmail_signature">Brendan Dolan-Gavitt<br>Assistant Professor, Department of Computer Science and Engineering<br>NYU Tandon School of Engineering</div>
</div></div>