// Call virtual method -> corrupt VMT -> runtime error 217 obj.CrashMe; end.
type PFakeObject = ^TFakeObject; TFakeObject = class procedure CrashMe; virtual; end; autodata runtime error 217 at 00580d29
Compile in and run on Windows → triggers 217. 2. Inject exact address 00580d29 crash If you need to reproduce the exact address, create a DLL or executable with a procedure at that relative offset: // Call virtual method -> corrupt VMT ->