<div dir="ltr"><div><div><div><div><div><div><div>Hi PANDAs,<br><br></div>Hoping someone can steer me in the right direction re pandalog.<br><br></div>The problem is that after running the plugin, I only have ìnstr`and `pc` - I don&#39;t have the values I&#39;ve added as per the proto file and the plugin itself.<br><br></div><div>No compilation errors, no runtime errors.<br><br></div><div>Invocation<br>======<br># qemu-system-i386 -m 2G -replay notepad01 -panda testplugin -os windows-32-7 -pandalog notepad.plog<br></div><div><br></div><div>testplugin.proto<br>=========<br>optional uint32 tp_size = 10001;<br>optional uint32 tp_address = 10002;<br>optional bool tp_is_read = 10003;<br><br></div><div>testplugin.cpp<br>=========<br></div><div>--SNIP--<br>if (pandalog) {<br>    Panda__LogEntry ple = PANDA__LOG_ENTRY__INIT;<br>    ple.has_tp_size = true;<br>    ple.tp_size = size;<br>    pandalog_write_entry(&amp;ple);<br>}<br></div><div>--SNIP--<br></div><div><br></div># python panda/scripts/plog_reader.py notepad.plog<br>[<br>{<br>  &quot;pc&quot;: &quot;18446744073709551615&quot;, <br>  &quot;instr&quot;: &quot;18446744073709551615&quot;<br>}<br>,<br>{<br>  &quot;pc&quot;: &quot;2190075234&quot;, <br>  &quot;instr&quot;: &quot;82801390&quot;<br>}<br></div>--SNIP--<br><br></div>Any suggestions greatly appreciated.<br><br></div>Thanks,<br></div>Adam<br></div>