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.
- Host: GitHub
- URL: https://github.com/cleoold/segmentation-fault
- Owner: cleoold
- License: cc0-1.0
- Created: 2020-08-01T07:43:55.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T00:28:14.000Z (over 5 years ago)
- Last Synced: 2025-01-22T20:51:35.816Z (over 1 year ago)
- Topics: c, pyhton
- Language: C
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.