Author Topic: auto crasher  (Read 1527 times)

Offline FallenTree

  • BFF
  • ***
  • Posts: 485
    • View Profile
auto crasher
« on: February 13, 2013, 05:57:58 am »
Hey, I've got this idea from LDMUD, so I implemented a auto crasher for fluffos

https://github.com/sunyc/fluffos/blob/2.24.sunyc4/src/testsuite/command/crasher.c

and there is indeed a few cases showing incorrect stack / crashes etc.

https://github.com/sunyc/fluffos/tree/2.24.sunyc4/src/testsuite/crasher/

comments are welcome.

Offline quixadhal

  • BFF
  • ***
  • Posts: 642
    • View Profile
    • WileyMUD
Re: auto crasher
« Reply #1 on: February 13, 2013, 12:08:42 pm »
Good idea!

In theory, the driver should NEVER crash as a result of any LPC code, valid or not... so I think it's a great idea to try throwing invalid stuff at it to see if it correctly returns an error, or does something unpleasant.

Offline FallenTree

  • BFF
  • ***
  • Posts: 485
    • View Profile
Re: auto crasher
« Reply #2 on: February 13, 2013, 03:50:46 pm »
It's going to be included in 2.24.sunyc4