an irb session showing an example of attaching to the libc puts function, it works when called via FFI::Function#call, but segfaults when called via the attached method
https://social.hails.org/system/media_attachments/files/112/580/209/971/128/668/original/14d308076a4ed1f8.png