summaryrefslogtreecommitdiff
path: root/other/analysis
AgeCommit message (Collapse)Author
2020-05-05Use bash arrays instead of strings for static analysis scripts.iphydf
These are more robust wrt. spaces in names.
2020-05-03Add a script to run Travis CI locally.iphydf
This isn't quite Travis, but close enough for local testing.
2020-05-02Add a check that we don't have any unused functions.iphydf
This check puts all of our code in a C++ anonymous namespace, which is effectively making all functions `static`. This allows the compiler to determine that a function is unused, so we can delete it.
2018-10-16Don't warn about macro expansion in run-clangMaxim Biro
2018-10-07Make sure logger levels stay in sync across filesMaxim Biro
2018-09-08Add tool to find directly recursive calls in toxcore.iphydf
We should avoid recursion, as it makes reasoning about stack growth harder. This tool shows (currently) 4 (non-tail) recursive functions, at least 2 of which are easy to fix.
2018-08-19Avoid redefining macros from different files.iphydf
2018-08-12Fix a few warnings from clang.iphydf
Also remove the use of a VLA in a context where there can be unbounded memory allocations.
2018-08-04Make a separate `struct Tox` containing the Messenger.iphydf
This allows Tox to contain additional data on top of Messenger, making Messenger not necessarily the most top-level object. E.g. groups are built on Messenger and currently awkwardly void-pointered into it to pretend there is no cyclic dependency.
2018-07-22Run Clang global static analysis on Travis.iphydf
This uses a single .cc file containing almost all the code in the repository to perform whole program analysis.
2018-02-24Fix a bunch of compiler warnings and remove suppressions.iphydf