Vsevolod Stakhov
5466a0609d
[Minor] Another try to fix clang plugin build
3 jaren geleden
Vsevolod Stakhov
72a537dbc0
[Minor] Fix clang plugin
3 jaren geleden
Vsevolod Stakhov
b2ae647a81
[Minor] Fix clang plugin with asan
4 jaren geleden
Vsevolod Stakhov
5c8a82ded1
[Minor] Fix clang plugin functions on OSX
4 jaren geleden
Vsevolod Stakhov
ee7bbf1c3d
[Minor] Clang-Plugin: Fix linking with clang
Submitted by: @citrin
4 jaren geleden
Vsevolod Stakhov
03eabb4c57
[Minor] Clang-Plugin: Fix build
4 jaren geleden
Vsevolod Stakhov
a59844f720
[Minor] Clang-plugin: Continue check if callee get failed
4 jaren geleden
Vsevolod Stakhov
d670c33cad
[Minor] More fixes to plugin
4 jaren geleden
Vsevolod Stakhov
5f453d2a9e
[Minor] Another try to workaround the clang bug
4 jaren geleden
Vsevolod Stakhov
c77208a34e
[Minor] Do not stop when cannot parse query string in clang plugin
5 jaren geleden
Vsevolod Stakhov
9520e5d9a2
[Minor] Add rspamd_conditional_debug_fast to format checks
5 jaren geleden
Anton Yuzhaninov
3514992d2b
Remove unused function
gboolean support was removed in commit 91287bb840
.
5 jaren geleden
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.
5 jaren geleden
Vsevolod Stakhov
91287bb840
[Fix] Remove ambigious format flag from printf
5 jaren geleden
Vsevolod Stakhov
939cec679d
[Minor] Fix LLVM detection
5 jaren geleden
Vsevolod Stakhov
2f08a47d85
[Minor] Fix various cmake issues
6 jaren geleden
Vsevolod Stakhov
c8a8f7dd4d
[Fix] Fix null callee case in clang plugin
6 jaren geleden
Sebastien Badia
a65506d45b
[Minor] doc: Fix spelling errors
7 jaren geleden
Vsevolod Stakhov
ae03a259fe
[Minor] Support time_t args in clang plugin
7 jaren geleden
Vsevolod Stakhov
8766fba694
Switch the rest to apache 2
8 jaren geleden
Vsevolod Stakhov
07d6070ead
Remove ambiguity between %b format modifiers
8 jaren geleden
Vsevolod Stakhov
8084064f98
Add more functions for static analysis.
8 jaren geleden
Vsevolod Stakhov
e4abacbe1d
More fixes to parsing queries.
8 jaren geleden
Vsevolod Stakhov
8ca7e0347a
Add gboolean check support.
8 jaren geleden
Vsevolod Stakhov
e1bc656430
Improve fixed integers processing
8 jaren geleden
Vsevolod Stakhov
c765074034
Improve diagnostic
8 jaren geleden
Vsevolod Stakhov
613265222d
Improve format string parsing.
8 jaren geleden
Vsevolod Stakhov
c957650442
Improve diagnostic
8 jaren geleden
Vsevolod Stakhov
4c2c2a064a
Char is actually int due to propagation
8 jaren geleden
Vsevolod Stakhov
432c149841
Break compilation on format errors.
8 jaren geleden
Vsevolod Stakhov
dbac29badb
Allow void * as %s arg.
8 jaren geleden
Vsevolod Stakhov
8f3f025a96
Add complex types checkers.
8 jaren geleden
Vsevolod Stakhov
951682a15c
Add more types
8 jaren geleden
Vsevolod Stakhov
3d40543c86
Fix issues in reading format strings
8 jaren geleden
Vsevolod Stakhov
42b5ea575a
Avoid copy&paste.
8 jaren geleden
Vsevolod Stakhov
ac3d14dbdc
More primitive types parsers
8 jaren geleden
Vsevolod Stakhov
2661320ea3
Add checkers for %s and %d flags
8 jaren geleden
Vsevolod Stakhov
2a406c67c4
Write basics for arguments checks.
8 jaren geleden
Vsevolod Stakhov
81307d2ac4
Use separate module for printf checks.
8 jaren geleden
Vsevolod Stakhov
30af175b76
Start do something useful with libclang plugin
8 jaren geleden
Vsevolod Stakhov
5570704c53
Start implemetation of static analysis plugin
8 jaren geleden