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

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.

Awesome Lists containing this project

README

          

# :no_entry_sign: UnsafePlusPlus
![alt-text](https://github.com/n0nexist/UnsafePlusPlus/blob/main/image.png?raw=true)

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.