https://github.com/n0nexist/unsafeplusplus
Avoid using unsafe functions in your C/C++ code.
https://github.com/n0nexist/unsafeplusplus
buffer-overflow buffer-overflow-attack buffer-overflow-tool buffer-overflow-tools c c-buffer-overflow c-plus-plus c-plus-plus-buffer-overflow
Last synced: 5 months ago
JSON representation
Avoid using unsafe functions in your C/C++ code.
- Host: GitHub
- URL: https://github.com/n0nexist/unsafeplusplus
- Owner: n0nexist
- Created: 2023-01-15T12:03:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T16:41:20.000Z (almost 3 years ago)
- Last Synced: 2025-03-18T06:13:07.967Z (9 months ago)
- Topics: buffer-overflow, buffer-overflow-attack, buffer-overflow-tool, buffer-overflow-tools, c, c-buffer-overflow, c-plus-plus, c-plus-plus-buffer-overflow
- Language: C++
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :no_entry_sign: UnsafePlusPlus

Avoid using unsafe functions in your C/C++ code.
# :nut_and_bolt: Compiling
```
$ g++ main.cpp -o unsafeplusplus
```
# :computer: Usage
```
$ ./unsafeplusplus (file or directory)
```
# :small_red_triangle: Rating scale
-
LOW - the author has to be an idiot to use this function in a vulnerable way. -
MID - if the input passed to this function isn't checked, it's probably vulnerable. -
HIGH - the author is an idiot for using this function, and it's 100% vulnerable.
# How does it work :interrobang:
This program checks for unsafe functions on every line of a given file (or directory), with it's extension being either .c or .cpp
It does not check how the functions are actually used, hence it just gives the function's rating.