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