💾 Archived View for gem.walkero.gr › ko-fi › Flawfinder-ported-to-AmigaOS-4.gmi captured on 2023-11-04 at 11:26:10. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
25 July 2022
In the last couple of years that I started working on AmigaOS applications, I always look how to make use of modern tools with my code and how to avoid doing mistakes that will cost performance and, most importantly, security. That's why my projects are covered by an online test platform like Codacy.
What I found is that such platforms use tools that are available, such as CppCheck and Flawfinder. Then I thought, "Is it possible to bring those tools to AmigaOS 4? Would it be useful?". So...
Flawfinder is a code analysis tool that searches in source files, looking for potential security flaws. This is developed by David A. Wheeler in Python, supporting v2.7 and above. So it looked like a good candidate to work with.
The problem with AmigaOS 4 is that the available Python version is 2.5. The good thing is that Flawfinder does not use code that is really tough to backport. After a few changes on print() usage here and there and some other fixes, Flawfinder works fine and it is available for everyone to use it.
You can find my work and my latest release on my personal Git website and on OS4Depot.
The only thing you need to do to use it is to extract the lha file contents anywhere on your hard disk and execute something like:
flawfinder src/
Inside the archive, you will find the documentation in HTML and PDF format, and please consult it for a lot more options.
Please let me know if you find Flawfinder useful. Off to work on CppCheck now.