Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Ultimate crash code!!!

Post any examples or modules that you want to share here

Ultimate crash code!!!

Postby KG_is_back » 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.
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.
Attachments
code_crasher.fsm
(1.32 KiB) Downloaded 987 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Ultimate crash code!!!

Postby tester » Sun Mar 23, 2014 2:12 am

Good one. :mrgreen:

Until they fix it in FS. :-)
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Re: Ultimate crash code!!!

Postby KG_is_back » Sun Mar 23, 2014 2:18 am

tester wrote:Good one. :mrgreen:

Until they fix it in FS. :-)


that's the cool thing about it - it is unfixable. The code would have to check the address every time before fld [eax]; gets executed - it would have to automatically add lines to your assembly code which is generally a very bad idea in the first place (it would kill the point of assembler prmitive, as it would "unoptimize" your every schematic). It works in C++ and every programing language too - ULTIMATE CODE-CRASH!!!
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Ultimate crash code!!!

Postby KG_is_back » Sun Mar 23, 2014 2:33 am

A little fun improvement xD
Attachments
code_crasher.fsm
(1.46 KiB) Downloaded 1006 times
KG_is_back
 
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia


Return to User Examples

Who is online

Users browsing this forum: Google [Bot] and 40 guests