LoginSignup
6
2

More than 3 years have passed since last update.

Rubyを2行でセグフォらせる

Last updated at Posted at 2020-07-01

流行ってると聞いたのでRubyでもやってみました

require 'fiddle'
Fiddle::Pointer[0].ptr

ワンライナー

ruby -r fiddle -e 'Fiddle::Pointer[0].ptr'

なんでこれでセグフォるのかはあんまり理解していません…。

6
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
2