panda-re / panda

Platform for Architecture-Neutral Dynamic Analysis
https://panda.re
Other
2.45k stars 475 forks source link

targetcmp: remove queue #1495

Closed be32826 closed 3 months ago

be32826 commented 3 months ago

The queue is intended to avoid rereading guest pointers, but it assumes that the same pointer always has the same data, which isn't always true. For example, a program can compare a target string to a buffer, then change the contents of the buffer and compare again, and the queue will prevent targetcmp from tracking the second comparison.