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!!!
4 posts
• Page 1 of 1
Ultimate crash code!!!
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.
- Attachments
-
- code_crasher.fsm
- (1.32 KiB) Downloaded 1047 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Ultimate crash code!!!
Good one.
Until they fix it in FS.
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.
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!!!
tester wrote:Good one.
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!!!
A little fun improvement xD
- Attachments
-
- code_crasher.fsm
- (1.46 KiB) Downloaded 1067 times
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 115 guests