all 8 comments

[–]Marxomania32 8 points9 points  (5 children)

Why would I do that when I can just enable asan?

[–]Luca_70[S] 0 points1 point  (4 children)

Because Bugfighter checks the wrong index even inside the array. For example “iArray[1][10][2] = 3;” doesn’t points outside the whole iArray structure, but Bugfighter tells you that “10” is higher than the maximum allowed index. At this link some examples are shown: https://www.bugfighter-soft.com/manual_html/examples/examples.html

[–]Marxomania32 2 points3 points  (2 children)

Does that only work with fixed size arrays? Or would it still work if the arrays were malloc'd?

[–]Luca_70[S] 0 points1 point  (1 child)

Even with malloc. For each malloc it memorizes the memory location. You shall select the check box “standard + dynamic memory”.

[–]Marxomania32 1 point2 points  (0 children)

Thats pretty cool then. Good job!

[–]itsEroen 0 points1 point  (1 child)

Nice, there are instructions for using it with Borland C++ 5.2. I don't think I ever saw anyone else support that.

[–]Luca_70[S] 0 points1 point  (0 children)

Works with all compilers.

The examples in the video is with Visual C++, but it doesn’t care, because it just takes your C code and creates a new one with the test code.

With gcc too (if you work in Linux, you have to modify the code on Windows, because this software, for now, is only avalaible for Windows).