[panda-users] need help reading stringserach.cpp

Gerald Van Winkle gerryvanwinkle at gvtc.com
Sat Feb 16 15:37:10 EST 2019


I'm trying to read and understand stringsearch.cpp. I'm a noob with C++. (This is actually a C++ question, but my searching C++ forums is just getting me confused.) 
My question is about how string_pos in std::map<prog_point,string_pos> &text_tracker in the mem_callback function is getting set to a value other than default? 
Specifically, where is the value for the key p in text_tracker coming from? 
Help, Gerry 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/panda-users/attachments/20190216/d8d33ff4/attachment.html


More information about the panda-users mailing list