I made some PE analysis script. One part is virtual functions extraction, I implemented vTables lookup using this schema. Actual algorithm of lookup is not important part of question. I don't know how to determine actual size of vTable, that I get is pointer to COL, pointer to 1st virtual method, pointer to 2nd virtual method, ... pointer to last virtual method. So the problem is that I don't know which virtual method is the last. Any help related to this is appreciate.
vTable size calculation (for MSVC)
windows;c++;vtables;msvc