[fpc-devel] Quick question on VMT / writeable or protected memory

2021-04-13 Thread Martin Frb via fpc-devel
Opening a can of worms here. But leaving all pitfalls aside. If one wanted to write to the VMT of a class, would that be possible? Would the VMT be stored in write-able memory, once the exe is loaded? Thanks ___ fpc-devel maillist - fpc-devel@lists.f

Re: [fpc-devel] Quick question on VMT / writeable or protected memory

2021-04-13 Thread Jonas Maebe via fpc-devel
On 14/04/2021 01:22, Martin Frb via fpc-devel wrote: > Opening a can of worms here. But leaving all pitfalls aside. > > If one wanted to write to the VMT of a class, would that be possible? > Would the VMT be stored in write-able memory, once the exe is loaded? It depends on the platforms. Most p