Commit Graph

56 Commits (fa78cc434170c90e0cc95a4901f7e291dbde9c9e)

Author SHA1 Message Date
Tomasz Kojm ab0d2f054d libclamav, clamd, clamscan: use cl_engine_set() to control AC settings 17 years ago
Tomasz Kojm 724b2bf770 Move cl_engine from clamav.h to others.h; move cl_limits to cl_engine; 17 years ago
Török Edvin fc0493d2ca reduce memory usage of AC nodes 17 years ago
Török Edvin 6a21552ef2 have configure define NDEBUG unless we use --enable-debug, instead of having 17 years ago
aCaB 38e881e3c0 mpool cli_mp_hex2ui 17 years ago
Tomasz Kojm a305a2616a libclamav/matcher-ac.c: micro-optimization (bb#843), thanks to Edwin 17 years ago
aCaB d6e1ef1611 mempool deuglification 17 years ago
Török Edvin ad0fd7287a * libclamav/matcher-ac.c (cli_ac_addsig): need to use mpool allocated memory for ->str 17 years ago
Török Edvin 563582a1ec fix unit tests when mpool is activated 17 years ago
aCaB e21657dfc9 a faster and more compact allocator 17 years ago
aCaB 0d9dbdef21 some leaks fixed 17 years ago
Török Edvin 29f241666f fix hexnew allocation, mempool for regex_list 17 years ago
aCaB a5746c2512 TODO: 17 years ago
aCaB 885c2bf5b9 builds with and without mpools (#define USE_MPOOL) but it's still very broked 17 years ago
aCaB 0728972ea5 (hoepfully) completed db load, regexes and hashes missing 17 years ago
aCaB b583d6ed27 small update 17 years ago
aCaB b94e66c486 HIGLY EXPERIMENTAL memory pool for libclamav 17 years ago
Tomasz Kojm 3b934d1e49 libclamav/matcher-ac.c: improve detection and reordering of zero-only subpatterns (bb#1188) 17 years ago
Tomasz Kojm 341faf6051 libclamav: drop obsolete code in matcher-ac 17 years ago
Tomasz Kojm a45c7039c1 shut up some gcc warnings 17 years ago
Tomasz Kojm 710a22f179 libclamav/matcher-ac.c: add support for returning multiple matches in cli_ac_scanbuff() 17 years ago
Tomasz Kojm ee8bd2fb14 libclamav: lsigs: handle extended block modifiers (bb#896) 17 years ago
Tomasz Kojm c7aeeb46ef evaluate lsigs in cli_scandesc 17 years ago
Török Edvin 10290ba3eb allow custom data to be associated with patterns (such as a regex) via a void* 17 years ago
Tomasz Kojm 677fc4ba3b libclamav: add initial support for logical signatures (bb#896) 17 years ago
Tomasz Kojm b5513f8ddf libclamav: add ".UNOFFICIAL" suffix to 3rd party signatures (bb#1061) 17 years ago
Tomasz Kojm 746bc18177 fix handling of nodes which also match single bytes (bb#1054) 17 years ago
Tomasz Kojm 72ce4b70eb improve handling of PDF, CAB, RTF, OLE2 and HTML files (sync with branch/0.93) 17 years ago
Tomasz Kojm 5d763f04a5 scan for embedded PEs inside OLE2 files (bb#914) 17 years ago
Tomasz Kojm 2023340a41 update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD 17 years ago
Tomasz Kojm 5025967e6d use limits->maxfiles instead of MAX_EMBEDDED_OBJ for ZIP-SFX 17 years ago
Tomasz Kojm 6038397ea6 filetype detection improvements 18 years ago
Tomasz Kojm 6506412549 fix handling of root->ac_pattable (bb#837) 18 years ago
aCaB 2455584143 sync to trunk 18 years ago
Tomasz Kojm 1a2906f432 add support for matching single bytes anchored to sub-signatures; bump f-level 18 years ago
Tomasz Kojm a2f9787784 fix handling of bfs_last (bb#713) 18 years ago
Tomasz Kojm 3d53538b51 add cli_ac_setdepth(), --dev-ac-depth, DevACOnly, DevACDepth 18 years ago
Tomasz Kojm 20c2455d14 minor tidy 18 years ago
Tomasz Kojm 4286022819 fix range calculation for multipart sigs with string alternatives 18 years ago
Tomasz Kojm 1a648b3717 add basic support for string alternatives; optimise bfs_enqueue/dequeue 18 years ago
Tomasz Kojm ecf5865b53 minor optimisation 18 years ago
Tomasz Kojm 9187ef9027 properly handle alternatives in the new approach 18 years ago
Tomasz Kojm c01ff22d4b minor optimisation 18 years ago
Tomasz Kojm e38ab7c147 various speed optimisations 18 years ago
Tomasz Kojm 3832cd7c84 fix matching of patterns with prefixes and some other issues 18 years ago
Tomasz Kojm cdfcca0cae fix segfault on OOM (bb#515) 18 years ago
Tomasz Kojm 84fd5a614c fix some possible error path leaks by changing cli_realloc() to cli_realloc2() 18 years ago
Tomasz Kojm 2242da430e fix boundary error (bb#491) 18 years ago
Tomasz Kojm fbcef1b0b5 new implementation of the Aho-Corasick pattern matcher 18 years ago
Tomasz Kojm bb34cb31fe update some copyrights and stick to GPL v2 18 years ago