<div dir="ltr">Hello,<div><br></div><div>I&#39;m using the tain2 plugin and I&#39;m trying to iterate over the taint labels of a buffer.</div><div>My code looks like this:</div><div><br></div><div>for (int32_t i=0; i&lt;buflen; i++) {<br></div><div>uint32_t pa = panda_virt_to_phys(env, buf+i);<br></div><div>taint2_labelset_ram_iter(pa, label_print, NULL);<br><div>}</div><div><br></div><div>static int label_print(uint32_t el, void *sup) {<br></div><div><div>std::cout &lt;&lt; &quot; &quot; &lt;&lt; el;</div><div>return 0;</div><div>}</div></div></div><div><br></div><div>What doesn&#39;t seem right is that always the same value of 1 is printed. Am I missing something in the API/configuration that prevents this from working?</div><div><br></div><div>Thanks,</div><div>M.</div></div>