Segfault4r is a module that does nothing but cause a segfault. It can
be gem installed, but it was only tested on 64 bit suse. I created
this to start getting back in to c, and learn some of ruby's c api. I
am told there could be uses for it.
Segfault4r is a module that does nothing but cause a segfault. It can
be gem installed, but it was only tested on 64 bit suse. I created
this to start getting back in to c, and learn some of ruby's c api. I
am told there could be uses for it.
Example:
require "rubygems"
require "segfault"
Segfault.now
puts "Forgive me matz."
Why not just this?
Process.kill("SEGV", Process.pid)
···
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
Segfault4r is a module that does nothing but cause a segfault. It can
be gem installed, but it was only tested on 64 bit suse. I created
this to start getting back in to c, and learn some of ruby's c api. I
am told there could be uses for it.
Example:
require "rubygems"
require "segfault"
Segfault.now
puts "Forgive me matz."
--
be kind whenever possible... it is always possible.
- the dalai lama