[DiscordArchive] Hey robinsch, have another question about vmt.
[DiscordArchive] Hey robinsch, have another question about vmt.
Archived author: Saty • Posted: 2025-06-06T12:43:56.628000+00:00
Original source
Huh...
Archived author: robinsch • Posted: 2025-06-06T12:44:24.716000+00:00
Original source
just read online how memory layout works, before you get more confused xD
Archived author: Saty • Posted: 2025-06-06T12:44:52.288000+00:00
Original source
Why is there no "Do this for me" button in IDA
Archived author: robinsch • Posted: 2025-06-06T12:45:04.793000+00:00
Original source
because it's IDA
Archived author: robinsch • Posted: 2025-06-06T12:45:07.521000+00:00
Original source
check for plugins or use IDAPython
Archived author: Saty • Posted: 2025-06-06T12:45:29.296000+00:00
Original source
Yeah already looked at VMT generation plugins haha
Archived author: Deamon • Posted: 2025-06-06T12:46:29.348000+00:00
Original source
And to completely close this topic, my point was that
```cpp
class A {}
class B {}
class C : public A, B {}
//is equal to delegate pattern
class D {
private:
A m_a;
B m_b;
}
```
![[Image: 06_14_46_11_ida.png?ex=690c98a9&is=690b4...7171e8fe7&]](https://cdn.discordapp.com/attachments/1086807686571642900/1380528290196099102/06_14_46_11_ida.png?ex=690c98a9&is=690b4729&hm=492007031b8a339ffbecdaf49f1cbdddf651340f2452a1c06e8d1407171e8fe7&)
Archived author: Saty • Posted: 2025-06-06T12:46:33.311000+00:00
Original source
Love how IDAs "create new struct" just turns the vmt into a float lel
![[Image: 06_14_46_11_ida.png?ex=690c98a9&is=690b4...7171e8fe7&]](https://cdn.discordapp.com/attachments/1086807686571642900/1380528290196099102/06_14_46_11_ida.png?ex=690c98a9&is=690b4729&hm=492007031b8a339ffbecdaf49f1cbdddf651340f2452a1c06e8d1407171e8fe7&)
Archived author: Saty • Posted: 2025-06-06T12:47:28.131000+00:00
Original source
I should probably learn C and C++ a bit more too.
I didn't know you can inheritc from 2 classes at once
Archived author: Saty • Posted: 2025-06-06T12:48:00.998000+00:00
Original source
I thought you inherit one class from another, then another etc, like managed languages like C# or Java