
▲ 0 r/C_Programming
Built a lightweight Integer Overflow Detector in C. Need some brutal code review!
Hi everyone,
I've recently built a lightweight tool in C to detect and mitigate Integer Overflow (CWE-190) risks.
I wanted to make something practical for secure coding practices, so I implemented safe overflow checks using `INT_MAX`, `INT_MIN`, etc.
I've also documented how to compile and run it in the README. I would deeply appreciate any code reviews, edge-case checks, or feedback on how to improve the logic!
Here is the repository: https://github.com/gimgimdongjun79-lab/Integer-Overflow-Detector
Thanks in advance!
u/amondb — 1 day ago