Anton Yuzhaninov
3514992d2b
Remove unused function
gboolean support was removed in commit 91287bb840
.
vor 5 Jahren
Anton Yuzhaninov
3ec6820a92
Don't use LLVM_CXX_FLAGS/LLVM_C_FLAGS
llvm-config --cxxflags shows CFLAGS used to compile clang. If clang
installed from package and package was build using GCC then it will
contain GCC specific flags. In case of clang installed as RPM packge
-specs= flags also added. There is not point to use them to
compile plugin. For now hardcode flags in clang-plugin/CMakeLists.txt
Add -O2 - we want plugin to work fast even if we to compiling rspamd
code with -O0.
vor 5 Jahren
Vsevolod Stakhov
91287bb840
[Fix] Remove ambigious format flag from printf
vor 5 Jahren
Vsevolod Stakhov
939cec679d
[Minor] Fix LLVM detection
vor 5 Jahren
Vsevolod Stakhov
2f08a47d85
[Minor] Fix various cmake issues
vor 6 Jahren
Vsevolod Stakhov
c8a8f7dd4d
[Fix] Fix null callee case in clang plugin
vor 6 Jahren
Sebastien Badia
a65506d45b
[Minor] doc: Fix spelling errors
vor 7 Jahren
Vsevolod Stakhov
ae03a259fe
[Minor] Support time_t args in clang plugin
vor 7 Jahren
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
vor 8 Jahren
Vsevolod Stakhov
07d6070ead
Remove ambiguity between %b format modifiers
vor 8 Jahren
Vsevolod Stakhov
8084064f98
Add more functions for static analysis.
vor 8 Jahren
Vsevolod Stakhov
e4abacbe1d
More fixes to parsing queries.
vor 8 Jahren
Vsevolod Stakhov
8ca7e0347a
Add gboolean check support.
vor 8 Jahren
Vsevolod Stakhov
e1bc656430
Improve fixed integers processing
vor 8 Jahren
Vsevolod Stakhov
c765074034
Improve diagnostic
vor 8 Jahren
Vsevolod Stakhov
613265222d
Improve format string parsing.
vor 8 Jahren
Vsevolod Stakhov
c957650442
Improve diagnostic
vor 8 Jahren
Vsevolod Stakhov
4c2c2a064a
Char is actually int due to propagation
vor 8 Jahren
Vsevolod Stakhov
432c149841
Break compilation on format errors.
vor 8 Jahren
Vsevolod Stakhov
dbac29badb
Allow void * as %s arg.
vor 8 Jahren
Vsevolod Stakhov
8f3f025a96
Add complex types checkers.
vor 8 Jahren
Vsevolod Stakhov
951682a15c
Add more types
vor 8 Jahren
Vsevolod Stakhov
3d40543c86
Fix issues in reading format strings
vor 8 Jahren
Vsevolod Stakhov
42b5ea575a
Avoid copy&paste.
vor 8 Jahren
Vsevolod Stakhov
ac3d14dbdc
More primitive types parsers
vor 8 Jahren
Vsevolod Stakhov
2661320ea3
Add checkers for %s and %d flags
vor 8 Jahren
Vsevolod Stakhov
2a406c67c4
Write basics for arguments checks.
vor 8 Jahren
Vsevolod Stakhov
81307d2ac4
Use separate module for printf checks.
vor 8 Jahren
Vsevolod Stakhov
30af175b76
Start do something useful with libclang plugin
vor 8 Jahren
Vsevolod Stakhov
5570704c53
Start implemetation of static analysis plugin
vor 8 Jahren