Search code examples
c++assemblyreverse-engineeringpowerpc

What is a functions list pointer at beginning of structure called c++


I'm reversing some assembly code and I'm consistently coming across certain structures that have an address at the very beginning of the structure.

This address seems to be a pointer to the beginning of an array of function addresses related to that specific structure.

I've also noticed that the first function in the array is usually related to deallocated/cleaning up of the structure.

Does anyone know what this type of structuring is called? I'd like to learn how this works


Solution

  • That's the "vtable" a.k.a. "virtual method table".