An open API service indexing awesome lists of open source software.

https://github.com/cleoold/segmentation-fault

Crash your interpreter via importing unmanaged function.
https://github.com/cleoold/segmentation-fault

c pyhton

Last synced: over 1 year ago
JSON representation

Crash your interpreter via importing unmanaged function.

Awesome Lists containing this project

README

          

# segmentation-fault

This repository lists the ways to segmentation-faulting the interpreters. It does so by writting a native C procedure that errors, then importing them into the runtime.

On the surface it crashes programs, but this repo is really some notes about how to call C interfaces in other languages.

These are currently only tested on Linux (amd64) (I mean the behavior that the interpreter crashes).

Projects are standalone so there are a lot of duplicate codes, except in `common/` folder where there are some shared macros. This aims to help the nagivation without seeing unneeded files.