Anton Yuzhaninov
3514992d2b
Remove unused function
gboolean support was removed in commit 91287bb840
.
5 yıl önce
Anton Yuzhaninov
a1eb8af054
Enable clang plugin
Build clang plugin and use it to check rspamd printf-like functions
(rspamd_printf, rspamd_fprintf, rspamd_default_log_function, e.t.c).
5 yıl önce
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 yıl önce
Anton Yuzhaninov
a796cd7321
Don't set PREFIX variable in cmake
As I can see this variable is not used by rspamd build system. Remove it
because setting it causes a lot of warning with
-DENABLE_CLANG_PLUGIN=ON - PREFIX variable is not documented but used by
cmake internally.
5 yıl önce
Anton Yuzhaninov
d4c2bd7ca0
build with -O0
Compilation with -O2/-O3 is slow.
5 yıl önce
Anton Yuzhaninov
841f1d2273
Build with clang
5 yıl önce
Anton Yuzhaninov
55d667d387
Stop linking with -lnsl on Linux
As far as I know on Linux libnsl is used only for NIS/NIS+ support.
It is highly unlikey that Rspamd users use NIS in 2018.
Keep linking with libnsl on Solaris - there it is likely needed even if
NIS is not used.
5 yıl önce
Vsevolod Stakhov
a8b22f9aac
[Minor] Ops, fix symbol name
5 yıl önce
Vsevolod Stakhov
993c4a7552
[Conf] Add DWL support in the default configuration
5 yıl önce
Vsevolod Stakhov
82834075cb
[Fix] Fix DKIM based RBLs
5 yıl önce
Vsevolod Stakhov
80928e500c
[Rules] Add LEAKED_PASSWORD_SCAM rule
5 yıl önce
Vsevolod Stakhov
34f0b5587e
[Rework] Change time handling
5 yıl önce
Vsevolod Stakhov
8376bed06c
[Minor] Fix deps
5 yıl önce
Vsevolod Stakhov
a3c0fbd979
[Project] Rework dynamic parts of symcache items
5 yıl önce
Vsevolod Stakhov
4929e73f2b
[Project] Another rework for symbols cache
5 yıl önce
Vsevolod Stakhov
c16f639333
[Minor] g_abort requires quite a recent glib
5 yıl önce
Vsevolod Stakhov
8ac1446b8a
[Minor] Fix dependencies resolution
5 yıl önce
Vsevolod Stakhov
59d10f38bf
[Minor] Sigh, another issue with classifier pseudo-filter
5 yıl önce
Vsevolod Stakhov
7054a882a1
Merge pull request #2612 from citrin/luacov-merge
Speedup lua coverage collecting for functional test
5 yıl önce
Vsevolod Stakhov
186683c8e8
[Minor] Another hack for classifiers
5 yıl önce
Vsevolod Stakhov
3a1e6a2f3c
[Minor] Allow to add conditions for bayes symbol
5 yıl önce
Anton Yuzhaninov
8fb8f139e5
Sync lua coverage with .drone.yml
5 yıl önce
Vsevolod Stakhov
ccc9d0065d
[Minor] Convert some enums to static macros
5 yıl önce
Anton Yuzhaninov
3ebf458996
Speedup lua coverage collecting for functional test
luacov-coveralls merge mode (-j flag) was created to join reports
containing coverage for different source files (e.g. C and Lua code).
Coverage for the same file in two report is not merged, instead one
source file is added several times to source_files array in JSON. As
a result if we use luacov-coveralls -j on report for same source files
it ends up spending a lot of time on parsing and dumping big JSON files.
This change reduces functional test time from 7+ minutes to 4+ minutes.
5 yıl önce
Vsevolod Stakhov
649f9aa4a3
[Feature] Allow to add 3rd party clang plugins
5 yıl önce
Vsevolod Stakhov
c974d1eaaa
[Minor] Fix format strings
5 yıl önce
Vsevolod Stakhov
91287bb840
[Fix] Remove ambigious format flag from printf
5 yıl önce
Vsevolod Stakhov
939cec679d
[Minor] Fix LLVM detection
5 yıl önce
Vsevolod Stakhov
d7e3ea948d
[Fix] Fix squeezed symbols when using settings
5 yıl önce
Vsevolod Stakhov
856cb10dda
[Minor] Various fixes around async events
5 yıl önce
Vsevolod Stakhov
a821e3c6d9
[Minor] Improve debugging for lua squeeze
5 yıl önce
Vsevolod Stakhov
3ce1f7720f
[Minor] Improve debug traces for async events
5 yıl önce
Vsevolod Stakhov
0c20729f33
[Rework] Add more traces to async events, get rid of GQuarks
5 yıl önce
Vsevolod Stakhov
2ae394086b
[Minor] Fix variable name
5 yıl önce
Vsevolod Stakhov
b8220636d9
[Minor] Fix var name
5 yıl önce
Vsevolod Stakhov
c6ccb8d28f
[Rework] Completely rework symbols cache management
5 yıl önce
Vsevolod Stakhov
7f702c6f34
[Minor] Add more attributes
5 yıl önce
Vsevolod Stakhov
4e68457c2f
[Minor] Add specific attributes to mempool functions
5 yıl önce
Vsevolod Stakhov
b67fe9273c
[Minor] Try harder to track DNS based chaining
5 yıl önce
Vsevolod Stakhov
880883e61a
[Minor] Fix lua warnings
5 yıl önce
Vsevolod Stakhov
e55b2d55dd
[Minor] Fix configwizard behaviour when DB is empty
5 yıl önce
Vsevolod Stakhov
55fd863750
[Minor] Fix debugm logic
5 yıl önce
Vsevolod Stakhov
aec26d2291
[Minor] Add ability to debug lua redis calls
5 yıl önce
Vsevolod Stakhov
b91ac118ac
[Minor] Fix error callback invocation
5 yıl önce
Vsevolod Stakhov
e1dba059e1
[Minor] Remove assertion as this case can actually happen
5 yıl önce
Vsevolod Stakhov
a22588464c
[Minor] Remove last elt optimization for now
5 yıl önce
Vsevolod Stakhov
733c60e01a
Merge pull request #2610 from citrin/functional-test-fix
Fix test case: Cases.210 Clickhouse.001
5 yıl önce
Vsevolod Stakhov
12a513a3fe
Merge pull request #2607 from citrin/drone_improvements
Run GDB on cores dumped by functional test
5 yıl önce
Vsevolod Stakhov
29d2d4fa26
Merge pull request #2609 from HeinleinSupport/master
[Fix] Antivirus - virus names with 0 were recognized as tables
5 yıl önce
Anton Yuzhaninov
43ceedc68f
TCP Connect robot keyword
* reduce timeout to a reasonable value
* explicitly close socket, don't wait for GC
5 yıl önce