Ultimate crash code!!!
Posted: Sun Mar 23, 2014 2:02 am
I have found a way to ultimately crashing schematic.
Following code will instantly crash application once it is activated. It is due to a fact that memory address [0] is reserved as a special value for "no address defined". If you try to load form that space schematic instantly crashes.
When you use it in poly section the code is executed when voice is created. You can therefore create a code that crashes the application on order. It might be useful for a "prank" VST that crashes a daw once you hit a button. Or even better for registration protection in your plugins and apps that will ultimately prevent user form using certain features of the program unless registered.
Following code will instantly crash application once it is activated. It is due to a fact that memory address [0] is reserved as a special value for "no address defined". If you try to load form that space schematic instantly crashes.
Code: Select all
streamout out;
mov eax,0;
fld [eax];
fstp out[0]When you use it in poly section the code is executed when voice is created. You can therefore create a code that crashes the application on order. It might be useful for a "prank" VST that crashes a daw once you hit a button. Or even better for registration protection in your plugins and apps that will ultimately prevent user form using certain features of the program unless registered.