Skip to content

n0nexist/UnsafePlusPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🚫 UnsafePlusPlus

alt-text
Avoid using unsafe functions in your C/C++ code.

🔩 Compiling

$ g++ main.cpp -o unsafeplusplus

💻 Usage

$ ./unsafeplusplus (file or directory)

🔺 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 ⁉️

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.