Classroom icon indicating copy to clipboard operation
Classroom copied to clipboard

Suggestions for additional features

Open mrfearless opened this issue 5 years ago • 1 comments

Hi,

Here are a few suggestions for other possible future features that might be implemented in Classroom:

  • Allow jumping to the class definition label in the cpu view - from the selected class name in the left panel list in the Classroom tab - double click name or right click with a menu perhaps?
  • Add a plugin right click context menu in cpu view - to add a currently selected label to a class as a member function - show a dialog with a list perhaps asking which class to add the function to
  • Add a plugin right click context menu in dump view - to add current address to a class as a class variable - show dialog/list to ask which class to add to, similar to previous option

Thanks

mrfearless avatar Nov 16 '19 17:11 mrfearless

  • There is no "class definition label". All member functions have the class prefix. If you add the class prefix to a function, it is automatically added to the list of member functions. If you remove the class prefix, it will be deleted from the list of member functions. So where do you want to go?
  • A dialog like this just helps you selecting class names. But as the source code is unavailable you tend to use very short class names like "main", "win" and "unknown", limiting its usefulness. It might be implemented but I don't want to add it right now.
  • A class member variable is saved in the class instance, addressed by its offset to the object. When you click in dump view, you only have an address but neither a class instance nor an offset to that instance. Currently planned features like "known instances" may be added in this way, but that feature is focused on typical object-oriented applications where an instance is more typically allocated on heap, saved in member variable of another class, or otherwise has dynamic memory address. This complex addressing is not represented by just right-clicking on dump view.

torusrxxx avatar Nov 17 '19 03:11 torusrxxx