logoalt Hacker News

kllrnohjlast Monday at 3:05 AM1 replyview on HN

Re #3: vtable pointers aren't mutable...?


Replies

jstimpflelast Monday at 6:45 AM

Of course they are. The pointers to the vtable are part of the object. They aren't mutable fields as per the language, but for security concerns it doesn't matter what the language thinks. Being part of the object, the vtable pointer has to live in a writeable memory mapping (like stack / heap).

show 2 replies